PDA

View Full Version : Simple rsync for backing up a file tree exactly




JRedford
Feb 17, 2012, 01:00 AM
Hi all, I am totally new to rsync.

Here's the setup at my office:

10-15 employees backing up once a day to a Drobo RAID (about 2TB used for backups) which is connected to a Mac Mini Server.

What I want to do is to use rsync to copy the exact file tree of the Drobo to another NAS connected to Linux PC offsite. I know this is possible, obviously, but I am a noob at all this rsync jargon.

Please let me know if you don't understand what I am trying to achieve.
Any help would be greatly appreciated!

Thanks



burne
Feb 17, 2012, 02:52 AM
What I want to do is to use rsync to copy the exact file tree of the Drobo to another NAS connected to Linux PC offsite.


First of all: try CCC. Rsync with a nice GUI.

But, commandline:

rsync -az /Volumes/Drobo user@remote.com:Drobo-copy

will 'archive' a copy of /Volumes/Drobo to a folder called Drobo-copy on remote.com using user as useraccount.

mijail
Feb 17, 2012, 02:53 AM
I know this is possible, obviously, but I am a noob at all this rsync jargon.


If you are a noob at all this rsyng jargon, I would recommend reading a bit about rsync and how it is used and how it is not.

It's easy to throw together a command line. It's also easy to use rsync in a stupid or even destructive way. So, again, I'd spend some quality time reading and deciding.