backupmac

This commit is contained in:
2021-04-29 21:35:21 +02:00
parent a628e15d50
commit ee73790a05

View File

@@ -7,16 +7,23 @@ REPOSITORY=pi@kodi:/media/hdext/borg
borg create -v --stats --progress --compression zlib --one-file-system \ borg create -v --stats --progress --compression zlib --one-file-system \
$REPOSITORY::'{hostname}-{now:%Y-%m-%d}' \ $REPOSITORY::'{hostname}-{now:%Y-%m-%d}' \
/ \ / \
--exclude '*/tmp/*' \
--exclude '*/tmpfile/*' \
--exclude '/var/tmp/*' \
--exclude '/var/crash/*' \
--exclude '*/.cache/*' \
--exclude '*/cache/*' \
--exclude '*/.ccache/*' \
--exclude '*/mlocate.db*' \
--exclude '/run'
--exclude '/var/cache/apt/archives/*.deb' \ --exclude '/var/cache/apt/archives/*.deb' \
--exclude '/var/cache/man' \ --exclude '/var/cache/man' \
--exclude '/private/var' \ --exclude '/private/var' \
--exclude '/tmp' \ --exclude '/tmp' \
--exclude '/var/tmp' \ --exclude '/var/tmp' \
--exclude '/run' \
--exclude '/Users/marc/tmp' \ --exclude '/Users/marc/tmp' \
--exclude '/Users/marc/Downloads' \ --exclude '/Users/marc/Downloads' \
--exclude '*/Caches/*' \ --exclude '*/Caches/*' \
--exclude '*/.cache/*' \
--exclude '*/.Trash/*' \ --exclude '*/.Trash/*' \