Is there an existing issue for this?
Please describe the feature you have in mind and explain what the current shortcomings are?
Complete db backup and restore
How would you imagine the implementation of the feature?
- run
docker compose exec postgres pg_dump -U ayon > backup.sql to create database dump
- copy storage/, addons/, docker-compose.yml and backup.sql to the new machine (and other supporting files)
- run
docker compose up postgres on the new machine to start only the database (if you run the entire stack, it will be populated with defaults, we want to keep it empty for now)
- run
docker compose exec -T postgres psql -U ayon ayon < backup.sql to restore the backup
- start everything using docker compose up
Are there any labels you wish to add?
Describe alternatives you've considered:
No response
Additional context:
keep in mind we already have dump restore targets for projects, so we need to think about names as well
Is there an existing issue for this?
Please describe the feature you have in mind and explain what the current shortcomings are?
Complete db backup and restore
How would you imagine the implementation of the feature?
docker compose exec postgres pg_dump -U ayon > backup.sqlto create database dumpdocker compose up postgreson the new machine to start only the database (if you run the entire stack, it will be populated with defaults, we want to keep it empty for now)docker compose exec -T postgres psql -U ayon ayon < backup.sqlto restore the backupAre there any labels you wish to add?
Describe alternatives you've considered:
No response
Additional context:
keep in mind we already have dump restore targets for projects, so we need to think about names as well