56.9.1 Sync files
The synchronization script copies all data using rsync over SSH. If the destination server doesn’t have any SSH keys,
the script will also a pair of RSA keys and copy the public key to the source server. All directories excluded from the
backup data will not be synced.
On the target machine, execute the following command:
56.9. Upgrade with rsync
243
NethServer Documentation, Release 7 Final
screen rsync-upgrade [ssh_port]
Where
• source_server_name is the host name or IP of the original server
• ssh_port is the SSH port of the original server (default is 22)
Example:
screen rsync-upgrade mail.nethserver.org 2222
When asked, insert the root password of the source server, make a coffee and wait patiently.
The script will not perform any action on the source machine and can be invoked multiple times.
Do'stlaringiz bilan baham: |