-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
devNew DevelopmentNew Development
Milestone
Description
- Add Collect as shown below & as in v0.3-Δ spec.
name: Example-Backup-n-upload
schedule: 0 0 * * *
execute:
backup:
- basedir: /home/foo/some_server_dir
resources:
- resource1
- resource2
- resource3
export: /home/bar/some-name-{timestamp}.zip
upload: True
- basedir: /home/bar
resources:
- resource1
- resource2
- resource3
export: /home/bar/some-other-name-{timestamp}.zip
collect:
resources:
- basedir: /foo/bar
resources:
- resource1.ext
- resource2-dir
- resource3
backup-name: foo-bar
- basedir: /bar/foo
resources:
- resource1.ext
- resource2-dir
- resource3
backup-name: bar-foo
- resource: /alpha/beta/res1.pdf
export: /some/dir/export-{timestamp}.zip
delete: True
run:
- exec: psql mydb > /foo/bar/mydb_dump-{timestamp}.sql
upload_path: /foo/bar/mydb_dump-{timestamp}.sql
creds:
connection_string: --
container: --Metadata
Metadata
Assignees
Labels
devNew DevelopmentNew Development