Add preliminary backups

This commit is contained in:
3wc 2021-08-18 03:02:06 +02:00
parent a78a425d58
commit 6a63f8a0bc
1 changed files with 12 additions and 0 deletions

12
abra.sh
View File

@ -1,2 +1,14 @@
export APP_INI_VERSION=v7
export DOCKER_SETUP_SH_VERSION=v1
abra_backup_app() {
_abra_backup_dir "app:/var/lib/gitea"
}
abra_backup_db() {
_abra_backup_mysql "db" "gitea"
}
abra_backup() {
abra_backup_app && abra_backup_db
}