1 / 20

Working With AMANDA

Working With AMANDA. John R. Jackson Purdue University Computing Center jrj@purdue.edu. 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.

jarvis
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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Working With AMANDA John R. Jackson Purdue University Computing Center jrj@purdue.edu

  2. 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

  3. Overview(continued) tape driver planner driver taper driver dumper client holdingdisk sendsize sendbackup

  4. Getting Help • Release notes and documentation • “The book chapter” • http://www.backupcentral.com/amanda.html • Home page/FAQ • www.amanda.org • Mailing lists • amanda-users@amanda.org • amanda-hackers@amanda.org

  5. 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

  6. 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

  7. What’s A Configuration? • Logical grouping of clients • Alternate set of options • Client/config rule

  8. 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>

  9. amanda.conf(general parameters) • org • mailto • dumpcycle • tapecycle/runspercycle/runtapes • tapedev (no rewind!!!) • tpchanger • labelstr • netusage

  10. amanda.conf(holdingdisk) • directory • chunksize • use

  11. amanda.conf(dumptype) • program • compress • none • client fast • client best • server fast • server best • dumpcycle • record • index

  12. amanda.conf(tapetype) • FAQ at www.amanda.org • cd tape-src ; make tapetype • length • filemark

  13. Tape Changers • AMANDA uses an external program • Test the external program first, then amtape • chg-manual • chg-multi • chg-scsi

  14. Label the Tapes • All AMANDA tapes must be pre-labeled • amlabel [-f] <config> <label> [slot <slot>] • Run as the AMANDA user

  15. Setting Up a Client • disklist • hostname (FQDN) • “disk” • dumptype • inetd.conf on the client (HUP) • amcheck –cl <config> • /tmp/amanda/*.debug

  16. Operation • amcheck • amdump • amstatus • amverify

  17. 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

  18. 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

  19. Future • Security framework • Strategy API • Filter API • Dumper API • Taper rewrite

More Related