Red Flag Linux case selection: Amanda centralized backup instance (2)

Source: Internet
Author: User
Article Title: Linux Case Study: Amanda centralized backup instance (2 ). 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.

Iii. Configure backup Parameters

Use the amandabackup account to log on to the cp1 machine and create the Amanda configuration directory.

Root @ cp etc: # su-amandabackup

-Bash-3.00 $ mkdir/etc/amanda/FileBackup

Copy the/var/lib/amanda/example/amanda. conf file to the/etc/amanda/FileBackup/directory. This amanda. conf file is the most important configuration file of the Amanda service.

-Su-3.2 $ cp/var/lib/amanda/example/amanda. conf/etc/amanda/FileBackup/

The current configuration file contains more than 700 lines, but most of them are comments, which give a more detailed explanation of the configuration parameters for each line. Below I will list some configuration parameters that need to be modified, not mentioned, you don't need to worry about him.

Open the amanda. conf file and edit the following content:



Here we use a virtual tape. Next we need to define the size of the virtual tape, edit the file, and add the following lines:

Define tapetype HARDDISK {

Comment "hard disk as virtual tape"

Length 20480 mbytes

}

Next, we need to define the Authentication Mode and find the "define dumptype global" section. Before "}", add the auth "bsdtcp" line.

Switch to the root account to create a backup cache directory.

Root @ cp1 :~ # Mkdir-p/dumps/amanda

Root @ cp1 :~ # Chown amandabackup: disk/dumps/amanda

Root @ cp1 :~ # Chmod 750/dumps/amanda

Next, we need to create a virtual tape directory. In the amanda. conf file, the default number of disk slots is 25 by default.

 

[1] [2] [3] [4] 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.