fixed typo, added readme

This commit is contained in:
rick
2021-06-07 23:42:11 +02:00
parent 0915118f44
commit 56552cb130
2 changed files with 3 additions and 1 deletions

2
README.md Normal file
View 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

View File

@@ -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}