Warracker icon indicating copy to clipboard operation
Warracker copied to clipboard

[Enhancement] Backup / Exporting

Open luci-serendipity opened this issue 1 year ago • 3 comments

Simple request: Modify the export option.

  1. remove the duplicate export option. There are two places you can export a DB. one has more data than the other for some reason? (I may be mistaken)
  2. Modify the export feature so it exports as a ZIP instead of a CSV.
  3. The ZIP will include the CSV without any changes to how the CSV currently exports 3a The ZIP will include all active documents.

OR (or both)

3b The ZIP will include all document data even if the data is not tied to any warranty anymore (due to deletion or otherwise)

luci-serendipity avatar Oct 31 '25 04:10 luci-serendipity

Please note: I'm intentionally not requesting the import feature be modified to allow document import as that is more involved. I do not know how to back up the documents without this simple request being implemented. Side note: If you do pursue the route requested, a warning may be needed so the user knows they can only import the CSV at this time or until a future update changes how imports work. Also keep in mind, you may want to limit the size of an export to 500mb chunks. I'm not sure how that can be accomplished as I havent messed around with that. It may be easy to split exports, or not.

luci-serendipity avatar Oct 31 '25 04:10 luci-serendipity

Hi @icywhisker-official , these are all great ideas.

What if I give the options to download in .zip, .xlxs, or .csv?

sassanix avatar Oct 31 '25 12:10 sassanix

That's good for now. I'm sure you have ideas for the future. Thanks!

luci-serendipity avatar Oct 31 '25 15:10 luci-serendipity