Copy home directory and database to another server?
Hello,
I recently created a backup server and I'm looking for a script to copy home directories and databases from my main server and also keep the backup copies updated periodically.
rsync -avzh --progress root@REMOTESERVERHOST:/home/ /home/
I found the above script but not sure if this exactly what will work in my case as I also want this script to keep running so the directories on the backup server is almost or exactly a replica of the main server.
Any suggestions?
Please sign in to leave a comment.
Comments
0 comments