summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/lh_system_backup_job
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-02-20 01:15:52 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-02-20 01:15:52 (GMT)
commit62edd0d8966eeccbc1ebd4520dfac40e23e068db (patch)
tree3c17b56f41f4be20502c1726ae6ca14299560755 /linhes/linhes-system/lh_system_backup_job
parent79dd81054768949e690426ada6f7f9c3e4c96c7e (diff)
downloadlinhes_pkgbuild-62edd0d8966eeccbc1ebd4520dfac40e23e068db.zip
linhes_pkgbuild-62edd0d8966eeccbc1ebd4520dfac40e23e068db.tar.gz
linhes_pkgbuild-62edd0d8966eeccbc1ebd4520dfac40e23e068db.tar.bz2
linhes-system: add recordings.cron
lh_mtc.cron: run backup as root
Diffstat (limited to 'linhes/linhes-system/lh_system_backup_job')
-rwxr-xr-xlinhes/linhes-system/lh_system_backup_job2
1 files changed, 1 insertions, 1 deletions
diff --git a/linhes/linhes-system/lh_system_backup_job b/linhes/linhes-system/lh_system_backup_job
index 257bb87..0c8b468 100755
--- a/linhes/linhes-system/lh_system_backup_job
+++ b/linhes/linhes-system/lh_system_backup_job
@@ -37,7 +37,7 @@ function backup(){
mkdir -p $BACKUPDIR/$DATE
#backup database
- if [ $SystemType = Master_backend -o $SystemType = Standalone ]
+ if [ $SystemType = MasterBackend -o $SystemType = Standalone ]
then
echo
echo "Backup mysql databases"