...
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#!/bin/sh
|
||||
REPOSITORY=pi@pi4.fritz.box:/media/hdext/borg
|
||||
#REPOSITORY=pi@kodi.fritz.box:/media/hdext/borg
|
||||
REPOSITORY=marc@vdr.fritz.box:/media/hdext/borg
|
||||
#REPOSITORY=pi@vdrpi.fritz.box:tmp/mnt/borg
|
||||
PREFIX=nasdat
|
||||
|
||||
if [ "$1" != "--prune" ]; then
|
||||
|
||||
borg create -v --stats --progress --compression zlib --one-file-system \
|
||||
$REPOSITORY::'nasdat-{now:%Y-%m-%d}' \
|
||||
/dat/books \
|
||||
@@ -18,7 +21,7 @@ borg create -v --stats --progress --compression zlib --one-file-system \
|
||||
--exclude '/dat/docu/Download' \
|
||||
--exclude '*/files_trashbin' \
|
||||
|
||||
|
||||
fi
|
||||
|
||||
# Use the `prune` subcommand to maintain 7 daily, 4 weekly and 6 monthly
|
||||
# archives of THIS machine. The '{hostname}-' prefix is very important to
|
||||
|
||||
Reference in New Issue
Block a user