How to back up Linux OS? Backup method of Linux OS

云罗郡主
Release: 2019-01-16 16:06:43
Original
3128 people have browsed it

Linux OS has two backup methods, namely system image backup and data backup. Let’s explain the two backup methods below. [Recommended reading: What is a Linux distribution

Linux OS怎么备份?Linux OS的备份方法

##1: System image backup

1. The purpose of system backup

System backup is to back up the entire server environment on the PC, such as system files, startup files, and program files. When a server fails, system backup is necessary for timely recovery.

2. System backup method

There are two types of online backup. The first offline backup is a backup performed when the server is stopped. When the server is stopped, due to the The backup of the data can be done easily and reliably without causing data corruption, however, since the server is stopped, the user cannot use the server during the backup.

Another online backup is a backup that is performed when the server starts. As opposed to offline backup, the advantage of online backup is that users can also use the server during the backup, and on the other hand, since the server is not yet available The backup is performed in a stopped state, and some data may not be backed up at any time, that is, the data cannot be backed up due to damage.

To perform a system backup, use the command "dump".

2: Data backup method

There are three methods for data backup, full backup, differential backup, and incremental backup.

1. A full backup is to back up all data every time. Because the method is very simple, it is easy to perform. Even when restoring, the data obtained from the latest full backup can be easily used. On the other hand, the disadvantage is that the amount of data to be backed up is large and the backup takes time.

2. Differential backup

After completing the first full backup, only the files that have been changed from the full backup are backed up. The advantage of this method is that it reduces the data to be backed up compared to the full backup. volume and shorten backup time.

3. Incremental backup

Incremental backup is the same as differential backup before the first full backup. On top of that, a differential backup always backs up the difference from a full backup, while an incremental backup only backs up files that have changed since the last backup.

The above is an introduction to how to back up Linux OS? The backup method of Linux OS. If you want to know more about Linux, please pay attention to the php Chinese website.


The above is the detailed content of How to back up Linux OS? Backup method of Linux OS. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!