-
Notifications
You must be signed in to change notification settings - Fork 95
Backups
Grigory Efimov edited this page Jun 6, 2025
·
2 revisions
All data is stored in the folder STORAGE_DIR="./storage"
.
It is sufficient to set up a backup of the data in this folder.
It is recommended to stop the environment during the backup.
make stop
rsync -a ./storage/ /backup/$(date +%Y%m%d-%H%M%S)/
make start
git clone https://github.com/anyproto/any-sync-dockercompose.git
cd any-sync-dockercompose
echo 'EXTERNAL_LISTEN_HOSTS=<NEW SERVER HOST OR IP>' > .env.override
cp -rp path/to/backup/storage ./storage
chown -R <your current user> ./storage/
make start
cd any-sync-dockercompose
make stop
mv ./storage ./storage_old
cp -rp path/to/backup/storage ./storage
make start
Thank you for your desire to develop Anytype together!
❤️ This project and everyone involved in it is governed by the Code of Conduct.
🧑<200d>💻 Check out our contributing guide to learn about asking questions, creating issues, or submitting pull requests.
🫢 For security findings, please email [email protected] and refer to our security guide for more information.
🤝 Follow us on Github and join the Contributors Community.
Made by Any — a Swiss association 🇨 🇭
Licensed under MIT.