mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-09 07:13:35 -05:00
How to dump 0.24.6 data in containerised environment? #620
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xeruf on GitHub (Sep 12, 2025).
Description
the
-pflag to set a backup target is not yet available in the latest stable version 0.24.6, and I cannot dump to the default path:since there are no other utilities on the container, I cannot work around that by entering a different directory as I used to
Which alternatives did you consider using instead?
upgrading to 1.0 without backup, yikes! (or doing a database dump but that's a bit of a hassle)
@xeruf commented on GitHub (Sep 12, 2025):
I can also not use
kubectl cpto move anything onto or out of the pod:@xeruf commented on GitHub (Sep 12, 2025):
I went into a very curious rabbithole to dig into the container using something along the lines of:
and I managed to obtain a dump, yei!
if anybody is interested in the whole process, feel free to ask...
still think the
-pflag should be made available in a patch 0.24.7@kolaente commented on GitHub (Sep 12, 2025):
I would do a database backup and then upgrade Vikunja in place.
Does that mean you don't have a job which regularly does backups? What would you do if your server hardware burned right now?
@xeruf commented on GitHub (Sep 12, 2025):
we do have backups of all volumes including all databases, but the recovery is a bit of a hassle
@kolaente commented on GitHub (Sep 12, 2025):
But you could restore from backup if things go sideways during the upgrade? If that's the case, I don't see a problem upgrading in place.