-
Notifications
You must be signed in to change notification settings - Fork 0
Home
The program is very easy to use. It is written for linux and uses python 3.x
clone the repo and start the program. Beware of adding the values in ./src/conf/backup.ini. The archives are stored in ./src/backup/*_archive.tar
python3 run.py
Logs are safed in ./src/logs/*.log. Each file has its own purpose. Log levels are debug, info, warn.
I am using an own logicaldoc daemon to control my software. My program uses the logicaldoc script commands. If you like to control it too, here is my logicaldocd.service
[Unit]
Description=Logical Doc daemon
After=mysql.service
[Service]
Type=forking
Environment="LOGI_SCRIPT=/opt/logidoc/community/bin/logicaldoc.sh"
ExecStart=/bin/bash ${LOGI_SCRIPT} start
ExecStop=/bin/bash ${LOGI_SCRIPT} stop
#KillMode=process
[Install]
WantedBy=multi-user.target
The backup restores all values and files to the new location but internal configs stay the same. If you have connection problems (logicaldoc <-> db) after restoring your backup, maybe your credentials will be a problem. Reference: https://wiki.logicaldoc.com/wiki/Server_Migration Check the values below.
File: %LOGICALDOC_HOME%/conf/context.properties
jdbc.url
jdbc.username
jdbc.password
index.dir
conf.plugindir
store.1.dir