testing for hostname

This commit is contained in:
2023-10-10 13:06:10 -05:00
parent dd86aab825
commit c1563e7aed

View File

@@ -8,7 +8,7 @@
[settings.local_akanealw_profile]
BACKEND = "local"
RESTIC_PASSWORD = "8ung1e1!"
REPOSITORY = "/mnt/truenas-backups/resticbackups/changeme/"
REPOSITORY = "/mnt/truenas-backups/resticbackups/$hostname/"
BACKUP_FOLDER = "/home/akanealw"
RESTORE_FOLDER = "/home/akanealw/restic/restore"
KEEP_LAST = 25
@@ -16,7 +16,7 @@ KEEP_LAST = 25
[settings.local_root_profile]
BACKEND = "local"
RESTIC_PASSWORD = "8ung1e1!"
REPOSITORY = "/mnt/truenas-backups/resticbackups/changeme/"
REPOSITORY = "/mnt/truenas-backups/resticbackups/$hostname/"
BACKUP_FOLDER = "/root"
RESTORE_FOLDER = "/root/restic/restore"
KEEP_LAST = 25
@@ -24,7 +24,7 @@ KEEP_LAST = 25
[settings.local_etc_profile]
BACKEND = "local"
RESTIC_PASSWORD = "8ung1e1!"
REPOSITORY = "/mnt/truenas-backups/resticbackups/changeme/"
REPOSITORY = "/mnt/truenas-backups/resticbackups/$hostname/"
BACKUP_FOLDER = "/etc"
RESTORE_FOLDER = "/root/restic/restore"
KEEP_LAST = 25