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.