Mercurial > hg > syntilista
diff slbackup.cfg.example @ 142:36c9cb759326
Implement simple SQLite database backup at program exit using Qt HTTP/HTTPS
and a PHP script on the remote server. Needs more work, testing and better
error handling.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 24 Aug 2017 15:44:33 +0300 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slbackup.cfg.example Thu Aug 24 15:44:33 2017 +0300 @@ -0,0 +1,21 @@ +<?php +// "secret" used for authentication +$dataSecret = "pretendsecretpassword"; + +// Absolute path for storing the backup files +$dataPath = "/some/path/syntilista_backup/"; + +// Backup filename prefix +//$dataName = "backup"; + +// Backup filename suffix/extension +//$dataSuffix = ".sqlite3"; + +// Maximum accepted size of file(s) to backup +// NOTE! PHP upload size has to be at least this! +//$dataMaxSize = 1024 * 1024; + +// How many backups to keep? +//$dataBackups = 24; + +?>