TandoorRecipes / recipes

Application for managing recipes, planning meals, building shopping lists and much much more!
https://docs.tandoor.dev
Other
5.35k stars 563 forks source link

Add possibility to export recipes per command #3158

Closed update-freak closed 4 months ago

update-freak commented 4 months ago

Is your feature request related to a problem? Please describe.

It would be great to have the possibility to have an automatic export function of the recipes. Therefore it would be good to have an export command, which can be triggered through e.g. synology task manager to do the export e.g. every friday at 01:00.

Describe the solution you'd like

For example for paperless-ngx there is a command like that bash -c "docker exec Paperless-ngx document_exporter ../export -z" Something similar for Tandoor would be nice.

Describe alternatives you've considered

manual export by hand. But this is time consuming

Additional context

No response

smilerz commented 4 months ago

What's the use case? Export is not a reliable backup mechanism.

update-freak commented 4 months ago

My intension was indeed the backup of the recipes when there is a problem with the database and/or tandoor. Therefore currently I export my receips every month. Is there a better way in doing this snapshots of the receips? (If yes, which steps I have to follow) Idea was to trigger an automatic export every month that I did not have to do that manually.

smilerz commented 4 months ago

Backup the database.

update-freak commented 4 months ago

ok, then I will do it via database backup. Thanks