Duplicate / Clone Plan to save copy-paste #425
semiligneous
started this conversation in
Ideas
Replies: 1 comment
-
I can answer myself, one "other way" would be to manually edit the .config/backrest/config.json and repeat the relevant plan blocks. That works fine. (seems to need to restart the systemd service to pick up the config change though) Not super hard, but open to breaking things, and given this is a GUI tool, it seems less than ideal to go back to manual json editing! But it works. A UI would be nicer, not sure if anyone else agrees or shares the need? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be nice if there was a way to duplicate a plan, make edits and then save it as a new plan. I want to set up a plan per docker container that I want backed up, and the majority of settings will be identical each time, or at least very similar. Including custom commands as hooks pre- and post-backup.
Lots of copying and pasting each time from a 2nd tab could be saved if there was a button inside the "Update Plan" modal which said "copy plan" (perhaps right at the bottom next to "Submit"?), and it opened a new modal, with the Plan Name as "old plan (copy)" and all the other details identical - cron/schedule/path/retention policy/hooks etc etc.
That way, it would be much quicker and less error-prone to set up multiple backup plans, and when a new docker container is added, it would be 3 or 4 clicks to set up the backup in a consistent way.
Is there another way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions