-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.yml
42 lines (41 loc) · 1004 Bytes
/
demo.yml
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
38
39
40
41
42
backups:
- name: My first backup
kind: file
location: /tmp/backup_<%= time.strftime('%Y-%m-%d') %>.tgz
tests:
minsize: 1Kb
kind: file
location: /tmp/test.tgz
tests:
minsize: 1Kb
filetype: application/gzip
- name: backup file glob
location: /tmp/tes*.tgz
validators:
kind: fileglob
tests:
minsize: 1Kb
filetype: application/gzip
- name: s3 backup
s3_auth: s3_auth_demo.yml
location: destockjeans-db-backup/destockjeans-db.production.mainappserver.20140825030015.sql.gz.enc
kind: s3_file
tests:
minsize: 1Kb
- name: s3 backup
s3_auth: s3_auth_demo.yml
location: destockjeans-db-backup/destockjeans-db.production.mainappserver.<%= time.strftime('%Y%m%d') %>*.sql.gz.enc
kind: s3_fileglob
tests:
minsize: 1Kb
- name: ssh file
location: MY.IP.ADD.RESS:/home/rb/dashboard_jwt.tar.bz2
kind: ssh_file
tests:
minsize: 3Mb
- name: ssh dir
location: MY.IP.ADD.RESS:/home/rb
kind: ssh_dir
tests:
minsize: 3Mb
min_file_count: 5