docker-duplicity-cron/helper-scripts/sqlite-scripts/backup/before/pre-backup.sh
2020-01-16 12:05:03 -08:00

7 lines
87 B
Bash
Executable File

set -e
cd /data
# Dump the SQLite database
sqlite3 "$DB_PATH" ".backup $DB_PATH.bak"