fixed paths
This commit is contained in:
BIN
restic/restic-local-scott.zip
Executable file
BIN
restic/restic-local-scott.zip
Executable file
Binary file not shown.
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export RESTIC_PASSWORD="benEatsBananas!"
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/etc"
|
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/etc"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export RESTIC_PASSWORD="benEatsBananas!"
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/home/wettsten"
|
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/home/wettsten"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export RESTIC_PASSWORD="benEatsBananas!"
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/opt"
|
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/opt"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export RESTIC_PASSWORD="benEatsBananas!"
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/root"
|
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/root"
|
||||||
|
|||||||
@@ -3,28 +3,28 @@
|
|||||||
export RESTIC_PASSWORD="benEatsBananas!"
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
|
|
||||||
# backup /home/wettsten
|
# 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 unlock
|
||||||
restic backup /home/wettsten --no-cache -v
|
restic backup /home/wettsten --no-cache -v
|
||||||
restic unlock
|
restic unlock
|
||||||
restic forget --keep-last 25 --prune
|
restic forget --keep-last 25 --prune
|
||||||
|
|
||||||
# backup /etc
|
# backup /etc
|
||||||
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/etc"
|
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/etc"
|
||||||
restic unlock
|
restic unlock
|
||||||
restic backup /etc --no-cache -v
|
restic backup /etc --no-cache -v
|
||||||
restic unlock
|
restic unlock
|
||||||
restic forget --keep-last 25 --prune
|
restic forget --keep-last 25 --prune
|
||||||
|
|
||||||
# backup /opt
|
# backup /opt
|
||||||
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/opt"
|
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/opt"
|
||||||
restic unlock
|
restic unlock
|
||||||
restic backup /opt --no-cache -v
|
restic backup /opt --no-cache -v
|
||||||
restic unlock
|
restic unlock
|
||||||
restic forget --keep-last 25 --prune
|
restic forget --keep-last 25 --prune
|
||||||
|
|
||||||
# backup /root
|
# backup /root
|
||||||
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/root"
|
export RESTIC_REPOSITORY="/mnt/data/backups/resticbackups/proxmox/root"
|
||||||
restic unlock
|
restic unlock
|
||||||
restic backup /root --no-cache -v
|
restic backup /root --no-cache -v
|
||||||
restic unlock
|
restic unlock
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
export RESTIC_PASSWORD="benEatsBananas!"
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
|
|
||||||
restic -r /mnt/truenas-backups/resticbackups/proxmox/home/wettsten init
|
restic -r /mnt/data/backups/resticbackups/proxmox/home/wettsten init
|
||||||
restic -r /mnt/truenas-backups/resticbackups/proxmox/etc init
|
restic -r /mnt/data/backups/resticbackups/proxmox/etc init
|
||||||
restic -r /mnt/truenas-backups/resticbackups/proxmox/opt init
|
restic -r /mnt/data/backups/resticbackups/proxmox/opt init
|
||||||
restic -r /mnt/truenas-backups/resticbackups/proxmox/root init
|
restic -r /mnt/data/backups/resticbackups/proxmox/root init
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user