Working with amanda
This presentation is the property of its rightful owner.
Sponsored Links
1 / 20

Working With AMANDA PowerPoint PPT Presentation


  • 49 Views
  • Uploaded on
  • Presentation posted in: General

Working With AMANDA. John R. Jackson Purdue University Computing Center [email protected] Overview. Not a backup program itself Manages other standard backup programs System dump GNU tar smbtar Optimized schedule Dump cycle Tape cycle Estimated image sizes. Overview (continued). tape.

Download Presentation

Working With AMANDA

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Working with amanda

Working With AMANDA

John R. Jackson

Purdue University Computing Center

[email protected]


Overview

Overview

  • Not a backup program itself

  • Manages other standard backup programs

    • System dump

    • GNU tar

    • smbtar

  • Optimized schedule

    • Dump cycle

    • Tape cycle

    • Estimated image sizes


Overview continued

Overview(continued)

tape

driver

planner

driver

taper

driver

dumper

client

holdingdisk

sendsize

sendbackup


Getting help

Getting Help

  • Release notes and documentation

  • “The book chapter”

    • http://www.backupcentral.com/amanda.html

  • Home page/FAQ

    • www.amanda.org

  • Mailing lists

    • [email protected]

    • [email protected]


Before you begin

Before You Begin

  • Optional software

    • GNU tar, readline, awk

    • SAMBA

    • Perl

    • gnuplot

  • Amanda user/group

  • Access through a firewall

  • Installation location

  • Tape server capacity

    • I/O and network

    • CPU

    • Holding disk


Installation

Installation

  • Don’t use pre-built binaries (e.g. RPM)

  • ftp.amanda.org

  • cvs.amanda.sourceforge.net

  • Standard GNU build sequence:

    • make distclean

    • ## apply patches

    • ./configure …

    • make

    • make install ## as root

  • patch-system


What s a configuration

What’s A Configuration?

  • Logical grouping of clients

  • Alternate set of options

  • Client/config rule


Typical directory structure

Typical Directory Structure

  • --with-configdir ($prefix/etc/amanda)

  • Owned by the AMANDA user/group

  • amanda.conf

    • logfile

    • infofile

    • indexdir

  • disklist

  • tapelist

  • Changer config file(s)

  • amdump.<nn>


Amanda conf general parameters

amanda.conf(general parameters)

  • org

  • mailto

  • dumpcycle

  • tapecycle/runspercycle/runtapes

  • tapedev (no rewind!!!)

  • tpchanger

  • labelstr

  • netusage


Amanda conf holdingdisk

amanda.conf(holdingdisk)

  • directory

  • chunksize

  • use


Amanda conf dumptype

amanda.conf(dumptype)

  • program

  • compress

    • none

    • client fast

    • client best

    • server fast

    • server best

  • dumpcycle

  • record

  • index


Amanda conf tapetype

amanda.conf(tapetype)

  • FAQ at www.amanda.org

  • cd tape-src ; make tapetype

  • length

  • filemark


Tape changers

Tape Changers

  • AMANDA uses an external program

  • Test the external program first, then amtape

  • chg-manual

  • chg-multi

  • chg-scsi


Label the tapes

Label the Tapes

  • All AMANDA tapes must be pre-labeled

  • amlabel [-f] <config> <label> [slot <slot>]

  • Run as the AMANDA user


Setting up a client

Setting Up a Client

  • disklist

    • hostname (FQDN)

    • “disk”

    • dumptype

  • inetd.conf on the client (HUP)

  • amcheck –cl <config>

  • /tmp/amanda/*.debug


Operation

Operation

  • amcheck

  • amdump

  • amstatus

  • amverify


Restoring

Restoring

  • amrestore

    • Retrieve images from tape or holding disk

    • Tape “catalogue”

  • amrecover

    • Command line (ftp-like) interface to index files

  • Emergency

    dd if=$TAPE bs=32k count=1

    dd if=$TAPE bs=32k skip=1 [ | gunzip ] | restore


Maintenance

Maintenance

  • Read the E-mail report from each run

  • Failures vs. “strange” results

  • Timeouts

  • amcleanup

  • amflush

  • amadmin

  • Adding/removing clients and disks

  • Adding/removing tapes


Future

Future

  • Security framework

  • Strategy API

  • Filter API

  • Dumper API

  • Taper rewrite


  • Login