Changes to backup scripts
parent
35fe368dad
commit
c9c67dd9e9
@ -1,9 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
source /home/nathan/backupScripts/docker_backup.sh \
|
||||
-c "duckdns homer" \
|
||||
-d /home/samba/share/Docker_prod \
|
||||
-b /home/nathan/testBack \
|
||||
# DOCKER BACKUP
|
||||
# source /home/nathan/scripts/backup/borg/docker_backup.sh \
|
||||
# -c "duckdns homer" \
|
||||
# -d /home/samba/share/Docker_prod \
|
||||
# -b /home/nathan/testBack \
|
||||
# -r pi2 \
|
||||
# -R ~/backups/pi1/docker \
|
||||
# -N 0
|
||||
|
||||
# DIRECTORY BACKUP
|
||||
source /home/nathan/scripts/backup/borg/directory_backup.sh \
|
||||
-d "/home/nathan/AA/A /home/nathan/AA/C" \
|
||||
-b /home/nathan/testBack/dir \
|
||||
-r pi2 \
|
||||
-R ~/backups/pi1/AA
|
||||
|
||||
source /home/nathan/scripts/backup/borg/directory_backup.sh \
|
||||
-d /var/spool/cron/crontabs \
|
||||
-b /home/nathan/testBack/cron \
|
||||
-r pi2 \
|
||||
-R ~/backups/pi1/docker \
|
||||
-N 0
|
||||
-R ~/backups/pi1/cron
|
||||
|
||||
@ -0,0 +1,3 @@
|
||||
# Mount the drive letter, to a location
|
||||
sudo mount -t drvfs K: /mnt/k
|
||||
# Using K as it's super irregular, so suitable for backup in-case other drives are mounted
|
||||
Loading…
Reference in New Issue