Amanda, a networked server based backup system. Kris Boulez (krbou@pgsgent.be)



Similar documents
The Amanda Network Backup Manager

Setting-Up an Open-Source Backup Software Amanda Community in About 15 Minutes

When Bad Things Happen to Good Amanda Backup Servers

Amanda in 15 Minutes

Amanda The Open Source Backup & Archiving Software. Ian Turner ian@zmanda.com 11 April Copyright 2006 Zmanda, Inc. All rights reserved.

Planning for an Amanda Disaster Recovery System

Open source backup software Amanda

Linux System Administration

1 Context Manage users and group accounts and related system files [4]

Maintain an effective data backup strategy. Weight 3

Plesk 8.3 for Linux/Unix Acronis True Image Server Module Administrator's Guide

OpenAFS Backup Strategies

Advantages of Amanda over Proprietary Backup

Linux+ Guide to Linux Certification, Third Edition. Chapter 11 Compression, System Backup, and Software Installation

Protecting your SQL database with Hybrid Cloud Backup and Recovery. Session Code CL02

Blaze Vault Online Backup. Whitepaper Blaze Vault Online Backup Agent

CS615 - Aspects of System Administration

Rsync: The Best Backup System Ever

Swiss Safe Storage Online Backup Whitepaper Swiss Safe Storage Backup Agent

Using Depositit to Backup Microsoft Exchange Server

DFW Backup Software. Whitepaper DFW Backup Agent

CA arcserve Unified Data Protection Agent for Linux

Practical Backups with AMANDA. Nick Brockner, Hamilton College Dustin Mitchell, Zmanda, Inc. LISA 2009

Chapter 7A. Functions of Operating Systems. Types of Operating Systems. Operating System Basics

Zoner Online Backup. Whitepaper Zoner Backup Agent

MAC OS X. Revised 9/29/2015

Enterprise Data Backup and Recovery

Ahsay Backup Software. Whitepaper Ahsay Backup Agent

Parallels Plesk Panel

Tivoli Flashcopy Manager Update and Demonstration

ROUNDTABLE TSMS 11.5 Installation Guide

Preparing for the Installation

Bacula. The leading Opensource Backup Solution

Whitepaper FailSafeSolutions Backup Agent

USTM16 Linux System Administration

Tiburon Master Support Agreement Exhibit 6 Back Up Schedule & Procedures. General Notes on Backups

Database Backup, Restore, and Archive Guide For Journyx Timesheet version 5.0 and higher Document version 2.0 January 2006

HARFORD COMMUNITY COLLEGE 401 Thomas Run Road Bel Air, MD Course Outline CIS INTRODUCTION TO UNIX

Configuring Sun StorageTek SL500 tape library for Amanda Enterprise backup software

DataTrust Backup Software. Whitepaper DataTrust Backup Agent. Version 6.3

BACKUP YOUR SENSITIVE DATA WITH BACKUP- MANAGER

BackTrack Hard Drive Installation

Zmanda: Open Source Backup

Disaster Recovery on the Sun Cobalt RaQ 3 Server Appliance with Third-Party Software

CA /BrightStor ARCserve9 Backup Software

Linux System Administration. System Administration Tasks

Managing Data Protection

DNS must be up and running. Both the Collax server and the clients to be backed up must be able to resolve the FQDN of the Collax server correctly.

Keystone 600N5 SERVER and STAND-ALONE INSTALLATION INSTRUCTIONS

Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002)

Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems

Performing Database and File System Backups and Restores Using Oracle Secure Backup

4PSA Total Backup User's Guide. for Plesk and newer versions

Bacula The Network Backup Solution

Portable Media. BackupAssist Quick-Start Guide for. BackupAssist installation, configuration and setup. Contents.

Installing a Symantec Backup Exec Agent on a SnapScale Cluster X2 Node or SnapServer DX1 or DX2. Summary

Usage of the mass storage system. K. Rosbach PPS 19-Feb-2008

Security Correlation Server Backup and Recovery Guide

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led

