config.sample.php 520 B

123456789101112
  1. <?php
  2. // Copy this file to config.php and change the password before deploying.
  3. define("BACKUP_SERVER_PASSWORD", "change-me");
  4. // Optional stronger alternative:
  5. // define("BACKUP_SERVER_PASSWORD_HASH", "$2y$10$replace-this-with-a-precomputed-password-hash");
  6. define("BACKUP_SERVER_RETENTION", 30);
  7. define("BACKUP_SERVER_BACKUP_DIR", __DIR__ . "/backups/");
  8. define("BACKUP_SERVER_INDEX_FILE", BACKUP_SERVER_BACKUP_DIR . "index.json");
  9. define("BACKUP_SERVER_SETTINGS_FILE", BACKUP_SERVER_BACKUP_DIR . "settings.json");