add timetracker backup/restore scripts
This commit is contained in:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/bash
|
||||
BACKUPDIR="backups"
|
||||
[ -z "${1:-}" ] && echo "No file specified, exitting." && exit 1
|
||||
set -euxo pipefail
|
||||
docker compose exec timetracker poetry run python manage.py loaddata ${BACKUPDIR}/${1}
|
||||
Reference in New Issue
Block a user