This commit is contained in:
2023-03-01 17:03:12 +01:00
parent 3ba505a5bb
commit 307ae34907
5 changed files with 18 additions and 10 deletions

View File

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

View File

@@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
REPOSITORY=pi@pi4.fritz.box:/media/hdext/borg
#REPOSITORY=pi@kodi.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
if [ "$1" != "--prune" ]; then if [ "$1" != "--prune" ]; then
borg create -v --stats --progress --compression zlib --one-file-system \ borg create -v --stats --progress --compression zlib --one-file-system \

View File

@@ -1,8 +1,11 @@
#!/bin/sh #!/bin/sh
REPOSITORY=pi@pi4.fritz.box:/media/hdext/borg
#REPOSITORY=pi@kodi.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=nassrc PREFIX=nassrc
if [ "$1" != "--prune" ]; then
borg create -v --stats --progress --compression zlib --one-file-system \ borg create -v --stats --progress --compression zlib --one-file-system \
$REPOSITORY::'nassrc-{now:%Y-%m-%d}' \ $REPOSITORY::'nassrc-{now:%Y-%m-%d}' \
/dat/src \ /dat/src \
@@ -30,7 +33,7 @@ borg create -v --stats --progress --compression zlib --one-file-system \
--exclude '*/staging*/*' \ --exclude '*/staging*/*' \
--exclude '/run' --exclude '/run'
fi
# Use the `prune` subcommand to maintain 7 daily, 4 weekly and 6 monthly # Use the `prune` subcommand to maintain 7 daily, 4 weekly and 6 monthly

View File

@@ -1,3 +1,2 @@
sudo docker run -p 3001:3000 -v /var/lib/grafana:/var/lib/grafana -e "GF_SECURITY_ADMIN_PASSWORD=1234" -d --restart always grafana/grafana
sudo docker run -p 3001:3000 -v /var/lib/grafana:/var/lib/grafana -e "GF_SECURITY_ADMIN_PASSWORD=1234" grafana/grafana

View File

@@ -1,7 +1,9 @@
#!bin/sh #!/bin/sh
# https://github.com/mxpv/podsync
sudo docker run \ sudo docker run \
-p 8080:8080 \ -p 8080:8080 \
-v $(pwd)/data:/app/data/ \ -v /srv/podsync/data:/app/data/ \
-v $(pwd)/config.toml:/app/config.toml \ -v /srv/podsync/config.toml:/app/config.toml \
mxpv/podsync:latest mxpv/podsync:latest