add missing file-snapshot
This commit is contained in:
parent
067444c7d6
commit
d4c85a48f6
1 changed files with 10 additions and 1 deletions
|
@ -58,3 +58,12 @@ function restore-directory() {
|
|||
fi
|
||||
|
||||
}
|
||||
|
||||
function list-snapshot-files() {
|
||||
if [ -z ${CERTIFICATE_FILE} ];
|
||||
then
|
||||
restic -r ${RESTIC_REPOSITORY}/${backup_file_path} snapshots
|
||||
else
|
||||
restic -r ${RESTIC_REPOSITORY}/${backup_file_path} snapshots --cacert ${CERTIFICATE_FILE}
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue