• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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