resticprofile
resticprofile copied to clipboard
How to invoke copy after backup?
The groups command only invoked backup without the option to call copy.
Profiles available (name, sections, description):
default: (n/a)
workspace-all: (backup, copy)
Groups available (name, profiles, description):
full-backup: [workspace-all]
No sorry, right now the copy command can't be called automatically after a backup.
Alright, I suggest modifying the copy command to support multiple targets.
You can use run-after to start another resticprofile within the first one. I'm doing this to invoke forget after copy:
run-after: 'resticprofile forget-{{ .Profile.Name }}.forget'