fixed typo
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
export RESTIC_PASSWORD="8ung1e1!"
|
||||
export RESTIC_REPOSITORY="sftp:root@resticssftp:/mnt/data/backups/resticbackups/changemepls/etc"
|
||||
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/etc"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
export RESTIC_PASSWORD="8ung1e1!"
|
||||
export RESTIC_REPOSITORY="sftp:root@resticssftp:/mnt/data/backups/resticbackups/changemepls/home/akanealw"
|
||||
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/home/akanealw"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
export RESTIC_PASSWORD="8ung1e1!"
|
||||
export RESTIC_REPOSITORY="sftp:root@resticssftp:/mnt/data/backups/resticbackups/changemepls/opt"
|
||||
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/opt"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
export RESTIC_PASSWORD="8ung1e1!"
|
||||
export RESTIC_REPOSITORY="sftp:root@resticssftp:/mnt/data/backups/resticbackups/changemepls/root"
|
||||
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/root"
|
||||
|
||||
@@ -3,28 +3,28 @@
|
||||
export RESTIC_PASSWORD="8ung1e1!"
|
||||
|
||||
# backup /home/akanealw
|
||||
export RESTIC_REPOSITORY="sftp:root@resticssftp:/mnt/data/backups/resticbackups/changemepls/home/akanealw"
|
||||
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/home/akanealw"
|
||||
restic unlock
|
||||
restic backup /home/akanealw --no-cache -v
|
||||
restic unlock
|
||||
restic forget --keep-last 25 --prune
|
||||
|
||||
# backup /etc
|
||||
export RESTIC_REPOSITORY="sftp:root@resticssftp:/mnt/data/backups/resticbackups/changemepls/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@resticssftp:/mnt/data/backups/resticbackups/changemepls/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@resticssftp:/mnt/data/backups/resticbackups/changemepls/root"
|
||||
export RESTIC_REPOSITORY="sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/root"
|
||||
restic unlock
|
||||
restic backup /root --no-cache -v
|
||||
restic unlock
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
export RESTIC_PASSWORD="8ung1e1!"
|
||||
|
||||
restic -r sftp:root@resticssftp:/mnt/data/backups/resticbackups/changemepls/home/akanealw init
|
||||
restic -r sftp:root@resticssftp:/mnt/data/backups/resticbackups/changemepls/etc init
|
||||
restic -r sftp:root@resticssftp:/mnt/data/backups/resticbackups/changemepls/opt init
|
||||
restic -r sftp:root@resticssftp:/mnt/data/backups/resticbackups/changemepls/root init
|
||||
restic -r sftp:root@resticsftp:/mnt/data/backups/resticbackups/changemepls/home/akanealw 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