This commit is contained in:
@@ -15,6 +15,9 @@ steps:
|
||||
image: alpine:3
|
||||
volumes:
|
||||
- {{ backup.path }}:/mnt/{{ backup.name }}
|
||||
when:
|
||||
event: [ push, manual, cron ]
|
||||
cron: nightly-backup
|
||||
commands:
|
||||
- echo "Backing up {{ backup.path }}"
|
||||
- tar czf /tmp/{{ backup.name }}.tar.gz /mnt/{{ backup.name }}
|
||||
|
||||
Reference in New Issue
Block a user