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 should not be aborted on error #279

Closed
nielsole opened this issue Jan 10, 2018 · 2 comments
Closed

backup should not be aborted on error #279

nielsole opened this issue Jan 10, 2018 · 2 comments

Comments

@nielsole
Copy link

I am currently evaluating ark and tested the backup & restore.

Apparently I ran into some race condition so that a PV was already deleted.

time="2018-01-10T15:30:20Z" level=error msg="backup failed" error="[persistentvolumes \"pvc-<redacted>\" not found, persistentvolumes \"pvc-<redacted>\" not found, persistentvolumes \"pvc-<redacted>\" not found, persistentvolumes \"pvc-<redacted>\" not found]" key=heptio-ark/initial-backup2 logSource="pkg/controller/backup_controller.go:258"

The backup was subsequently aborted (I am not sure whether this was the reason, just a correlation). Wouldn't it be better to conclude the backup as far as possible and still show the backup as Error or Partial?
Better to have something than to have nothing. Especially when the bigger the cluster gets, the more likely it is that there is some transient error.

@ncdc
Copy link
Contributor

ncdc commented Jan 10, 2018

Hi @nielsole, thanks for your comments! This is similar to #225 (comment). I think we'll probably want to make backups similar to restores, where we try to do as much as possible, recording warnings & errors along the way.

@nielsole
Copy link
Author

hadn't seen that one. Thanks for the quick reply

kaovilai added a commit to kaovilai/velero that referenced this issue Aug 28, 2023
…or-plugins

oadp-1.2: Moving kopia logging to remove kopia from indirect dependency in vele…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants