From 9891252c9260be93c30db35a3d6dba038787dd4a Mon Sep 17 00:00:00 2001 From: kiki Date: Tue, 10 Jan 2023 19:24:13 +0100 Subject: [PATCH] Update 'pages/mydoc/mydoc_backup.md' --- pages/mydoc/mydoc_backup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/mydoc/mydoc_backup.md b/pages/mydoc/mydoc_backup.md index eb3d190..856e961 100644 --- a/pages/mydoc/mydoc_backup.md +++ b/pages/mydoc/mydoc_backup.md @@ -56,11 +56,11 @@ Verificare che abbia funzionato: https://campiaperti.tetaneutral.net/login Fare il backup di config, data, themes, e custom-apps, che si trovano tutte dentro la cartella app/ - #tar -czvf /home/backups_dispensa/data-nextcloud_$(date +%Y%m%d%H%M).tar.gz /opt/nextcloud/app + #tar -czvf /home/backup_dispensa/data-nextcloud_$(date +%Y%m%d%H%M).tar.gz /opt/nextcloud/app fare il backup del db: - docker exec -i nextcloud-mariadb mysqldump --single-transaction -u [username] -p[password] [db_name] > /home/backups_dispensa/nextcloud-sqlbkp_$(date +%Y%m%d%H%M).bak + docker exec -i nextcloud-mariadb mysqldump --single-transaction -u [username] -p[password] [db_name] > /home/backup_dispensa/nextcloud-sqlbkp_$(date +%Y%m%d%H%M).bak Cancellare i backup piĆ¹ vecchi.