Open chrschdev opened 11 months ago
hey @chrschdev,
at the moment no restore-functionality is included. i might add one in the future.
you can call storyblok's management API to update or create single elements.
A restore function would be very handy... +1 😬 but nevertheless, the script is already very cool. stupid pricing strategy at storyblok... to enable backups only from business level. 🙄
@cgpro totally agree, i also don't understand why this is only a business level feature. I stopped creating new projects with Storyblok, have no trust anymore in their pricing policy...but nevertheless, thx @codeflorist for your work!
hey everyone!
i've just released v0.1.0, which includes a restore script (see docs for details). however, only restoring of single resources is possible.
a full restore over an existing space or via creating a new space is quite problematic, since non-existing resources will get new IDs and all relations must reflect that. i might add such a functionality later.
i've just released v0.3.0, which includes a new --propagate
option for the restore script, which can be used in conjunction with --create
. this option will update all stories referencing the old UUID (as stated in the backup-json's uuid field) in the relevant fields (single/multi-option, references, links, links in rich-text fields) with the new one.
it's still not a full restore, but one step closer to it.
Hey, nice that you have developed a script for storyblok space backups!
Not an issue, but what is the recommended way to restore an existing backup to storyblok?