changed directory from truenas-backups to proxmoxbackups

This commit is contained in:
2024-07-27 20:24:41 -05:00
parent d1ee504eb1
commit c321684318
6 changed files with 12 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
export RESTIC_PASSWORD="8ung1e1!" export RESTIC_PASSWORD="8ung1e1!"
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/changemepls/etc" export RESTIC_REPOSITORY="/mnt/proxmoxbackups/resticbackups/changemepls/etc"

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
export RESTIC_PASSWORD="8ung1e1!" export RESTIC_PASSWORD="8ung1e1!"
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/changemepls/home/akanealw" export RESTIC_REPOSITORY="/mnt/proxmoxbackups/resticbackups/changemepls/home/akanealw"

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
export RESTIC_PASSWORD="8ung1e1!" export RESTIC_PASSWORD="8ung1e1!"
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/changemepls/opt" export RESTIC_REPOSITORY="/mnt/proxmoxbackups/resticbackups/changemepls/opt"

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
export RESTIC_PASSWORD="8ung1e1!" export RESTIC_PASSWORD="8ung1e1!"
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/changemepls/root" export RESTIC_REPOSITORY="/mnt/proxmoxbackups/resticbackups/changemepls/root"

View File

@@ -3,28 +3,28 @@
export RESTIC_PASSWORD="8ung1e1!" export RESTIC_PASSWORD="8ung1e1!"
# backup /home/akanealw # backup /home/akanealw
export RESTIC_REPOSITORY="/mnt/truenas-backups/resticbackups/changemepls/home/akanealw" export RESTIC_REPOSITORY="/mnt/proxmoxbackups/resticbackups/changemepls/home/akanealw"
restic unlock restic unlock
restic backup /home/akanealw --no-cache -v restic backup /home/akanealw --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/changemepls/etc" export RESTIC_REPOSITORY="/mnt/proxmoxbackups/resticbackups/changemepls/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/changemepls/opt" export RESTIC_REPOSITORY="/mnt/proxmoxbackups/resticbackups/changemepls/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/changemepls/root" export RESTIC_REPOSITORY="/mnt/proxmoxbackups/resticbackups/changemepls/root"
restic unlock restic unlock
restic backup /root --no-cache -v restic backup /root --no-cache -v
restic unlock restic unlock

View File

@@ -2,8 +2,7 @@
export RESTIC_PASSWORD="8ung1e1!" export RESTIC_PASSWORD="8ung1e1!"
restic -r /mnt/truenas-backups/resticbackups/changemepls/home/akanealw init restic -r /mnt/proxmoxbackups/resticbackups/changemepls/home/akanealw init
restic -r /mnt/truenas-backups/resticbackups/changemepls/etc init restic -r /mnt/proxmoxbackups/resticbackups/changemepls/etc init
restic -r /mnt/truenas-backups/resticbackups/changemepls/opt init restic -r /mnt/proxmoxbackups/resticbackups/changemepls/opt init
restic -r /mnt/truenas-backups/resticbackups/changemepls/root init restic -r /mnt/proxmoxbackups/resticbackups/changemepls/root init