Considerations when backing up data on a Linux server

Source: Internet
Author: User
Factors that need to be considered when backing up data on a Linux server if you perform a general backup, the daily basis is better (at least for user files with more frequent changes ), you will reduce the loss of archives and increase the recovery level. The safest backup method is to record them in different media, such as... information &
Factors that need to be considered when backing up data on a Linux server if you perform a general backup, the daily basis is better (at least for user files with more frequent changes ), you will reduce the loss of archives and increase the recovery level. The safest backup method is to record them in different media, such as tape, removable hard drive, writable cd. General backup at www.2cto.com should be the highest priority for responsible system managers. Although Linux is a highly reliable operating system, system failure may still occur. It may be caused by hardware failure, power interruption, or other unexpected problems. More often, these problems come from human errors, improper changes, and even the deletion of important files. If you are responsible for managing users in the system, you may often be asked to recreate files accidentally deleted. If you perform a general backup, the daily basis is good (at least for more frequently-active user files), you will help reduce the loss of files and increase the degree of recovery. The safest backup method is to record them in different media, such as tape, removable hard drive, writable cd. Then, separate your backup and your Linux system. Sometimes this may not be practical-maybe there is no fire room where you can store the backup tape! Or there is no way to access such an external backup system at the top priority. Even so, the backup can still be performed, but it will be limited. There are several different methods for Linux backup by the server backup program, including the command column tools available in all Linux releases, such as "dd", "dump ", "cpio" and "tar ". Other text tools, such as "Amanda" and "Taper", are designed to add more friendly user interfaces during backup and back-to-Storage. Of course, there are also graphical interface tools, such as "KDat ". Finally, there are commercial backup tools such as "BRU" and "PerfectBackup + ". Any of these backup plans is sufficient to provide protection for your valuable data. Here are a list of tools available, which can be found in "LinuxApplicationsandUtilitiesPage". when the backup method is determined, you may have to consider the following factors: http://service.ap-southeast-1.maxcompute.aliyun-inc.com/api. is it important for you to back up a Linux release or Unix backup application to another one, for example, from Solaris to RedHatLinux? If yes, you may want to select a command column tool (that is. "dd", "dump", "cpio", or "tar"), because you can fairly determine that the tool can be found on another * nix system. Unattended or automatic backup-the ability to perform regular and automatic backup without human intervention is important to you? If yes, you may need tools that support this solution and backup media. User friendliness-is it important for users to be friendly? If yes, you may want to select a tool for text or graphic interfaces. Commercial applications provide the simplest interface and technical support. Remote Backup-is it important for you to back up and store data from a remote machine? If yes, you may want to select a tool in command column or text mode instead of a graphical interface (unless you have fast network connections and the ability to execute remote Xsessions ). Network Backup-is it important for you to back up and store data from a network host? If yes, you may need command column tools (such as tar) that support access to backup devices from the network, dedicated tool programs such as Amanda, or some commercial tool programs. Media type-backup can be stored in many different media, such as tape, external hard drive, ZIP disk, or read/write CD. Consider the price and reliability, storage capacity, and transmission speed. Warning do not include the "/proc" pseudo file system when backing up your system! The file in/proc is not a real file, but only a description that looks like a file and points to the link of the core data structure. Back Up "/proc/kcore". In fact, this is a disguised file that contains all the information in the memory, which will waste a lot of tape! You may also need to avoid backing up the/mnt file system unless you have special requirements for backing up from a CD-ROM, a drive, a shared file online, or other installation device. Obviously, the backup and back-to-Storage process varies depending on the backup method you selected. However, in this section, I will discuss the two most commonly used tool backup methods: "tar" (whose name is derived from "TapeARchiver "), this is a command-column tool with high portability in * nix systems; and "KDat", a tape backup tool from the KDE suite's graphical interface. Finally, you can use the cron function to perform automatic backup even if the tool is not built on an automatic backup schedule based on the backup method you selected. For details about using Cron and Crontab files for automatic jobs, and how to create a crontab table file.
 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.