Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Improve snapshot API to allow snapshot with same name overwrite (quick win!)
PLease add a new option to the snapshot API to overwrite a snapshot with an already existing name.
We make 1 snapshot using the following schedule: every 1 night, 1 day, 1 month
Using the API and giving it a name myself “1night”, “1week”, “1month” I was expecting that if I created a second snapshot using the SAME name that it would overwrite the existing snapshot with the same name (just like files: only 1 instance of a filename)
But! this is not the case.
First: I think this is a bug: a name should be unique. I reading the documentation everywhere I get the idea that it DOES overwrite an existing snapshot with the same name.
Second: Anyways a small change is needed to the snapshot API with an optional option that if when set to YES first finds an existing snapshot with the same name and replaces the old snapshot with the new one
This is really a quick win I think and would save us already some Terabytes of data (because now we have lists and lists of snapshots all with the same name)
please mark as urgent!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×