Borg Backup Wrapper Scripts
This commit is contained in:
9
borg.backup.functions.close.sh
Normal file
9
borg.backup.functions.close.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# unset borg settings
|
||||
unset BORG_BASE_DIR BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK BORG_RELOCATED_REPO_ACCESS_IS_OK
|
||||
DURATION=$[ $(date +'%s')-$START ];
|
||||
echo "=== [Run time: $(convert_time ${DURATION})]";
|
||||
echo "=== [END : $(date +'%F %T')] ==[${MODULE}]===================>";
|
||||
|
||||
# __END__
|
||||
Reference in New Issue
Block a user