-
Notifications
You must be signed in to change notification settings - Fork 35
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
Implement device attach/deploy values diff check and update during restore --update #6
Comments
Hi, The device values are pushed when the restore task is executed with --attach option. Also with the attach task. Have you tried those options? Thanks |
Hi,
Log:
I tested my guess. i set device to cli mode (detached template). then i tried to restore the backup. in this case it worked.
Would be very useful if you could add some option for diff and restore device values. |
Hi Markus, You're right, we don't currently diff for template values. There is diff on the templates themselves when one restores with --update. What you're looking for is basically expand that to look/diff into attachments as well. Planning to look into 2 options:
Please let me know your thoughts on those options. Which seems more natural to your workflow? |
I would say "restore --update" describes my intention best. |
Thank you Markus. Adding this to our backlog, also renaming the issue to better reflect the ask. |
Hi Guys,
we faced an issue while restoring an backup with sastre (v 1.19).
Between taking backup and restoring we changed some vedge configurations (changing template input values). We wanted to reset this change by restoring the backup but device values (template input values) have not been updated.
Sastre backup stores this information under device_templates/values/$template_name but seams not using it.
Would be very useful if you could add some functionality for restoring device values.
Thanks in advance
The text was updated successfully, but these errors were encountered: