Remove database dump from nextcloud hook
The database will be backed up from the volume directly
This commit is contained in:
parent
751b37c2c8
commit
59306899e7
1 changed files with 0 additions and 2 deletions
|
@ -1,9 +1,7 @@
|
||||||
pre() {
|
pre() {
|
||||||
docker exec nextcloud_db_1 pg_dump -U postgres nextcloud > /tmp/nextcloud.sql
|
|
||||||
docker exec -u 33 nextcloud_app_1 ./occ maintenance:mode --on
|
docker exec -u 33 nextcloud_app_1 ./occ maintenance:mode --on
|
||||||
}
|
}
|
||||||
|
|
||||||
post() {
|
post() {
|
||||||
rm /tmp/nextcloud.sql
|
|
||||||
docker exec -u 33 nextcloud_app_1 ./occ maintenance:mode --off
|
docker exec -u 33 nextcloud_app_1 ./occ maintenance:mode --off
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue