Most Linux VPS use rsync to synchronize and back up the website to another VPS. There are many rsync tutorials on the Internet. I also took a look at it and still think it is too complicated and not easy for novices to get started. I did some research yesterday and found a simple way to automatically back up a remote server and establish a mirror site. The method used is based on a previous article on simple website migration using vps. Simply use a script to automatically back up the website every day.
3. To edit the content, press the letter "i" first. When "–INSERT–" appears in the lower left corner, copy the following content.
wget -nH --cut-dirs=1 -m --ftp-user=o51k --ftp-password=o51k ftp://o51k.com/o51k.com Note: cd /home/admin/o51k.com is the directory of the slave server 2.2.2.2. The first o51k in the third line is the ftp user of the primary server 1.1.1.1. The second o51k is the ftp password of the primary server 1.1.1.1. ftp://1.1.1.1/o51k.com Here o51k.com is the directory of the website to be backed up.
6. Use the system crontab to run automatically every day: the command is as follows
7. To edit the content, press the letter "i" first. When "–INSERT–" appears in the lower left corner, copy the following content.
After copying and pasting the above content, press "Esc", then press ":" colon, and then enter "wq". Press Enter to complete. That is, automatically back up the website to establish a mirror site from the server at 3:30 every day. |
>>: knProxy — Free PHP proxy program
AlphaRacks has been introduced many times. I own ...
WholesaleInternet is an Internet service company ...
cloud4box, a Russian hosting provider, seems to h...
BudgetVM.host, owned by KTS24, currently provides...
SSDBlaze, an American hosting company, has been i...
HiFormance, an American hosting company located i...
Kimsufi, KS3 France special price exclusive serve...
HaloCloud is a business established in the second...
Evorack is a British hosting company under ABPNI ...
Details: HostMyBytes: $5/year/128MB RAM/10GB stor...
First reference : Brook/iptables port forwarding ...
Incero, a long-established hosting provider, has ...
Vultr details: Vultr: $2.5/month/512MB memory/20G...
WINNERvps, an Indonesian merchant, was first intr...
Blesta, like whmcs, is a relatively well-known ho...