backupX url=kodi.fritz.box

This commit is contained in:
2021-04-11 10:38:33 +02:00
parent 1208d50981
commit e9976a77ff
4 changed files with 5 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh
REPOSITORY=pi@kodi:/media/hdext/borg
REPOSITORY=pi@kodi.fritz.box:/media/hdext/borg
PREFIX=nasdat
borg create -v --stats --progress --compression zlib --one-file-system \
@@ -14,7 +14,8 @@ borg create -v --stats --progress --compression zlib --one-file-system \
--exclude '/dat/docu/dropbox' \
--exclude '/dat/docu/A' \
--exclude '/dat/docu/E' \
--exclude '/dat/docu/Download' \
--exclude '*/files_trashbin' \

View File

@@ -1,5 +1,5 @@
#!/bin/sh
REPOSITORY=pi@kodi:/media/hdext/borg
REPOSITORY=pi@kodi.fritz.box:/media/hdext/borg
if [ "$1" != "--prune" ]; then
borg create -v --stats --progress --compression zlib --one-file-system \

View File

@@ -1,5 +1,5 @@
#!/bin/sh
REPOSITORY=pi@kodi:/media/hdext/borg
REPOSITORY=pi@kodi.fritz.box:/media/hdext/borg
PREFIX=nassrc
borg create -v --stats --progress --compression zlib --one-file-system \

View File

@@ -1,7 +0,0 @@
echo "#!/bin/bash" > /tmp/cctest
echo "dstdir=\$(dirname \$1)" >> /tmp/cctest
echo "echo rsync -av \$1 \$bakdir/\$dstdir" >> /tmp/cctest
export bakdir=/media/hdext/git
find /home/marc/ -type d -name .git -exec bash -x /tmp/cctest {} \;