NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
egrath
Apr 18, 2014Follower
Make rsync always use --delete
Hi,
i recently bought a Duo V2 and currently try to set up the included rsync backup - it works generally, but not exactly in the way i want it to: Is there a way to force the backup script to always use the "--delete" rsync option? Without it, the destination of the rsync backup will fill up with files which are deleted from the source.
As a quick hack, i rooted into the box and modified /Frontview/bin/backup.orig to include the "--delete" option anytime, but this will break as soon as i update the box to a newer SW version.
Any suggestions?
egrath
i recently bought a Duo V2 and currently try to set up the included rsync backup - it works generally, but not exactly in the way i want it to: Is there a way to force the backup script to always use the "--delete" rsync option? Without it, the destination of the rsync backup will fill up with files which are deleted from the source.
As a quick hack, i rooted into the box and modified /Frontview/bin/backup.orig to include the "--delete" option anytime, but this will break as soon as i update the box to a newer SW version.
Any suggestions?
egrath
No RepliesBe the first to reply
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!