Page MenuHomeSealhub

Sealgen backup + sealgen restore — scripts for dumping all data and restoring it
Open, NormalPublic2 Points

Description

Add two new commands to npx sealgen:

  • backup — dumps mongo DB, all uploaded_files and meilisearch index files to a .tar.gz file. The output filename includes the current date and time and the name of the app like myapp-2025-12-10_19-51-02.tar.gz
  • restore backup.tar.gz — that takes a .tar.gz backup file and restores it

The script should be aware of the config of the current app — so if it stores uploaded_files in a non-standard directory, for example, the script should handle that. Just reading and executing config.ts should be enough.

Details

Coded by
JayNecessary
Action required from
FilipI

Revisions and Commits

Event Timeline

ziomek updated Coded by, added: ziomek.
ziomek moved this task from To do to Doing on the Kanban board.
ziomek removed ziomek as the assignee of this task.Apr 5 2026, 22:52
ziomek updated Coded by, removed: ziomek.
ziomek updated Action required from, removed: ziomek.
ziomek subscribed.
jenkins-user updated Coded by, added: ziomek.
jenkins-user updated Action required from, added: ziomek.
ziomek removed ziomek as the assignee of this task.Apr 5 2026, 22:53
ziomek moved this task from Doing to To do on the Kanban board.
ziomek updated Coded by, removed: ziomek.
ziomek updated Action required from, removed: ziomek.
ziomek unsubscribed.
jenkins-user updated Coded by, added: JayNecessary.
jenkins-user updated Action required from, added: JayNecessary.
JayNecessary added a revision: Restricted Differential Revision.Apr 15 2026, 10:26
jenkins-user moved this task from Doing to Review on the Kanban board.
jenkins-user updated Action required from, added: FilipI; removed: JayNecessary.
jenkins-user added a subscriber: JayNecessary.