Backup help

Status
Not open for further replies.

DenS

Dabbler
Joined
Jan 7, 2013
Messages
16
I am running FreeNAS 11 and am having trouble configuring a cron job rsync back up of an entire Volume (/mnt/NAS1) to a folder on another volume (/mnt/NAS2/BackUp). Originally the script was only backing up a folder on NAS1 but now i wish to mirror the entire volume on a schedule.

Here is the script I've tried without success: rsync -a --delete /mnt/NAS1 /mnt/NAS2/BackUp

Any suggestions are welcome. I am not very knowledgeable in FreeNAS. I've had a script running for years but can not get this one to go now that i changed from a folder to a volume backup.
If there is a better way to do this please let me know. I am very willing to read and learn but so far have not had any luck finding a solution.

Thanks for reading this and any help you may have.
Den
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
I would recommend using the built in replication. For the destination host just enter localhost.
 

DenS

Dabbler
Joined
Jan 7, 2013
Messages
16
Is there a tutorial on replicating... reading the manual gives some insight but I have not been successful in getting it to work.
Den

SOLVED THANKS
 
Status
Not open for further replies.
Top