This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
codimd/abra.sh

14 lines
253 B
Bash

export ENTRYPOINT_CONF_VERSION=v1
abra_backup_app() {
_abra_backup_dir "app:/home/hackmd/app/public/uploads/"
}
abra_backup_db() {
_abra_backup_postgres "db" "codimd" "codimd" "db_password"
}
abra_backup() {
abra_backup_app && abra_backup_db
}