NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
jporritt
Jan 01, 2011Follower
Backup from ReadyNAS Duo to Amazon S3 via s3rsync.com
Has anyone got their ReadyNAS Duo backinup up to Amazon S3 via s3rsync.com? I'm trying to get it set up, but it's proving more difficult than I thought. I added the latest rsync ssh add-on, acquired my private key from s3rsync.com, and have logged in to the console to run the rsync job manually. For some reason it's not connecting though. Has anyone got this solution working?
Cheers,
James.
Cheers,
James.
3 Replies
Replies have been turned off for this discussion
- bebo94AspirantAny luck yet, James? I'm highly interested in this.
- yellowandyAspirantHi All,
I didn't see any great solutions available so I took the time to write a simple php script to push from my nas to amazon. It's not very smart, rather simplistic as I did it in an hour but it works and I have it backing up my pictures and video to amazon. Now I don't have a script to pull back the items from amazon s3 to the nas in case I need to but I suppose you could do that manually. Note that this solution is more developer focused, you can't simply set it up through frontView. That would be nice eventually but I don't have the time at the moment. Here's how you can get the script working:
1. Install PHP: http://www.readynas.com/forum/viewtopic.php?f=47&t=35880
2. Make sure you have ssh access, install it if you don't.
3. Get the source for the script: https://github.com/yellowandy/s3sync (you'll just need the s3.php file)
4. Install the amazon s3 php sdk via the pear channel.
5. Edit the config file and supply you're s3 authentication credentials
6. Setup you're crontab to look something like this:
0 3 * * 2 /root/s3sync/s3.php <bucketName> <directoryToMonitor>
HTH,
Andreas - dgerson76AspirantLook good so far. Could you expand a little on the last part? I am not a developer but I think I can figure most of this out.
Thanks
Dan
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!