Skip to content
siless edited this page Apr 21, 2020 · 9 revisions

Welcome to the backup_logicaldoc wiki!

The program is very easy to use. It is written for linux and uses python 3.x

[Run program]

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]

Logs are safed in ./src/logs/*.log. Each file has its own purpose. Log levels are debug, info, warn.

[Hint]

I am using an own logicaldoc daemon to control my software. My program uses the logicaldoc script commands. If you like controlling 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

You can also use my script to install this service. Use the option "install"

[Connection issues]

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
Clone this wiki locally