view 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 source

<?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;

?>