From 9a491bf66f466c9a98762665922d3d6a672b60f2 Mon Sep 17 00:00:00 2001 From: Fabien Bourgeois Date: Sun, 9 Oct 2016 07:30:40 +0200 Subject: [PATCH] [IMP]Rsync backup should delete obsolete files --- backups/rsyncvolumes/rsync.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backups/rsyncvolumes/rsync.template b/backups/rsyncvolumes/rsync.template index ec87030..b8518d1 100644 --- a/backups/rsyncvolumes/rsync.template +++ b/backups/rsyncvolumes/rsync.template @@ -1,3 +1,3 @@ #!/bin/bash -rsync -av ${SOURCE} ${DEST} +rsync -av --delete ${SOURCE} ${DEST}