Restoring WordPress from Amazon S3 Backup
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 5. Decompress the GZipped file using: Code:
gzip -d filename.tar.gz Code:
tar -xvf filename.tar ... Then restore the database -- but that’s a topic for another post. :) |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.