From e9976a77ffdc332197d8602767ea21ecc3b25cd0 Mon Sep 17 00:00:00 2001 From: Marc Hoppe Date: Sun, 11 Apr 2021 10:38:33 +0200 Subject: [PATCH] backupX url=kodi.fritz.box --- backupdata.sh | 5 +++-- backupme.sh | 2 +- backupsrc.sh | 2 +- test.sh | 7 ------- 4 files changed, 5 insertions(+), 11 deletions(-) delete mode 100644 test.sh diff --git a/backupdata.sh b/backupdata.sh index 6e84c88..8c08f71 100644 --- a/backupdata.sh +++ b/backupdata.sh @@ -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' \ diff --git a/backupme.sh b/backupme.sh index df6c9c8..49c0aa6 100644 --- a/backupme.sh +++ b/backupme.sh @@ -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 \ diff --git a/backupsrc.sh b/backupsrc.sh index 5f75d41..f7540e3 100644 --- a/backupsrc.sh +++ b/backupsrc.sh @@ -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 \ diff --git a/test.sh b/test.sh deleted file mode 100644 index 19b5d7f..0000000 --- a/test.sh +++ /dev/null @@ -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 {} \;