rsync two freenas boxes copies new data but doesn't delete removed data

Status
Not open for further replies.

p17blo

Cadet
Joined
Jan 21, 2013
Messages
2
Hi,
I am currently test two FreeNAS boxes. I have configured rsync (using RSYNCD modules) to replicate a copy of data from a live NAS to a backup NAS. The new data added to the live NAS does get copied to the backup NAS, but when data is removed from Live it is still there on the backup.

Is it possible to use RSYNC to keep the two in sync? Ideally I want to keep them fully sync so that if 1 fails I can simply switch the backup NAS in, but obviously if it has a load of spurious data on it, that's isn't going to be helpful.

Many thanks in advance.

Paul
 

JaimieV

Guru
Joined
Oct 12, 2012
Messages
742
In the rsync task setup panel, tick the "delete" option.
 
Status
Not open for further replies.
Top