From 1610215379c52b8e6856ebd6ef30ec650fbbfd56 Mon Sep 17 00:00:00 2001 From: jem Date: Sat, 12 Dec 2020 18:18:34 +0100 Subject: [PATCH] clean is already done by drop --- infrastrucure/docker/image/resources/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastrucure/docker/image/resources/backup.sh b/infrastrucure/docker/image/resources/backup.sh index 51eed52..41f7d71 100755 --- a/infrastrucure/docker/image/resources/backup.sh +++ b/infrastrucure/docker/image/resources/backup.sh @@ -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