Read the longer original post at:
http://www.allaboutduncan.com/2011/r...zon-s3-backup/
Thanks goes to allaboutduncan.com for writing up this useful tip.
~~~~~~~~~~~~
1. Download all the necessary files from your
Amazon S3 account.
NOTE: On a Plesk server, this is generally just the httpdocs folder, plus your separate MySQL database. cPanel will be the public_html folder for the main domain (plus all addon domains), or just the name of your addon domain folder (for that one domain), plus the MySQL database. Be mindful of your original server path, vs the path of the new server.
2. Next upload the files to the root web directory on the new server.
3. SSH into the site and navigate to the root of the site.
4. Combine the files, which had been split into 300MB chunks, using the ‘cat’ command. The filenames should resemble httpdocs_date.tar.gz.p00, httpdocs_date.tar.gz.p01, etc. The syntax looks like this:
Code:
cat httpdocs* > filename.tar.gz
That will combine all parts into one file named filename.tar.gz
5. Decompress the GZipped file using:
Code:
gzip -d filename.tar.gz
and then decompress the TAR file using:
Code:
tar -xvf filename.tar
6. That should restore all the files to the httpdocs directory.
... Then restore the database -- but that’s a topic for another post.