Applicable to:
- SolusIO
Question
How to create SolusIO database backup?
Answer
- Connect to SolusIO management node via SSH
- Run the command:
# docker exec -it $(docker ps -q -f name=solus_postgres | head -n1) pg_dump -U$(docker exec $(docker ps -q -f name=solus_postgres | head -n1) env | grep POSTGRES_USER | awk -F "=" {'print $2'}) $(docker exec $(docker ps -q -f name=solus_postgres | head -n1) env | grep POSTGRES_DB | awk -F "=" {'print $2'}) > /path/to/solusio.sql
where /path/to/solusio.sql - is path to the database dump
Comments
0 comments
Please sign in to leave a comment.