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

Migration using PSARestore

Discussion in 'Plesk for Linux - 8.x and Older' started by Fever, Jun 20, 2006.

  1. Fever

    Fever Guest

    0
     
    I need to move all 78 sites from a Plesk 7.5.4 RH9 server to a Plesk 7.5.4 RHEL3 server. Migration tool doesn't work and I have given up on that. If I use PSADump and backup the RH9 sites, I notice that when I restore them to the other server, I get an Apache test page. The .htaccess files aren't restored and what all else isn't restored is anybody's guess. Is there a way to get the backup utility to backup EVERYthing I need to move these site?

    If there is a better way to move these sites and minimize downtime, I would appreciate hearing what it is.

    Fever
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
  3. Fever

    Fever Guest

    0
     
    Hmmm...
    The command I have been running is:
    #/usr/local/psa/bin/psadump -F -f - --nostop --tar-ignore-failed-read | split -b 1000m - dump.

    There must be a switch I am missing.


    Thanks
     
  4. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    What command are you using to restore?
     
  5. Fever

    Fever Guest

    0
     
    cat dump.* | /usr/local/psa/bin/psarestore -m map_file -s shells_map_file -f dump.* --domains-names=/home2/backup1/domain
    "domain" being the file with the list of domains to restore
     
  6. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    I have never used '--domains-names=/home2/backup1/domain' to restore the entire server, so I can't comment on that. Have you tried without it? Also, try removing dump.* from the end of the line. It should look like:

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

    The only other issue may be the map_file. Have you edited it so that the configuration matches the RH9 server?
     
  7. Fever

    Fever Guest

    0
     
    The only reason I was using the --domains-names command was because I wasn't restoring all at once...just my brother's domains in case it failed. He wouldn't mind as much as a "real" customer. After the restore of just his domains, I edit the DNS to point to the new server. When it resolved it showed the apache page.

    I will check the map_file, but I was just changing the IP in that to the new IP...
     
  8. Fever

    Fever Guest

    0
     
    Well, the ip map checks out, and to further complicate things, it appears that no matter what I restore, the directories structure is all that restores...no files. Went into httpdocs and there were image folders, no html files and no images in the image folder.
     
Loading...