]> lifelog.hopto.org Git - LifeLog.git/commitdiff
backup_enabled added.
authorWill Budic <redacted>
Fri, 28 Feb 2020 09:56:00 +0000 (20:56 +1100)
committerWill Budic <redacted>
Fri, 28 Feb 2020 09:56:00 +0000 (20:56 +1100)
dbLifeLog/main.cnf
htdocs/cgi-bin/config.cgi

index c58ce26752fe619ba6c0fee7685bff92101c916f..7cd4232100a28da07b455ce6ad8edf8bd2afe404 100644 (file)
@@ -5,6 +5,7 @@ https://github.com/wbudic/LifeLog
 This is an Open Source License project -> https://choosealicense.com/licenses/isc/
 Credential format:<<AUTO_LOGIN <{alias}/{password}> , dont enable here using AUTO_LOGIN option bellow, use config in app.
 <<AUTO_LOGIN</>
+<<BACKUP_ENABLED<0>
 <<CONFIG<4>
 00|$RELEASE_VER = 1.8`LifeLog Application Version.
 01|$REC_LIMIT   = 25`Records shown per page.
index 635696b7675a54e5e79438f893d3a5be942f3761..6ee43c32b845256de991e3986f6b459980546759 100755 (executable)
@@ -945,7 +945,7 @@ sub backup {
 
 
    my $ball = 'bck__'.$today->strftime('%Y%m%d%H%M%S_')."$dbname.osz";
-   my $pipe = "tar czf - ".&Settings::logPath.'main.cnf' ." $database | openssl enc -k $pass:$userid -e -des-ede3-cfb -pbkdf2 -out ".Settings::logPath().$ball;
+   my $pipe = "tar czf - ".&Settings::logPath.'main.cnf' ." $database | openssl enc -k $pass:$userid -e -des-ede3-cfb -out ".Settings::logPath().$ball;
    my $rez = `$pipe`;
 
   print $cgi->header;