986 B
986 B
#Migration from one vps to other
This migration guide covers migration of applications (Nextcloud, Gitea and Currency converter) and their data containers
Lets jump right into it
- Firstly open inventory/filetransfer.ini file and provide source and target machine IP addresses.
- Now set variables in playbooks/backup_restore.yml file
vars: current_user: hemani (User should exist in both target & source machines) ansible_ssh_keyfile_path: key_file_name:
- Now Run Following command on target machine
* $ansible-playbook -i inventory/inventory.ini playbooks/docker-playbook.yml * $ansible-playbook -i inventory/inventory.ini playbooks/next-cloud-playbook.yml * $ansible-playbook -i inventory/inventory.ini playbooks/git-tea-playbook.yml
- Finally execute back and restore play book
$ansible-playbook -i inventory/inventory.ini playbooks/backup_restore.yml -vvv