55.6.2 Sync and migrate
If called with -m option, rsync-migrate will execute a final synchronization and upgrade the target machine.
Before executing the final migration, install all packages that cover the same features of the source.
Example:
screen rsync-migrate -m mail.nethserver.org 2222
The script will:
• stop every service on the source machine (except for SSH)
• execute the pre-backup event on the source machine
• sync all remaining data
• execute the migration-import event on the destination machine
At the end, check for any error message in /var/log/messages:
grep -E '(FAIL|ERROR)' /var/log/messages
Do'stlaringiz bilan baham: |