Red Flag Linux case selection: Amanda centralized backup instance details

Source: Internet
Author: User

Amanda (Advanced Maryland Automatic Network Disk archive Advanced Maryland Automatic IC Network Disk Archiver
I have heard of network backup software since I first came into contact with Linux, but I have never used it. When I need to back up data, I write a simple script and use cron for scheduled tasks, it can also basically meet the needs. Although I used to think about using Amanda, I can only give up if there is no suitable environment.

The current situation is different. Four or five servers need to be backed up and designed for different platforms. The backup features should meet or at least move closer to enterprise-level standards. Therefore, I have looked at Amanda's documents over the past few days and conducted some tests. The configuration is successful in my environment. I will record it and share it with you.

This project will be divided into two documents. This article describes file backup and the next article describes the backup methods for MySQL databases.

The configuration process is as follows:

  1. Install and configure the Amanda backup server
  2. Install the Amanda Client
  3. Configure server and client Parameters
  4. Check Configuration
  5. Verify backup
  6. Test recovery

The following list shows the network and machine configurations of the test environment.

Machine name

File to be backed up

OS

Compression or not

Description

Cp1.domain.com

-

Ubuntu 8.10

Yes

Amanda Server

Cp2.domain.com

/Web/websites

Asianux 3.0

Yes

Client, running a large number of websites

Cp3.domain.com

/Opt/www

CentOS 1, 5.3

Yes

IDC servers, a large number of customer sites

1. install and configure the Amanda Service

First from the official site now corresponding to the latest OS Amanda version, I wrote this post, for Ubuntu 8.10 Latest Version 2.6.1p1, you can find the appropriate version from the http://www.zmanda.com/download-amanda.php, including the server and client.

The following operations are performed on the cp1 machine. If not specified, the account used is root.

Because the ubuntu repository comes with a relatively low version and is somewhat different from the official version in terms of configuration, we recommend that you uninstall the built-in version and then install the downloaded version.

The startup of the Amanda service depends on the xinetd super service. Edit or create the/etc/xinetd. d/amandaserver file. The content should look like the following:

# default: on## description: Amanda services for Amanda server and client.# service amanda{        disable         = no#        flags           = IPv6        socket_type     = stream        protocol        = tcp        wait            = no        user            = amandabackup        group           = disk        groups          = yes        server          = /usr/libexec/amanda/amandad        server_args     = -auth=bsdtcp amdump amindexd amidxtaped}

Restart the xinetd service
Root @ cp1 :~ #/Etc/init. d/xinetd reload
* Reloading internet superserver configuration xinetd [OK]
Root @ cp1 :~ #

  • 1
  • 2
  • 3
  • 4
  • 5
  • Next Page
[Content navigation]
Page 2: install and configure the Amanda Service Page 2nd: Install the client
Page 1: Configure backup Parameters Page 1: Test
Page 1: Recovery

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.