Back

Restore Appwrite after upgrading (with skipping multiple version)

  • 0
  • Self Hosted
loup
20 Sep, 2023, 21:24

Well, this is my time ! Ive upgraded my Apprite instance (self-hosted) in my Docker Desktop in Windows without upgrading one-by-one version. Of course this is my bad but now the question is how recover the old Appwrite instance. During the upgrading a message said that a backup was going to be made. So I guess a backup is somewhere in my disk

TL;DR
The user upgraded their Appwrite instance without upgrading one version at a time and now wants to recover their old instance. They are looking for a backup file that should have been made during the upgrade process. The user is unsure where to find the backup file. One solution that was suggested is to downgrade to version 1.3.8, run the migration command, then upgrade to version 1.4.3 and run the migration command again.
Kenny
20 Sep, 2023, 21:27

What version to what version, did you run the migration script?

Kenny
20 Sep, 2023, 21:28

What issues are you having with the new version you've upgraded to?

loup
20 Sep, 2023, 21:29

1.3.7 -> 1.4.3 Ivce run this command🫣 :

TypeScript
docker run -it --rm `
    --volume /var/run/docker.sock:/var/run/docker.sock `
    --volume ${pwd}/appwrite:/usr/src/code/appwrite:rw `
    --entrypoint="upgrade" `
    appwrite/appwrite:1.4.3
loup
20 Sep, 2023, 21:47

well i dont find any backup file

loup
20 Sep, 2023, 21:54

arhh Im done

Drake
20 Sep, 2023, 22:53

as mentioned in general, only the docker-compose.yml and .env files are backed up, not your whole instance

Drake
20 Sep, 2023, 22:54

if this is all you did...you might be able to:

  1. downgrade to 1.3.8
  2. run the migrate command
  3. upgrade to 1.4.3
  4. run the migrate command
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more