I have an Ubuntu Server with mysql database on it and I would like to copy its full content (data, users, anything) to another mysql server I have on the network.
How can I obtain this result (automatically, maybe using cron) taking care of security (none should be able to intercept the data)?