Hi ! I did a mistake on my storage bucket but fortunately I have an old backup. (using this method which works flawlessly : https://dev.to/appwrite/appwrite-in-production-backups-and-restores-4beg)
However I would like to restore the storage part only, because we had new users and activity since then.
How can I restore the storage buckets only from an old backup ?
I tried tinkering with the restore script and dump.sql file but it always seem break my appwrite instance.
Thanks !
can you explain more about what happened? what was the mistake?
what exactly breaks?
I did a batch deleting pictures and replacing them with compressed versions of them.
But it didn't upload some files after deleting them...
Anyway, my problem is I would like to restore my storage buckets from another backup, and not override any other data
[Error] URL: /v1/storage/buckets/:bucketId/files/:fileId/preview
[Error] Type: ImagickException
[Error] Message: no decode delegate for this image format `' @ error/blob.c/BlobToImage/458
[Error] File: /usr/src/code/vendor/utopia-php/image/src/Image/Image.php
[Error] Line: 45
[Error] Timestamp: 2023-07-19T10:14:40+00:00
[Error] Method: GET
[Error] URL: /v1/storage/buckets/:bucketId/files/:fileId/preview
[Error] Type: ImagickException
[Error] Message: no decode delegate for this image format `' @ error/blob.c/BlobToImage/458
[Error] File: /usr/src/code/vendor/utopia-php/image/src/Image/Image.php
[Error] Line: 45
[Error] Timestamp: 2023-07-19T10:14:40+00:00
[Error] Method: GET
[Error] URL: /v1/storage/buckets/:bucketId/files/:fileId/preview
[Error] Type: ImagickException
[Error] Message: no decode delegate for this image format `' @ error/blob.c/BlobToImage/458
[Error] File: /usr/src/code/vendor/utopia-php/image/src/Image/Image.php
[Error] Line: 45
[Error] Timestamp: 2023-07-19T10:14:40+00:00
my appwrite container is doing weird stuff
i can't read images anymore from my instance !
You guys really need to work on a backup/restore solution..... The script on dev.to causes huge bugs
I did a batch deleting pictures and replacing them with compressed versions of them.
How did you do that?
Recommended threads
- [SOLVED] Error upgrading from 1.8.1 to 1...
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...