mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 01:20:38 +00:00
493 B
493 B
Migrating to new server
- Backup directory
/matrix
. Make sure to preserve owner and permission (usecp -p
)! - Remove old server from matrix-docker-ansible-deploy
hosts
file and add new server. - Run
ansible-playbook -i inventory/hosts setup.yml --tags=setup-all
. This will create the matrix user and group. - Copy backup from old server to new server. Make sure to preserve owner and permission (use
cp -p
)! - Run
ansible-playbook -i inventory/hosts setup.yml --tags=start