fixed typo, added readme
This commit is contained in:
2
README.md
Normal file
2
README.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#Nextcloud Mysql LXD Backup script
|
||||||
|
This is a small script which backups nexcloud db from within an lxc container to the server filesystem
|
||||||
@@ -17,7 +17,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# BackUP nc_database
|
# BackUP nc_database
|
||||||
${lxccmd} exec nc-1 -- sh -c 'mysqldump --single-transaction iq_cloud' | gzip -9 > ${backuppath}$(date +%Y_%m_%d)_nc_mysql.dumb.gz
|
${lxccmd} exec nc-1 -- sh -c 'mysqldump --single-transaction iq_cloud' | gzip -9 > ${backuppath}$(date +%Y_%m_%d)_nc_mysql.dump.gz
|
||||||
|
|
||||||
|
|
||||||
chown -R ${backupuser}:${backupuser} ${backuppath}
|
chown -R ${backupuser}:${backupuser} ${backuppath}
|
||||||
|
|||||||
Reference in New Issue
Block a user