Replies: 3 comments
-
I am for deleting it. It will most probably be malformed or even empty anyways. |
Beta Was this translation helpful? Give feedback.
-
I would say, let the user decide. |
Beta Was this translation helpful? Give feedback.
-
I talked with @a-mesin and we aligned on the following points:
At the moment our process looks like the following:
Now I would add to the 1th step a accessibility check and a new 4th step regarding the post backup/cleanup (I think this will be needed in the future anyway to):
WDYT about these points? |
Beta Was this translation helpful? Give feedback.
-
When adding support for new systems, I also test the negative paths: for example, what happens if the HashiCorp Vault token doesn't have the required permissions or isn't valid at all.
During these tests, due to my oversight in changing the path, I often get an error message saying that the target file already exists.
This brings up the question of whether the destination file should be deleted if the backup process fails. In my opinion, there is no reason to keep it, but I am open to other suggestions.
Beta Was this translation helpful? Give feedback.
All reactions