#1  
03-04-2011, 11:28 AM
admin's Avatar
admin admin is offline
Site Staff | Web Development
 
Join Date: Jul 2003
Posts: 4,310
Thanked 654 Times in 457 Posts
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.

- Did this site help you? Then upgrade to Premium Member and show your support!
- Also: Like Us on Facebook for special DVD/Blu-ray news and deals!
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Best hard drive for archiving photos on a Mac? Help me pick a new backup drive... admin Photo Processing, Scanning & Printing 3 03-05-2011 10:23 AM
Use DVD recorder as backup to Canopus ADVC-110 at same time? lordsmurf Project Planning, Workflows 2 10-01-2010 04:07 AM
MP3 for Archival Quality? Is MP3 a good CD backup? deter Blank Media 19 04-14-2010 12:17 PM
List of Useful WordPress 3.x plug-ins [research] admin Website and Server Troubleshooting 1 08-11-2009 12:50 AM
Best Hardware & Software for restoring ninjastriker Edit Video, Audio 10 08-09-2006 12:21 AM

Thread Tools



 
All times are GMT -5. The time now is 07:24 AM