Full introduction to Linux tape drive backup

Source: Internet
Author: User
Article Title: full introduction to Linux tape drive backup. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source. 1. Determine the data backup policy

First, you must determine which files are operated during the backup process. In the business environment, this is a very difficult decision and will have a serious impact. If too much data is backed up, the cost of the backup system will be too large and other expenses will be reduced. If you do not back up enough data, important data may be lost.

It is very easy to back up the entire system (Make sure you do not back up some directories mounted to NFS and special file systems such as/proc/), but there is usually too much backup content. If data on the entire system disk is lost, you may have to reinstall the basic operating system Before restoring any data. It is not meaningless to save these system files on the backup tape. Therefore, to reduce the cost of the backup system (including hardware, network, system load, and backup time), only important files should be backed up.

Shared program: public programs that can be used in multiple systems. The/usr/local or/opt directories are often shared among multiple systems. These directories contain other operating systems that are not provided with the operating system.

User Data: The Home Directory of the user that contains all user data and private files.

Application Data: in a distributed computing environment, application data is usually shared among multiple systems. For example, a Web server cluster usually needs to share the same content.

System Information: The system information includes account information (user, group, and password), email alias, and host list. Only when you know where your data is stored, you should at least think about it before creating your own backup system. Although it is impossible for me to list every copy of data to be backed up, it provides some guidance, including:

Important System Data: Do not forget important system data, such as files in the/etc/directory and sometimes files in the/var/directory. If these files are automatically generated, you may only need to back up these files on the master system.

Software added later: includes any software installed in the system that is not provided by the original operating system. You may have installed the software in the/opt/or/usr/local/directory to simplify the backup process of the software. Alternatively, you may install all these programs on a centralized file server, which simplifies the backup process. If some software packages are installed in the system, make sure to save these installed packages and include them during the backup process.

Application configuration files and data: consider which services are running on each system. If a system is running the DNS service, make sure that the zone file is included during the backup. If the system is running a Web service, you need to back up the Web content, and sometimes even the access logs (these logs may be important or not important ).

Development Resources: If the CVS repository, bug database, knowledge base, and other development tools for storing important data are available, ensure that these files are included in the backup.

Management tools: do not forget to include all System Automation scripts and tools in the backup process.

Database: if some data is stored in one or more databases, it is clear that the data must be included in the backup process, but in addition, ensure that the data is properly backed up. In many cases, in order to correctly back up the database content, you may need to close the database or dump the data. Although some database software can export and back up data in the appropriate format, some backup software can back up the database when the database is running.

User Data: Finally, users in the system are very grateful that you include their private files during Backup. If there is a large file server, this machine is suitable for performing backup and copying data from other systems as needed.

Another question to consider is the level of time required by the backup process. If you use a tape backup system with only one tape, you have to replace the data on the tape every day. It would be unfortunate for someone to realize that they accidentally deleted a file a few days later. Of course, if all the data can be stored on a tape, the solution is simple-just purchase

Multiple tapes. However, if there is a large amount of data, the situation is much more complicated.

[1] [2] [3] [4] [5] Next page

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.