Skip to content
siless edited this page Apr 14, 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 commands to control logicaldoc. If you like to control it to , 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
Clone this wiki locally