Preface Part I. Introduction 1. The Philosophy of Backup Champagne Backup on a Beer Budget Why Should I Read This Book? Why Back Up?

EnterpriseBACKUP OpenVMS centric cross platform backup and media management

Online Backup Client User Manual

Linux Backups. Russell Adams Linux Backups p. 1

AKIPS Network Monitor User Manual (DRAFT) Version 15.x. AKIPS Pty Ltd

The Network Backup Solution

Backup architectures in the modern data center. Author: Edmond van As Competa IT b.v.

Image Refresh Using the Archive and Restore Feature

Implementing IBM Tape in Linux and Windows

SEP Disaster Recovery and Backup Restore: Best

Southern Maine Community College Computer Technology Professor Howard Burpee. Installing Windows 7

External Data Connector (EMC Networker)

4 Backing Up and Restoring System Software

Texas Skyward User Group Conference Skyward Server Management Options Jeffery Thompson

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 5 Manage Backup and Recovery

How To Recover From A Disaster On Linux (Amd64) On A Hard Disk Drive (Amd32) On An Uniden (Amd66) Or A Hard Drive (Oranium) On Your Computer (Orren) On The Same Computer (

Online Backup Client User Manual

Using iscsi with BackupAssist. User Guide

Obackup v1.84 RC2 Documentation

Ingres Backup and Recovery. Bruno Bompar Senior Manager Customer Support

MySQL Backup and Security. Best practices on how to run MySQL on Linux in a secure way Lenz Grimmer <lenz@mysql.com>

Creating a Cray System Management Workstation (SMW) Bootable Backup Drive

Linux System Administration on Red Hat

Red Hat System Administration 1(RH124) is Designed for IT Professionals who are new to Linux.

Linux Embedded devices with PicoDebian Martin Noha

Backup Exec 12.5 Agent for Microsoft Virtual Servers FAQ

IBM TSM DISASTER RECOVERY BEST PRACTICES WITH EMC DATA DOMAIN DEDUPLICATION STORAGE

Table of Content. Official website:

Moving the TRITON Reporting Databases

Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux

Data Backups and Disaster Recovery Planning

Backup Solutions for Domino on Linux

Implementing an Enterprise Class Database Backup and Recovery Plan

Private Server and Physical Server Backup and Restoration:

TABLE OF CONTENTS. Administration Guide - SAP for MAXDB idataagent. Page 1 of 89 OVERVIEW SYSTEM REQUIREMENTS - SAP FOR MAXDB IDATAAGENT

How? The choice of procedures of operations.

SEP Disaster Recovery and Backup Restore: Best Practices

How to Use the IBM Tivoli Storage Manager (TSM)

QUICK START LINUX AGENT INSTALLATION, CONFIGURATION AND TROUBLESHOOTING GUIDELINES

VERITAS NetBackup 6.0 for SAP

Click to begin. Maitre'D Full System Backup & Restore

Transcription:

Amanda, a networked server based backup system Kris Boulez (krbou@pgsgent.be)

Overview Introduction Setup & Config Normal operation Something goes wrong Future Competitors Questions 5 juli, 1999 Kris Boulez 1999 2

Introduction (1) You do have a Backup Policy, do you? You have it written down, do you? Your Boss/Management approved it, yes? Your Users know this policy? (accounting records need to be stored for multiple years (tax control) tape lifetime!!!) 5 juli, 1999 Kris Boulez 1999 3

Introduction (2) Client - server (nearly) all flavors of Unix / filesystems Windows NT 95 via smbclient Easy to use / very powerfull Works via unprivileged user (security!!) Protects against operator error Effective use of tape 5 juli, 1999 Kris Boulez 1999 4

Introduction (3) Based on dump/restore (ev. gnutar) Dumps via holding disk(s) Different types of tapes (DAT, DLT, exabyte, QIC,...) Tape changers supported Supports Kerberos (ssh in future) Actively developed Free 5 juli, 1999 Kris Boulez 1999 5

Introduction (4) Dump levels level 0: everything level 1: files that changed since last level 0 level 2: files that changed since last level 1 level n:........ n-1 Restore (tape jockey) Towers of Hanoi 5 juli, 1999 Kris Boulez 1999 6

Introduction (5) More info http://www.amanda.org/ amanda-users@amanda.org (via majordomo) (also -announce, -hackers) archives of mailing lists (http://www.egroups.com/list/amanda-users/) 5 juli, 1999 Kris Boulez 1999 7

Introduction (6) No information in the following section(s) is related in any way to the setup used at the site of my employer (PGS). 5 juli, 1999 Kris Boulez 1999 8

Setup & Config Current version is 2.4.1p1 (early June 1999) Next version to expect 2.4.2 Major enhancements 2.5.0 read docs/install (and the other docs) setup server client 5 juli, 1999 Kris Boulez 1999 9

Setup & Config (server)./configure --with-user=amanda --with-group=amanda --with-fqdn --with-smbclient=/path/to/smb/client --with-amandahosts --with-gnutar=/path/to/gnu/tar --without-amrecover... 5 juli, 1999 Kris Boulez 1999 10

Setup & Config (server) % make # make install 5 juli, 1999 Kris Boulez 1999 11

Setup & Config (server) /usr/local/etc/amanda/ota/amanda.conf (1) org "OTADaily mailto "backup-operator dumpuser "amanda inparallel 4 netusage 600 Kbps dumpcycle 4 weeks runspercycle 20 tapecycle 25 tapes 5 juli, 1999 Kris Boulez 1999 12

Setup & Config (server) /usr/local/etc/amanda/ota/amanda.conf (2) bumpsize 20 Mb bumpdays 1 bumpmult 4 etimeout 300 tapetype HP-DAT labelstr "^OTADaily[0-9][0-9]*$" 5 juli, 1999 Kris Boulez 1999 13

Setup & Config (server) /usr/local/etc/amanda/ota/amanda.conf (3) holdingdisk hd1 { comment "main holding disk directory "/dumps/amanda use -290 Mb chunksize -1 } reserve 30 # percent 5 juli, 1999 Kris Boulez 1999 14

Setup & Config (server) /usr/local/etc/amanda/ota/amanda.conf (4) infofile "/usr/adm/amanda/otadaily/curinfo logdir "/usr/adm/amanda/otadaily" indexdir "/usr/adm/amanda/otadaily/index" define tapetype HP-DAT { comment "DAT tape drives" length 1930 mbytes filemark 111 kbytes speed 468 kbytes lbl-templ /usr/local/etc/amanda/ota/hp-dat.ps } 5 juli, 1999 Kris Boulez 1999 15

Setup & Config (server) /usr/local/etc/amanda/ota/amanda.conf (5) define dumptype global { } define dumptype comp-user { global comment "Non-root partitions compress client fast priority medium } printer name_of_printer #includefile "/usr/local/amanda/conf.main" 5 juli, 1999 Kris Boulez 1999 16

Setup & Config (server) /usr/local/etc/amanda/ota/disklist orval sd0a comp-root orval sd0g comp-user orval sd1g comp-user duvel hda6 comp-root duvel hda3 comp-root duvel hda5 comp-user master sd1c holding-disk -1 local 5 juli, 1999 Kris Boulez 1999 17

Setup & Config (server) user amanda rw /etc/dumpdates rw /dev/holdingdisk rw /dev/tape? amanda in group bin!!! This user sees all your data!!! 5 juli, 1999 Kris Boulez 1999 18

Setup & Config (server) label your tapes (also physically) amlabel ota OTADaily01 02 5 juli, 1999 Kris Boulez 1999 19

Setup & Config (client)./configure --without-server --with-amandahosts make && make install ~amanda/.amandahosts user amanda rw /etc/dumpdates r /dev/rdsk/partitie 5 juli, 1999 Kris Boulez 1999 20

Setup & Config (client) Add disk(s) to disklist on server /etc/services amanda 10080/udp /etc/inetd.conf amanda dgram udp wait amanda /usr/local/libexec/amandad amandad 5 juli, 1999 Kris Boulez 1999 21

Normal operation amanda crontab 5 0 * * 2-6 /usr/local/bin/amdump ota amdump planner driver dumper taper amandad (on client) 5 juli, 1999 Kris Boulez 1999 22

Normal operation From amanda@master.ota.be Fri Jun 4 04:03:34 1999 Date: Fri, 4 Jun 1999 04:04:48 +0200 (MET DST) From: Amanda backup user <amanda@master.ota.be> To: backup-operator@ota.be Subject: OTADaily AMANDA MAIL REPORT FOR June 3, 1999 These dumps were to tape OTADaily01. Tonight's dumps should go onto 1 tape: OTADaily02. STATISTICS: Total Full Daily -------- -------- -------- Dump Time (hrs:min) 0:30 0:06 0:12 Output Size (meg) 4909.8 1558.4 3351.3 Original Size (meg) 9684.7 3072.1 6612.6 Avg Compressed Size (%) 50.7 50.7 50.7 Tape Used (%) 24.9 7.9 17.0 (level:#disks) Filesystems Dumped 7 3 4 (1:3 2:1) Avg Dump Rate (k/s) 106.8 257.4 84.0 Avg Tp Write Rate (k/s) 4663.7 4832.8 4589.0 5 juli, 1999 Kris Boulez 1999 23

Normal operation NOTES: planner: Full dump of duvel:hda5 promoted from 5 days ahead. DUMP SUMMARY: DUMPER STATS TAPER STATS HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -------------------------- -------------------------------------- -------------- orval sd0a 0 93983 31040 33.0 0:37 827.9 0:08 3778.4 orval sd0g 1 1599 96 6.0 0:13 7.1 0:02 53.2 orval sd1g 1 259973 92480 35.6 1:47 865.0 0:20 4734.8 duvel hda6 0 505205 132320 26.2 2:48 786.2 0:27 4849.1 duvel hda3 2 406943 148640 36.5 2:52 866.3 0:31 4852.2 duvel hda5 0 89535 25888 28.9 0:37 701.1 0:07 3788.8 master sd1c 1 7455 2016 27.0 0:28 72.3 0:03 800.0 (brought to you by Amanda version 2.4.1p1) 5 juli, 1999 Kris Boulez 1999 24

Usefull commands amadmin (force, find, ) amcheck (config, tape label, ) amlabel amrmtape amoverview amtoc amverify amplot (requires gnuplot) amdump amstatus amreport amflush amcleanup amrestore amrecover amcheckdb 5 juli, 1999 Kris Boulez 1999 25

Something goes wrong client cannot communicate with server check logs in /usr/local/amanda/otadaily if compiled with (--with-debugging) /tmp/amanda (client and server) 5 juli, 1999 Kris Boulez 1999 26

Something goes wrong Wrong tape in drive amcheck (crontab amanda) 0 16 * * 1-5 /usr/local/bin/amcheck -m ota does incremental to holding disk amflush (even multiple days) 5 juli, 1999 Kris Boulez 1999 27

Something goes wrong File(system) needs to be restored amadmin ota find orval sd0g amrestore ota -p orval sd0g restore -ivbf 2 - (ls, add, extract) (amrecover)!! different types of dump/restore!! try this before the need arises!! document this procedure 5 juli, 1999 Kris Boulez 1999 28

Future security-api (ssh) support for firewalls (--with-portrange=low, high) windows machines via smbwrapper dumper-api (new backup progs, pre/post commands DB s)... 5 juli, 1999 Kris Boulez 1999 29

Competitors home written dump - script Arkeia (Knox-Software) (Legato) Networker (RH 5.2 client) parrallel writes, no holding disk nice GUI / CLI exists ArcServe (Cheyenne, C.A.) (no Linux client) comes from windows world only GUI 5 juli, 1999 Kris Boulez 1999 30

Questions??? 5 juli, 1999 Kris Boulez 1999 31