digitalFAQ.com Forum

digitalFAQ.com Forum (https://www.digitalfaq.com/forum/)
-   Website and Server Troubleshooting (https://www.digitalfaq.com/forum/web-tech/)
-   -   Restoring WordPress from Amazon S3 Backup (https://www.digitalfaq.com/forum/web-tech/2916-restoring-wordpress-amazon.html)

admin 03-04-2011 11:28 AM

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
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. :)


All times are GMT -5. The time now is 12:41 PM

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.