Amanda-Users

Re: What will i do if a backup is not successfull?

2005-06-06 14:46:27
Subject: Re: What will i do if a backup is not successfull?
From: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
To: Amanda Users <amanda-users AT amanda DOT org>
Date: Mon, 6 Jun 2005 14:23:02 -0400
* Paul Bijnens <paul.bijnens AT xplanation DOT com> [20050603 20:36]:
> Ryan Pagquil wrote:
> >>2005/6/3, Jon LaBadie <jon AT jgcomp DOT com>:
> >>>man amdump shows:
> >>>
> >>> SYNOPSIS
> >>>    amdump config [ host [ disk ]* ]*
> >>>
> 
> >Hi guys,
> >      The scenario is this, one night one of the servers to be backed up 
> >hanged and it will not be dump by amanda, but all of the other servers 
> >are successfully dump. In the morning i want that server to be backed up 
> >so that all of my backups are synchronize, meaning no servers are left 
> >behind the backup schedule. Can I do this? and how can I deal with this 
> >kind of scenario?
> 
> Execute by hand:
> 
>       amdump Config the.fixed.server
> 
> You may insert a tape, if you like.  But setting "reserve" less than
> 100%, and a large enough holdingdisk, you may dump to holdingdisk only,
> and with the "autoflush" parameter in amanda, write it to tape, the
> next run together with the rest.

A funny coincidence: I've setup an offsite archival config
for amanda-2.4.4p3 (soon to be upgraded) and due to a silly
mistake of mine one DLE didn't make it to tape. Rather than
doing it over again I just labeled another tape and did

    su amanda -c "/opt/amanda/amanda6/sbin/amdump archival-conf6 bullcalf \
    /data/ipl/ipl10/broche/colindata"

The DLE from the disklist:

bullcalf /data/ipl/ipl10/broche/colindata /data/ipl/ipl10/broche/colindata {
    tar-archival
    exclude append "./ave/*"
    exclude append "./brainvisa/*"
    exclude append "./pd/*"
    exclude append "./t1/*"
    exclude append "./t2/*"
    exclude append "./vaisseaux/*"
}


Problem: that DLE has exclude list and it seems that all excluded
subdirs are making it to tape. Is this the normal/expected behaviour?

jf

> 
> -- 
> Paul Bijnens, Xplanation                            Tel  +32 16 397.511
> Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
> http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
> ***********************************************************************
> * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
> * quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
> * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
> * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
> * kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
> * ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
> ***********************************************************************

-- 
<° ><