Backup Installation

The LogicalDOC Backup needs to be installed in the same server that is running your LogicalDOC.

Download the installation package: logicaldoc-backup-<ver>.zip

Unpack it into your preferred installation folder, let's call it <Backup_Home>

Once unpacked the backup tool, you have to proceed with the configuration of text file located at <Backup_Home>/conf/context.properties:

logicaldoc.home Full path of LogicalDOC installation directory
backup.targetdir Full path of the directory that will receive the backup files
db.username The username to connect to the database
db.password The password to connect to the database
db.host Hostname or IP address of the database. Default value: localhost
db.port Database port. Default value: 3306 for MySQL, 5342 for PostgreSQL
db.name Database name
backup.db.command Full path of the database dump command. Default value: mysqldump for MySQL, pg_dump for PostgreSQL
backup.db.arguments

Arguments to pass to the dump command.

Default value for MySQL: -h ${db.host} -P ${db.port] -u ${db.username} -p${db.password} ${db.name}

Default value for PostgreSQL: -h ${db.host} -p ${db.port} -U ${db.username} -d ${db.name}

restore.db.command Full path of the database restore command. Default value: mysql for MySQL, psql for PostgreSQL
restore.db.arguments

Arguments to pass to the restore command.

Default value for MySQL: -h ${db.host} -P ${db.port] -u ${db.username} -p${db.password} ${db.name}

Default value for PostgreSQL: -h ${db.host} -p ${db.port} -U ${db.username} -d ${db.name}

Log of the application

The backup tool sends its output to the console. It also creates execution log files in the logs folder. Inside this folder, the system will write the log of the backup activities. New log file will be generated each time the backup command is executed.