first commit

This commit is contained in:
2024-04-06 08:50:04 +00:00
commit 4d9dbb17b7
17 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/bash
export B2_ACCOUNT_ID="00046d139d73904000000000e"
export B2_ACCOUNT_KEY="K000vYECcbbPFlLOq+23F2VKYtXR9zM"
export RESTIC_REPOSITORY="b2:akanealw-restic-backups:truenas-backups"
export RESTIC_PASSWORD_FILE=/home/akanealw/restic/restic-password

View File

@@ -0,0 +1,8 @@
#!/bin/bash
export B2_ACCOUNT_ID="00046d139d73904000000000e"
export B2_ACCOUNT_KEY="K000vYECcbbPFlLOq+23F2VKYtXR9zM"
export RESTIC_REPOSITORY="b2:akanealw-restic-backups:truenas-backups"
export RESTIC_PASSWORD_FILE=/home/akanealw/restic/restic-password
Restic-Browser

View File

@@ -0,0 +1,10 @@
#!/bin/bash
export B2_ACCOUNT_ID="00046d139d73904000000000e"
export B2_ACCOUNT_KEY="K000vYECcbbPFlLOq+23F2VKYtXR9zM"
export RESTIC_REPOSITORY="b2:akanealw-restic-backups:truenas-backups"
export RESTIC_PASSWORD_FILE=/home/akanealw/restic/restic-password
restic unlock
restic backup /mnt/truenas-backups --no-cache -v
restic cache --cleanup

View File

@@ -0,0 +1,4 @@
#!/bin/bash
export RESTIC_REPOSITORY="sftp:root@hosthatch-backup:/backups/other-backups"
export RESTIC_PASSWORD_FILE=/root/scripts/backups/restic-password

View File

@@ -0,0 +1,8 @@
#!/bin/bash
export RESTIC_REPOSITORY="sftp:root@hosthatch-backup:/backups/other-backups"
export RESTIC_PASSWORD_FILE=/root/scripts/backups/restic-password
restic unlock
restic backup /mnt/backups --no-cache -v
restic cache --cleanup

View File

@@ -0,0 +1,6 @@
#!/bin/bash
export B2_ACCOUNT_ID="00046d139d73904000000000e"
export B2_ACCOUNT_KEY="K000vYECcbbPFlLOq+23F2VKYtXR9zM"
export RESTIC_REPOSITORY="b2:akanealw-restic-backups:proxmox-backups"
export RESTIC_PASSWORD_FILE=/home/akanealw/restic/restic-password

View File

@@ -0,0 +1,8 @@
#!/bin/bash
export B2_ACCOUNT_ID="00046d139d73904000000000e"
export B2_ACCOUNT_KEY="K000vYECcbbPFlLOq+23F2VKYtXR9zM"
export RESTIC_REPOSITORY="b2:akanealw-restic-backups:proxmox-backups"
export RESTIC_PASSWORD_FILE=/home/akanealw/restic/restic-password
Restic-Browser

View File

@@ -0,0 +1,10 @@
#!/bin/bash
export B2_ACCOUNT_ID="00046d139d73904000000000e"
export B2_ACCOUNT_KEY="K000vYECcbbPFlLOq+23F2VKYtXR9zM"
export RESTIC_REPOSITORY="b2:akanealw-restic-backups:proxmox-backups"
export RESTIC_PASSWORD_FILE=/home/akanealw/restic/restic-password
restic unlock
restic backup /mnt/proxmox-backups --no-cache -v
restic cache --cleanup

View File

@@ -0,0 +1,4 @@
#!/bin/bash
export RESTIC_REPOSITORY="sftp:root@hosthatch-backup:/backups/proxmox-backups"
export RESTIC_PASSWORD_FILE=/root/scripts/backups/restic-password

View File

@@ -0,0 +1,8 @@
#!/bin/bash
export RESTIC_REPOSITORY="sftp:root@hosthatch-backup:/backups/proxmox-backups"
export RESTIC_PASSWORD_FILE=/root/scripts/backups/restic-password
restic unlock
restic backup /mnt/proxmox-backups --no-cache -v
restic cache --cleanup

View File

@@ -0,0 +1,3 @@
#!/bin/bash
rclone sync /mnt/proxmox-backups/ hosthatch-backup:/backups/proxmox-datastore -P

1
restic-password Normal file
View File

@@ -0,0 +1 @@
9S*Mw4RPG6dKeAcsq6DjUd

View File

@@ -0,0 +1,6 @@
#!/bin/bash
export B2_ACCOUNT_ID="00046d139d73904000000000e"
export B2_ACCOUNT_KEY="K000vYECcbbPFlLOq+23F2VKYtXR9zM"
export RESTIC_REPOSITORY="b2:akanealw-restic-backups:storage-backups"
export RESTIC_PASSWORD_FILE=/home/akanealw/restic/restic-password

View File

@@ -0,0 +1,8 @@
#!/bin/bash
export B2_ACCOUNT_ID="00046d139d73904000000000e"
export B2_ACCOUNT_KEY="K000vYECcbbPFlLOq+23F2VKYtXR9zM"
export RESTIC_REPOSITORY="b2:akanealw-restic-backups:storage-backups"
export RESTIC_PASSWORD_FILE=/home/akanealw/restic/restic-password
Restic-Browser

View File

@@ -0,0 +1,10 @@
#!/bin/bash
export B2_ACCOUNT_ID="00046d139d73904000000000e"
export B2_ACCOUNT_KEY="K000vYECcbbPFlLOq+23F2VKYtXR9zM"
export RESTIC_REPOSITORY="b2:akanealw-restic-backups:storage-backups"
export RESTIC_PASSWORD_FILE=/home/akanealw/restic/restic-password
restic unlock
restic backup /mnt/storage-backups --no-cache -v
restic cache --cleanup

View File

@@ -0,0 +1,4 @@
#!/bin/bash
export RESTIC_REPOSITORY="sftp:root@hosthatch-backup:/backups/storage-backups"
export RESTIC_PASSWORD_FILE=/root/scripts/backups/restic-password

View File

@@ -0,0 +1,8 @@
#!/bin/bash
export RESTIC_REPOSITORY="sftp:root@hosthatch-backup:/backups/storage-backups"
export RESTIC_PASSWORD_FILE=/root/scripts/backups/restic-password
restic unlock
restic backup /mnt/storage --no-cache -v
restic cache --cleanup