clean is already done by drop
This commit is contained in:
parent
e0fcd1da3a
commit
1610215379
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ function main() {
|
||||||
# backup database dump
|
# backup database dump
|
||||||
pg_dump -d ${POSTGRES_DB} -h ${POSTGRES_SERVICE} -p ${POSTGRES_PORT} \
|
pg_dump -d ${POSTGRES_DB} -h ${POSTGRES_SERVICE} -p ${POSTGRES_PORT} \
|
||||||
-U ${POSTGRES_USER_FILE} --no-password --serializable-deferrable \
|
-U ${POSTGRES_USER_FILE} --no-password --serializable-deferrable \
|
||||||
--clean --no-privileges | \
|
--no-privileges | \
|
||||||
restic -r ${RESTIC_REPOSITORY}/db backup --stdin
|
restic -r ${RESTIC_REPOSITORY}/db backup --stdin
|
||||||
|
|
||||||
# backup nextcloud filesystem
|
# backup nextcloud filesystem
|
||||||
|
|
Loading…
Reference in a new issue