backup con nome

This commit is contained in:
kiki 2022-05-18 17:22:10 +02:00
parent 820fabd51c
commit 0fe7f7961e

View file

@ -29,7 +29,7 @@ backup di config, data, themes, and custom-apps
#zip -r /home/backups_dispensa/data-nextcloud_$(date +%Y%m%d%H%M).zip /var/app
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"`.bak
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
### Sul proprio PC
scaricare il backup del db