customized for scott
This commit is contained in:
4
restic/restic-local-scott/export-etc.sh
Executable file
4
restic/restic-local-scott/export-etc.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
export RESTIC_PASSWORD="benEatsBananas!"
|
||||
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/etc"
|
||||
4
restic/restic-local-scott/export-home-wettsten.sh
Executable file
4
restic/restic-local-scott/export-home-wettsten.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
export RESTIC_PASSWORD="benEatsBananas!"
|
||||
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/home/wettsten"
|
||||
4
restic/restic-local-scott/export-opt.sh
Executable file
4
restic/restic-local-scott/export-opt.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
export RESTIC_PASSWORD="benEatsBananas!"
|
||||
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/opt"
|
||||
4
restic/restic-local-scott/export-root.sh
Executable file
4
restic/restic-local-scott/export-root.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
export RESTIC_PASSWORD="benEatsBananas!"
|
||||
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/proxmox/root"
|
||||
31
restic/restic-local-scott/restic-local-backup.sh
Executable file
31
restic/restic-local-scott/restic-local-backup.sh
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
|
||||
export RESTIC_PASSWORD="benEatsBananas!"
|
||||
|
||||
# backup /home/wettsten
|
||||
export RESTIC_REPOSITORY="/mnt/truenas-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"
|
||||
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"
|
||||
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"
|
||||
restic unlock
|
||||
restic backup /root --no-cache -v
|
||||
restic unlock
|
||||
restic forget --keep-last 25 --prune
|
||||
9
restic/restic-local-scott/restic-local-init.sh
Executable file
9
restic/restic-local-scott/restic-local-init.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user