backups: fix dates failing backups in the morning
parent
cc35ad8255
commit
64801457eb
|
@ -11,7 +11,7 @@ export AWS_ACCESS_KEY_ID=$(pash show personal-backups/aws-key-id)
|
||||||
export AWS_SECRET_ACCESS_KEY=$(pash show personal-backups/aws-access-key)
|
export AWS_SECRET_ACCESS_KEY=$(pash show personal-backups/aws-access-key)
|
||||||
|
|
||||||
repo=$(cat ~/.dotfiles/.restic/.repo-name)
|
repo=$(cat ~/.dotfiles/.restic/.repo-name)
|
||||||
script_started=$(date +%Y-%M-%d_%k%M%S)
|
script_started=$(date +%Y-%M-%d_%H%M%S)
|
||||||
|
|
||||||
# $RESTIC_PASSWORD_FILE or $RESTIC_PASSWORD_COMMAND
|
# $RESTIC_PASSWORD_FILE or $RESTIC_PASSWORD_COMMAND
|
||||||
if [[ -f "$HOME/.dotfiles/.restic/.repo-pass" ]]; then
|
if [[ -f "$HOME/.dotfiles/.restic/.repo-pass" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue