Skip to content

Instantly share code, notes, and snippets.

@erikvw
Created November 1, 2018 16:18

Revisions

  1. erikvw created this gist Nov 1, 2018.
    14 changes: 14 additions & 0 deletions list_db_files.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    . "$HOME/.duplicity/.env_variables.conf"

    duplicity list-current-files $AWS_ENDPOINT/$AWS_BUCKET

    unset AWS_ACCESS_KEY_ID
    unset AWS_SECRET_ACCESS_KEY
    unset AWS_ENDPOINT
    unset AWS_BUCKET
    unset GPG_KEY
    unset PASSPHRASE
    unset DB_NAME
    unset DB_DATE
    unset DB_FILE
    unset BACKUP_DIR