1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

psarestore complete but no website content

Discussion in 'Plesk for Linux - 8.x and Older' started by OutKa5t, Sep 24, 2005.

  1. OutKa5t

    OutKa5t Guest

    0
     
    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
     
  2. Cranky

    Cranky Guest

    0
     
    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.
     
  3. OutKa5t

    OutKa5t Guest

    0
     
    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?
     
  4. OutKa5t

    OutKa5t Guest

    0
     
    Ignore that. There was no need to edit the file as the locations haven't changed.

    Thanks
     
Loading...