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
- Appwrite Python SDK Keeps returning the ...
So I have a couple services, one is a scheduling engine responsible for fetching data from a database and launching a containerized micro service to process tha...
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...
- functions domain error
I cannot set up the domain for function I’m trying to add the domain api.example.com I can only use Cloudflare as the DNS provider because my domain provider do...