summaryrefslogtreecommitdiffstats
path: root/roles/backup/meta
diff options
context:
space:
mode:
Diffstat (limited to 'roles/backup/meta')
-rw-r--r--roles/backup/meta/argument_specs.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/backup/meta/argument_specs.yml b/roles/backup/meta/argument_specs.yml
index 8dd86192..9219d37c 100644
--- a/roles/backup/meta/argument_specs.yml
+++ b/roles/backup/meta/argument_specs.yml
@@ -55,3 +55,18 @@ argument_specs:
type: "str"
description: "System group for the backup user"
default: "backup"
+ backup_restore_id:
+ type: "str"
+ description: >-
+ Snapshot ID to restore, or "latest". Only used with --tags restore.
+ To list available snapshot IDs, run on the target host: source
+ /etc/credstore/{{ backup_name }}-backup.env, export
+ RESTIC_REPOSITORY="$BACKUP_REPO" RESTIC_PASSWORD="$BACKUP_PASSWORD"
+ AWS_ACCESS_KEY_ID="$BACKUP_ACCESS_KEY_ID"
+ AWS_SECRET_ACCESS_KEY="$BACKUP_SECRET_ACCESS_KEY", then run
+ restic snapshots
+ default: "latest"
+ restore_target:
+ type: "str"
+ description: "Directory to restore snapshot contents into. Only used with --tags restore"
+ required: false