diff options
-rw-r--r-- | etc/nextcloudpi-config.d/nc-backup.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/nc-backup.sh b/etc/nextcloudpi-config.d/nc-backup.sh index 185b85c1..c0d06b22 100644 --- a/etc/nextcloudpi-config.d/nc-backup.sh +++ b/etc/nextcloudpi-config.d/nc-backup.sh @@ -33,6 +33,7 @@ configure() mysqldump -u root -p$DBPASSWD_ --single-transaction nextcloud > $DBBACKUP echo -e "backup files..." + mkdir -p $DESTDIR tar -cf $DESTFILE $DBBACKUP nextcloud/ && \ echo -e "backup $DESTFILE generated" || \ echo -e "error generating backup" |