#Backup and restore
19 messages · Page 1 of 1 (latest)
How do you have installed appwrite?
I downloaded the docker-compose.yml and .env files from Appwrite's site
place them inside a folder and use this command
docker componse up -d --remove-orphans
This is not working for you?
Appwrite is a self-hosted backend-as-a-service platform that provides developers with all the core APIs required to build any application.
It's a good practice to backup your Appwrite server data regularly if you need to restore it later.
Backup/Restore scripts: https://gist.github.com/stnguyen90/fee636ff652b8ecbf761935b2aa254fb
Backup Notes...
You need to run the command in the same folder where the docker compose file is located
I'll try again, previous time was not successful
If you get some error, send it here
$ ./backup.sh
tar: /backup/uploads.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: /backup/cache.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: /backup/config.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: /backup/certificates.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: /backup/functions.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: /backup/builds.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
this was the issue
it creates the dump from database and a copy of .yml and .env files, the rest have this error
I took the scripts from this page
What os are you using?
Are you using some external storage provider like S3?
Windows
No, just direct into my Hard Drive
I'm using the Git console to run the commands
Oh, makes sense. Those scripts are for Ubuntu/Linux