-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paths3-sync.json
More file actions
37 lines (37 loc) · 806 Bytes
/
s3-sync.json
File metadata and controls
37 lines (37 loc) · 806 Bytes
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
34
35
36
37
{
"verbose": true,
"backups": [
{
"name": "Files Backup with S3 Sync",
"source": {
"type": "tar",
"options": {
"path": "/backup-files"
}
},
"target": {
"dirname": "/backups",
"filename": "files-%Y%m%d-%H%i%s.tar",
"compress": "gzip"
},
"syncs": [
{
"type": "amazons3",
"options": {
"key": "adapter:env:AWS_ACCESS_KEY_ID",
"secret": "adapter:env:AWS_SECRET_ACCESS_KEY",
"bucket": "adapter:env:AWS_S3_BUCKET",
"region": "adapter:env:AWS_REGION",
"path": "/backups"
}
}
],
"cleanup": {
"type": "outdated",
"options": {
"older": "2W"
}
}
}
]
}