-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.config.inc.php
33 lines (26 loc) · 1.37 KB
/
example.config.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
// copy this file to config.inc.php
// and edit to your needs
// site settings
define('DISABLE_UPLOADFORM',false); // set to true to disable the upload form and only allow uploads via API
// AGE encryption settings
// More info on age encryption: https://github.com/FiloSottile/age
define('ENCRYPTION_AGE_SSH_PUBKEY',''); // Enter your SSH public key here to automatically encrypt all uploads
define('ENCRYPTION_AGE_PUBKEY',''); // Enter an "age public key" created with `age-keygen -o key.txt` here to automatically encrypt all uploads with this key
// global settings for retention and version control
// 0 means unlimited
define('KEEP_N_BACKUPS',0); // How many uploads will be saved. Oldest one will be deleted if this number is surpassed
define('KEEP_N_DAYS',0); // How old can the oldest backup be in days. Older ones will be deleted
define('KEEP_N_GIGABYTES',0); // How large can the sum of the backups per target (hostname) be
// FTP Settings if you want to use FTP
define("FTP_SSL", false);
define("FTP_SERVER", '');
define("FTP_PORT", 21);
define("FTP_USER", '');
define("FTP_PASS", '');
define("FTP_BASEDIR", '/');
// S3 settings if you want backupdrop to save on S3 after upload
define('S3_BUCKET','');
define('S3_ACCESS_KEY','');
define('S3_SECRET_KEY','');
define('S3_ENDPOINT',''); // optional, if you use minio or other S3 compatible storage