comparison 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
comparison
equal deleted inserted replaced
141:d0943d41f391 142:36c9cb759326
1 <?php
2 // "secret" used for authentication
3 $dataSecret = "pretendsecretpassword";
4
5 // Absolute path for storing the backup files
6 $dataPath = "/some/path/syntilista_backup/";
7
8 // Backup filename prefix
9 //$dataName = "backup";
10
11 // Backup filename suffix/extension
12 //$dataSuffix = ".sqlite3";
13
14 // Maximum accepted size of file(s) to backup
15 // NOTE! PHP upload size has to be at least this!
16 //$dataMaxSize = 1024 * 1024;
17
18 // How many backups to keep?
19 //$dataBackups = 24;
20
21 ?>