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
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...