Update 'pages/mydoc/mydoc_backup.md'
This commit is contained in:
parent
e91ab0375b
commit
9891252c92
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue