fixed paths

This commit is contained in:
2024-04-06 21:31:04 -05:00
parent e4022fc739
commit 139eaabc9a
7 changed files with 12 additions and 12 deletions

BIN
restic/restic-local-scott.zip Executable file

Binary file not shown.

View File

@@ -1,4 +1,4 @@
#!/bin/bash
export RESTIC_PASSWORD="benEatsBananas!"
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/etc"
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/etc"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
export RESTIC_PASSWORD="benEatsBananas!"
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/home/wettsten"
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/home/wettsten"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
export RESTIC_PASSWORD="benEatsBananas!"
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/opt"
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/opt"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
export RESTIC_PASSWORD="benEatsBananas!"
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/root"
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/root"

View File

@@ -3,28 +3,28 @@
export RESTIC_PASSWORD="benEatsBananas!"
# backup /home/wettsten
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/home/wettsten"
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/home/wettsten"
restic unlock
restic backup /home/wettsten --no-cache -v
restic unlock
restic forget --keep-last 25 --prune
# backup /etc
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/etc"
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/etc"
restic unlock
restic backup /etc --no-cache -v
restic unlock
restic forget --keep-last 25 --prune
# backup /opt
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/opt"
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/opt"
restic unlock
restic backup /opt --no-cache -v
restic unlock
restic forget --keep-last 25 --prune
# backup /root
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/root"
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/root"
restic unlock
restic backup /root --no-cache -v
restic unlock

View File

@@ -2,8 +2,8 @@
export RESTIC_PASSWORD="benEatsBananas!"
restic -r /mnt/truenas-backups/resticbackups/proxmox/home/wettsten init
restic -r /mnt/truenas-backups/resticbackups/proxmox/etc init
restic -r /mnt/truenas-backups/resticbackups/proxmox/opt init
restic -r /mnt/truenas-backups/resticbackups/proxmox/root init
restic -r /mnt/data/backups/resticbackups/proxmox/home/wettsten init
restic -r /mnt/data/backups/resticbackups/proxmox/etc init
restic -r /mnt/data/backups/resticbackups/proxmox/opt init
restic -r /mnt/data/backups/resticbackups/proxmox/root init