• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

psarestore complete but no website content

O

OutKa5t

Guest
Hi All,

After 4 days of grief I have finally migrated servers. The psarestore succeeded and I have all client data, config, emails, db's etc..

However psarestore didnt restore the website content for each domain or even the folder structure in

/home/httpd/vhosts/

Is this normal? I thought the website content was supposed to be backed up aswell. Is there a way to backup and restore just the website content?

For the record my backup and restore commands were

/usr/local/psa/bin/psadump -F -f - | split -b 1000m - /dump.*
/usr/local/psa/bin/psarestore -f dump.* -m map_file

Thanks in advance
 
You should perform the migration with cat, rather than an asterisk:

cat dump.* | /usr/local/psa/bin/psarestore -f - -m map_file -s shell_map

I believe you need the shell map too, which you didn't mention.
 
Hi Cranky, Thanks for the reply. You are correct I didnt add the shell_map command. I ran the restore with your example and as expected the shell_map file was created ready for editing.

However, my shell_map file only contains one line as below

/bin/false => /bin/false

and I am not sure what to add/edit. Can you help?
 
Ignore that. There was no need to edit the file as the locations haven't changed.

Thanks
 
Back
Top