Named task groups:
tasks:
archiveHome:
- run: makeUserHomeArchive
- run: cp ~/homeArchive /path/to/device
backupDevice1:
# Task may have name
- name: 'Copy files to backup disk'
run: rclone /path/to/device /path/to/local/mirror1
- name: 'Upload to S3'
run: rclone /path/to/device s3Replica:backups
- name: 'Replicate on server'
# Just run replicator on server with their own config and end locally
run: ssh replicator@backup-server 'nohup replicator ./backups.yml > ./replicator.log 2>&1 </dev/null &'
With ability to run multiple groups replicator archiveHome backupDevice1
It is useful to run some tasks by CRUD, for this example run only replicator archiveHome
Named task groups:
With ability to run multiple groups
replicator archiveHome backupDevice1It is useful to run some tasks by CRUD, for this example run only
replicator archiveHome