Uniformity of data and the content across folders, web applications, systems and databases is vital and can be achieved with help of the process called as Data Synchronization. You can synch your dedicated server or local hard drive by adopting different procedures of data synchronization that may include software programs or executable commands.
It should be noted that there is a permanent need for data synchronization in many situations wherein data is being managed by several applications and data bases within the existing information system.
Use the command illustrated below to copy the desired content from your home folder to your local computer or a backup directory from the
dedicated server.
rsync -VA -e “ssh -p PORT” YOUR_Dedicatd_SERVER_IPADDRESS: /home /USERNAME /BACKUP /home /LOCAL_USER /
You can execute the following command to copy content to synchronize home folder with your dedicated server:
rsync -VA -e “ssh -p PORT” /home/LOCAL_USER/BACKUP YOUR_Dedicated_SERVER_IPADDRESS :/home/USERNAME/
e
You need to replace ‘YOUR_Dedicatd_SERVER_IPADDRESS’ with your server’s
IP address and use your
cPanel Username in place of ‘USERNAME’. While executing these processes, you need to add the trailing slashes to prevent loss of vital data.