-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-sample.json
31 lines (30 loc) · 1.01 KB
/
config-sample.json
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
{
// Enable/Disable logging
"log": true,
// Global backup path
"backup_path": "/home/db/backups",
// Backup file format.
// Eg: if you backup file name is like `backup-2016-10-10.psql.gz`
// backup file format is `backup-%s.psql.gz` and
// backup date format is 'YYYY-MM-DD'
// backup date format is based on excel date formats - https://goo.gl/oCTDIs
"backup_file_format": "backup-%s.psql.gz",
"backup_file_date_format": "YYYY-MM-DD",
// Define your backup slots here in array
"backup_slots": [
{
// slot name
"name": "weekly",
// slot relative path. Lets say if your absolute path is `/home/db/backups/weekly`
// then slot path name is `weekly`
"path": "weekly",
// Number of backup files to keep. If bacup file count exceeds this count then its deleted.
"count": 4
},
{
"name": "daily",
"path": "daily",
"count": 7
}
]
}