Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to invoke copy after backup? #416

Open
xuhuanzy opened this issue Oct 8, 2024 · 3 comments
Open

How to invoke copy after backup? #416

xuhuanzy opened this issue Oct 8, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@xuhuanzy
Copy link

xuhuanzy commented Oct 8, 2024

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]
@creativeprojects
Copy link
Owner

No sorry, right now the copy command can't be called automatically after a backup.

@creativeprojects creativeprojects self-assigned this Oct 9, 2024
@creativeprojects creativeprojects added the enhancement New feature or request label Oct 9, 2024
@xuhuanzy
Copy link
Author

xuhuanzy commented Oct 9, 2024

Alright, I suggest modifying the copy command to support multiple targets.

@uwe-schwarz
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants