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

Backup restore transactions? #21

Open
jonathan-r-thorpe opened this issue Oct 7, 2024 · 1 comment
Open

Backup restore transactions? #21

jonathan-r-thorpe opened this issue Oct 7, 2024 · 1 comment
Labels
triage Apply to all new issues

Comments

@jonathan-r-thorpe
Copy link
Contributor

Should the restore of the backup be transactional?

i.e. If the restore fails for some reason, should the Device Model be rolled back to the pre-transaction state?

@github-actions github-actions bot added the triage Apply to all new issues label Oct 7, 2024
@cristian-recoseanu
Copy link
Contributor

I think it would be useful to describe what a restore fail would mean.

If it fails as a whole action then the response would be an NcMethodResultError with a relevant status and with an errorMessage.

Any other response would be a succesful restore where each NcObjectPropertiesSetValidation role path needs to be checked for further information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Apply to all new issues
Projects
None yet
Development

No branches or pull requests

2 participants