Add preliminary backups
This commit is contained in:
parent
a78a425d58
commit
6a63f8a0bc
12
abra.sh
12
abra.sh
|
@ -1,2 +1,14 @@
|
||||||
export APP_INI_VERSION=v7
|
export APP_INI_VERSION=v7
|
||||||
export DOCKER_SETUP_SH_VERSION=v1
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue