clean is already done by drop

This commit is contained in:
jem 2020-12-12 18:18:34 +01:00
parent e0fcd1da3a
commit 1610215379

View file

@ -15,7 +15,7 @@ function main() {
# backup database dump
pg_dump -d ${POSTGRES_DB} -h ${POSTGRES_SERVICE} -p ${POSTGRES_PORT} \
-U ${POSTGRES_USER_FILE} --no-password --serializable-deferrable \
--clean --no-privileges | \
--no-privileges | \
restic -r ${RESTIC_REPOSITORY}/db backup --stdin
# backup nextcloud filesystem