diff --git a/.env b/.env index 2d7a96a..0c35df2 100644 --- a/.env +++ b/.env @@ -158,6 +158,8 @@ RESTIC_REPOSITORY=/restic_data # Used to encrypt the restic repository RESTIC_PASSWORD=password + +# The snapshot to restore from RESTIC_RESTORE_SNAPSHOT=latest RESTIC_KEEP_DAILY=7 diff --git a/docker-compose-restore.yml b/docker-compose-restore.yml index c3a2666..a469cf0 100644 --- a/docker-compose-restore.yml +++ b/docker-compose-restore.yml @@ -24,6 +24,7 @@ services: environment: RESTIC_REPOSITORY: ${RESTIC_REPOSITORY} RESTIC_PASSWORD: ${RESTIC_PASSWORD} + RESTIC_RESTORE_SNAPSHOT: ${RESTIC_RESTORE_SNAPSHOT} LOG_LEVEL: ${LOG_LEVEL} AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION} AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}