From 7ecb87eabcb99f005db41419c92463fd14a38ffd Mon Sep 17 00:00:00 2001 From: Denis Podshivalov Date: Thu, 29 Oct 2020 13:14:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BA=D0=BB=D1=8E=D1=87=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BF=D0=B0=D0=BF=D0=BA=D1=83=20=D1=81=20=D0=B1=D1=8D?= =?UTF-8?q?=D0=BA=D0=B0=D0=BF=D0=B0=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.py b/backup.py index cf89eec..0af63cd 100755 --- a/backup.py +++ b/backup.py @@ -85,7 +85,7 @@ new = datetime.now().strftime(dateFormat) write_log("SUCCESS", f"Sync started at {new}\n") sync = call( - f"rsync -avcAXHP --delete --delete-excluded --exclude='/dev/*' --exclude='/proc/*' --exclude='/sys/*' --exclude='/tmp/*' --exclude='/run/*' --exclude='/mnt/*' --exclude='/media/*' --exclude='/lost+found' --exclude='/var/lib/pacman/sync/*' --exclude='/var/cache/apt/archives/*' --exclude='/var/cache/*' --exclude='/var/tmp/*' --exclude='/boot/lost+found' --exclude='/home/lost+found' --exclude='/home/*/.thumbnails/*' --exclude='/home/*/.cache/google-chrome/*' --exclude='/home/*/.local/share/Trash/*' --exclude='/home/*/.gvfs/*' --exclude='/home/share/*' /* {path_to_backups}{old_backup}", + f"rsync -avcAXHP --delete --delete-excluded --exclude='/dev/*' --exclude='/proc/*' --exclude='/sys/*' --exclude='/tmp/*' --exclude='/run/*' --exclude='/mnt/*' --exclude='/media/*' --exclude='/lost+found' --exclude='/var/lib/pacman/sync/*' --exclude='/var/cache/apt/archives/*' --exclude='/var/cache/*' --exclude='/var/tmp/*' --exclude='/boot/lost+found' --exclude='/home/lost+found' --exclude='/home/*/.thumbnails/*' --exclude='/home/*/.cache/google-chrome/*' --exclude='/home/*/.local/share/Trash/*' --exclude='/home/*/.gvfs/*' --exclude='/home/share/*' --exclude='/home/backups/*' /* {path_to_backups}{old_backup}", shell=True, )