modified for scott
This commit is contained in:
BIN
restic.zip
Executable file
BIN
restic.zip
Executable file
Binary file not shown.
4
restic/restic-sftp-scott/export-etc.sh
Executable file
4
restic/restic-sftp-scott/export-etc.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
|
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/etc"
|
||||||
4
restic/restic-sftp-scott/export-home-wettsten.sh
Executable file
4
restic/restic-sftp-scott/export-home-wettsten.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
|
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/home/akanealw"
|
||||||
4
restic/restic-sftp-scott/export-opt.sh
Executable file
4
restic/restic-sftp-scott/export-opt.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
|
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/opt"
|
||||||
4
restic/restic-sftp-scott/export-root.sh
Executable file
4
restic/restic-sftp-scott/export-root.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
|
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/root"
|
||||||
31
restic/restic-sftp-scott/restic-sftp-backup.sh
Executable file
31
restic/restic-sftp-scott/restic-sftp-backup.sh
Executable file
@@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
|
|
||||||
|
# backup /home/wettsten
|
||||||
|
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/home/wettsten"
|
||||||
|
restic unlock
|
||||||
|
restic backup /home/wettsten --no-cache -v
|
||||||
|
restic unlock
|
||||||
|
restic forget --keep-last 25 --prune
|
||||||
|
|
||||||
|
# backup /etc
|
||||||
|
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/etc"
|
||||||
|
restic unlock
|
||||||
|
restic backup /etc --no-cache -v
|
||||||
|
restic unlock
|
||||||
|
restic forget --keep-last 25 --prune
|
||||||
|
|
||||||
|
# backup /opt
|
||||||
|
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/opt"
|
||||||
|
restic unlock
|
||||||
|
restic backup /opt --no-cache -v
|
||||||
|
restic unlock
|
||||||
|
restic forget --keep-last 25 --prune
|
||||||
|
|
||||||
|
# backup /root
|
||||||
|
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/root"
|
||||||
|
restic unlock
|
||||||
|
restic backup /root --no-cache -v
|
||||||
|
restic unlock
|
||||||
|
restic forget --keep-last 25 --prune
|
||||||
8
restic/restic-sftp-scott/restic-sftp-init.sh
Executable file
8
restic/restic-sftp-scott/restic-sftp-init.sh
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
export RESTIC_PASSWORD="benEatsBananas!"
|
||||||
|
|
||||||
|
restic -r sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/home/wettsten init
|
||||||
|
restic -r sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/etc init
|
||||||
|
restic -r sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/opt init
|
||||||
|
restic -r sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/root init
|
||||||
Reference in New Issue
Block a user