• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk Restore

W

WH7702

Guest
Restoring Data From Backup Archives

To restore the server configuration and all user data from a backup file:

1 Log in as root to your server.

2 Change to the directory, where Plesk is installed:
cd /plesk_installation_directory/

3 Run the following command:
./pleskrestore --all <filename>

Where the <filename> is the path to backup file name. The data will be restored without disruption of hosting services and downtime. The server configuration settings and all user data (including the content of Web sites and messages in mailboxes) will be overwritten.



[root@localhost bin]# ./pleskrestore --all /root/plesk8-fullbackup-032906.psa
Unknown command: "--all"


Am I reading something wrong here?
 
It should be

./pleskrestore --restore --all <filename>

Appears to be an error in the documentation.
 
Help me

[root@lin1 bin]# ./pleskrestore --restore --all 2006-03-29
backup file is not readable
[root@lin1 bin]#
what must I do?
 
do a ls -la on your backup file. See if everyone has read permissions. If not, do a chmod 644 on it. See if that works
 
[root@lin1 bin]# ./pleskrestore --restore --all 2006-03-29
backup file is not readable
[root@lin1 bin]#

fared ill

WHEREWITH AMELIORATIVE?
 
Run psa_install_dir/bin/pleskrestore --help.
First, create map file from backup
Second, run pleskrestore to restore your backup file.
Note, old backup files are not supported.
Note 2: Use correct file path for pleskrestore.
 
Originally posted by nb__
Run psa_install_dir/bin/pleskrestore --help.
First, create map file from backup
Second, run pleskrestore to restore your backup file.
Note, old backup files are not supported.
Note 2: Use correct file path for pleskrestore.


I'm not sure I understand...

Can you give us some example lines? I've tried several way to get it working with no luck. File permissions are 777.

Always seem to get:

backup file is not readable


Backup was created using and running plesk 8:

./pleskbackup --all /root/plesk8-fullbackup-032906.psa
 
[root@lin1 bin]# ./pleskrestore --all 2006-03-29
Unknown command: "--all"

[root@lin1 bin]#

[root@lin1 bin]# ./pleskrestore --restore --all 2006-03-29
backup file is not readable
[root@lin1 bin]#

FARED ILL

HELP MEEEEE
 
I've been trying to restore a Plesk 7.5.4 backup that didnt upgrade to Plesk 8.0 properly all day.

I've come to the conclusion that Plesk 7.5.4 backups are not compatible with Plesk 8.0 even though on http://www.swsoft.com/en/products/plesk8/new/

it is stated :
"Now domains can be completely restored with the properties they had during the backup. New Backup utilities allow administrators to restore from any version of Plesk which can be valuable for migration/upgrades."
 
Yujibey : I do not think it is possible just now. Sorry, I am trying aswell.
 
ıf ı will set up plesk 7,5,4 on this,and ı will restore,which problems will be happen?
 
I've heard from other users that 8.0 won't read 7.5.4 backups.
 
Sample restoration routine:

/usr/local/psa/bin/pleskbackup --all BACKUP
/usr/local/psa/bin/pleskrestore --create-map BACKUP -map MAP
/usr/local/psa/bin/pleskrestore --restore BACKUP -map MAP -level all

Do not forget to read pleskrestore help
 
[root@lin1 bin]# .//pleskrestore --create-map 2006-03-29 -map MAP
Traceback (most recent call last):
File "/usr/local/psa/admin/share/supervisor/processor.py", line 114, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/supervisor/processor.py", line 297, in doActivity
self.session.getConvertedDumpFileName())
File "/usr/local/psa/admin/lib/python/streaming_extractor.py", line 35, in __init__
raise NotAMimeError()
NotAMimeError: Supplied file is not in proper format

[root@lin1 bin]# ./pleskrestore --restore 2006-03-29 map MAP -level all
Can't recognize option 'map'

[root@lin1 bin]# ./pleskrestore --restore 2006-03-29 -map MAP -level all
Unable to read map file MAP
[root@lin1 bin]#
 
Originally posted by nb__
Sample restoration routine:

/usr/local/psa/bin/pleskbackup --all BACKUP
/usr/local/psa/bin/pleskrestore --create-map BACKUP -map MAP
/usr/local/psa/bin/pleskrestore --restore BACKUP -map MAP -level all

Do not forget to read pleskrestore help


I did read it! Perhaps there are hidden messages that I am not seeing?

[root@localhost bin]# ./pleskrestore -h

Usage: pleskrestore command [options]

Available commands:
--create-map <file> Create map for backup file
--validate-map <file> Validate map file
--restore <file> Restore backup file
--help or -h Displays this help page

Available options:
-level Specifies restoring level :
clients|domains|all
-filter <file> Specifies restoring objects (domains
or clients) filter
<file>|list:<item1>[,<itemN>]
-map <file> Map file for 'create-map' and
'restore' commands
-license Enables license restoring
-verbose Verbose mode

Version: psa v8.0.0_build80060329.00 os_CentOS 4.2

I did get it working though thanks to your example.

Thank you!
 
Originally posted by Yujibey
[root@lin1 bin]# .//pleskrestore --create-map 2006-03-29 -map MAP
Traceback (most recent call last):
File "/usr/local/psa/admin/share/supervisor/processor.py", line 114, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/supervisor/processor.py", line 297, in doActivity
self.session.getConvertedDumpFileName())
File "/usr/local/psa/admin/lib/python/streaming_extractor.py", line 35, in __init__
raise NotAMimeError()
NotAMimeError: Supplied file is not in proper format

[root@lin1 bin]# ./pleskrestore --restore 2006-03-29 map MAP -level all
Can't recognize option 'map'

[root@lin1 bin]# ./pleskrestore --restore 2006-03-29 -map MAP -level all
Unable to read map file MAP
[root@lin1 bin]#

`2006-03-29` -- what is this? Backup from previous BU? Directory? Tell `file 2006-03-29`, plz.
 
Originally posted by Yujibey
[root@lin1 bin]# .//pleskrestore --create-map 2006-03-29 -map MAP
Traceback (most recent call last):
File "/usr/local/psa/admin/share/supervisor/processor.py", line 114, in doActivityRunner
newState = self.doActivity()
File "/usr/local/psa/admin/share/supervisor/processor.py", line 297, in doActivity
self.session.getConvertedDumpFileName())
File "/usr/local/psa/admin/lib/python/streaming_extractor.py", line 35, in __init__
raise NotAMimeError()
NotAMimeError: Supplied file is not in proper format

[root@lin1 bin]# ./pleskrestore --restore 2006-03-29 map MAP -level all
Can't recognize option 'map'

[root@lin1 bin]# ./pleskrestore --restore 2006-03-29 -map MAP -level all
Unable to read map file MAP
[root@lin1 bin]#

I have same problems, Plesk 7.5.4 won't restore on the plesk 8.0.1 installation. I can't find any information how to restore.
 
Originally posted by nb__
Sample restoration routine:

/usr/local/psa/bin/pleskbackup --all BACKUP
/usr/local/psa/bin/pleskrestore --create-map BACKUP -map MAP
/usr/local/psa/bin/pleskrestore --restore BACKUP -map MAP -level all

Do not forget to read pleskrestore help. [/B]


I did such the same and i have no error
But the website file are not available

all restored email

the problem

website files is gone
database created but Table and data empty

Why is that

anyone could help please
 
> Plesk 7.5.4 won't restore on the plesk 8.0.1
> installation.

Backup Manager in Plesk 8.0 may backup any Plesk version, but can't restore backups made by Plesk 7.5.4 BU :(
 
Back
Top