Transfer and Rysnc help

Status
Not open for further replies.

ptmuldoon

Cadet
Joined
Oct 12, 2013
Messages
1
Hello,

First time FreeNas user, and first post here.. Please go easy on a Newbie :)

I currently have a UnRaid setup that I'm using for my Home NAS. Now, I'v recently setup a FreeNas machine that I would like to use a backup solution. (To be specific, both machines are VM on Esxi with an separate HBA cards for passthrough of storage disks)

Now, I'm faced with 2 things to do.

1. First Transfer all data from Unraid onto the FreeNas Machine.
2. Setup some type of scheduler to continuously sync the two machines together on a nightly/weekly, or some other schedule. I don't add to much on a daily basis, so the scheduling is still is to be decided.

I know both Unraid and FreeNas have rsync already installed. And I think the best approach is to 'push' the data from Unraid to FreeNas?

But I may also wish to one day reverse the situation, by making FreeNas the main NAS, and Unraid as the backup. So in that case, I would likely want to 'push' from FreeNas to Unraid.

I think its likely best to try to mount each share on the other machine? And then use rsync to transfer the data?

If someone can post any examples of

1. How to mount an external CIFS or NSF share on FreeNas, and

2. How to both a 'push' and 'pull' from one machine to another.

3. If possible how you would set it up to auto sync on a schedule, I guess via some kind of cron job?

I know just enough about linux, ubuntu, etc to be 'dangerous', where I'm not afraid to try something, albiet at a risk of hosing the machine and having to do a fresh re-install :P

Any help is appreciated.

Thanks
PT
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
You don't have to mount any locations with any file sharing protocols. Rsync handles all of that in its settings. You have to specify the locations in rsync itself. :)

For setting up automated schedules see the FreeNAS manual, the section on rsync.
 
Status
Not open for further replies.
Top