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