Generally, you can manually back up the websites in the VPS. Generally, the old man prefers to back up a website once a week. This frequency should be quite good. The "automatic and timed backup of database/website Files" method shared yesterday is more suitable for data, it cannot be maintained in front of the computer for a long time.
For example, some friends often go on a business trip. When they come back, they open the website and find that the data is gone. Such friends still need to back up automatically. You can use the manual backup method shared by the Left to back up your website. Because we recommend that you do not use a panel when using VPS, you can only perform backup operations in SSH.
First, for database backup, if your database is relatively small, you can directly log on to our phpmyadmin and export it. If the database is large, you can use the backup function provided by the program to the directory or use the popular empire backup king to back up the database together to the website file directory.
Second, you can use tar or zip to compress website files. Previously, I have introduced how to use zip compression commands and tar.
Finally, after the archive is backed up, we can download it through FTP. If we are afraid of downloading problems, we can remotely transmit the data to another FTP space using FTP commands. For more information about the use and practice of FTP commands, I would like to introduce it in a later article. I think this method is also good. You can back up data without downloading it to a local device.