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

2005-06-06 Thread Jean-Francois Malouin
* Alexander Jolk <[EMAIL PROTECTED]> [20050606 16:17]:
> Jean-Francois Malouin wrote:
> 
> >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?
> 
> Someone correct me if I'm wrong, but I believe the DLE 
> /data/ipl/ipl10/broche/colindata is interpreted as matching expression 
> just like `amadmin find' does it.  Which means that every DLE on host 
> bullcalf starting with this string would get dumped, as individual DLEs 
> of course.  Is that what you observe?  In that case, simply adding a 
> dollar sign `$' to the end of the DLE will stop it from matching at the 
> beginning.

yes, this is what I observed. Your comment about matching expression
makes much sense. I should have thought about that first.
I will test it next a similar situation occurs.

Thank you for your input,
jf

PS. I'm sorry to have hijacked that thread. 

> 
> Alex
> 
> -- 
> Alexander Jolk  * BUF Compagnie * [EMAIL PROTECTED]
> Tel +33-1 42 68 18 28  *  Fax +33-1 42 68 18 29



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

2005-06-06 Thread Jean-Francois Malouin
* Paul Bijnens <[EMAIL PROTECTED]> [20050603 20:36]:
> Ryan Pagquil wrote:
> >>2005/6/3, Jon LaBadie <[EMAIL PROTECTED]>:
> >>>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, XplanationTel  +32 16 397.511
> Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
> http://www.xplanation.com/  email:  [EMAIL PROTECTED]
> ***
> * 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  *
> ***

-- 
<° ><


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

2005-06-03 Thread Jon LaBadie

Opps, Forgot something:


On Sat, Jun 04, 2005 at 02:06:37AM -0400, Jon LaBadie wrote:
> 
> 2. Run an extra amdump as soon as you have the server online
>and send it to tape.  For this you should have a tape in
> 
> 3. Run an extra amdump like above but without a tape in the
>drive.  This will cause the dump to collect on the holding

For #2 and #3 you would run amdump with arguments specifying
which clients or clients/DLEs to dump.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


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

2005-06-03 Thread Jon LaBadie
On Sat, Jun 04, 2005 at 10:36:47AM +0800, Ryan Pagquil wrote:
> Paul Bijnens wrote:
> 
> >Ryan Pagquil wrote:
> >
> >>>2005/6/3, Jon LaBadie <[EMAIL PROTECTED]>:
> >>>
> 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.
> 
> Hi Paul,
>   I may use a new  tape or one tape on rotation (eg. the next tape 
> on rotation) right? Once i've done this, will amanda also recognize what 
> tape i put the dumps from that single server? But when i use the 
> holdingdisk to store the dumps (in your suggestion), the dump(for that 
> failed server)  will be flushed on to tape on the next run of amanda 
> including the regular dump for that server scheduled for that run?

I think a difficulty is that there are several possibilities.

1. Don't do anything but run your normal amdump schedule.
   Amanda knows the status of the failed server and will bring
   it up to date the next amdump run.

2. Run an extra amdump as soon as you have the server online
   and send it to tape.  For this you should have a tape in
   the drive while amdump is started.  It can be the next
   tape from your normal rotation or an extra "new" tape.
   The next time around in the tape rotation, the new tape
   will be expected in the same order.  But if you like, you
   could mark it for noreuse so that does not happen.

3. Run an extra amdump like above but without a tape in the
   drive.  This will cause the dump to collect on the holding
   disk for later taping.  The later taping can be done with
   amflush, or if configured appropriately it will happen
   along with the next amdump.  For this to work well you need
   a holding disk large enough to hold the extra dump plus the
   normal load of the later amdump; the reserve parameter must
   be set to allow the holding disk to be used for level 0's
   if needed (say 10 - 50%); and the autoflush parameter must
   be set to yes.

If you are backing up many clients you may find it a ?common?
occurence that one or more clients, or some DLEs are not
available at the time amdump runs.  For extremely critical
data you may want to do the extra amflush.  If so, make sure
it will have completed by the time your regular amdump does
run.  Alternatively consider waiting for the next regular
amdump.  The missed DLEs won't upset amanda.  It will adjust
and do the "right" thing the next run.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


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

2005-06-03 Thread Ryan Pagquil

Paul Bijnens wrote:


Ryan Pagquil wrote:


2005/6/3, Jon LaBadie <[EMAIL PROTECTED]>:


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.


Hi Paul,
  I may use a new  tape or one tape on rotation (eg. the next tape 
on rotation) right? Once i've done this, will amanda also recognize what 
tape i put the dumps from that single server? But when i use the 
holdingdisk to store the dumps (in your suggestion), the dump(for that 
failed server)  will be flushed on to tape on the next run of amanda 
including the regular dump for that server scheduled for that run?


Thanks,

--
Ryan Pagquil
Infodyne Inc. - PhilOnline.com
3603 Antel Global Corporate Center
Doña Julia Vargas Ave.
Ortigas Center Pasig City
Tel: 687-0715
Web: www.philonline.com



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

2005-06-03 Thread Paul Bijnens

Ryan Pagquil wrote:

2005/6/3, Jon LaBadie <[EMAIL PROTECTED]>:

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.

--
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* 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  *
***


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

2005-06-03 Thread Ryan Pagquil

Guy Dallaire wrote:


2005/6/3, Jon LaBadie <[EMAIL PROTECTED]>:
 


On Fri, Jun 03, 2005 at 03:53:28PM +0800, Ryan Pagquil wrote:
   


Hi guys,
 I'm running amanda right now without any problem. Thanks for your
help.

 I got a question regarding dump failure. I'm thinking of what
will i do if one of the hosts or host's directories failed to dump. Is
there any way to dump that single host or host directory only? Or there
is another way to deal with this kind of problem.
 


man amdump shows:

 SYNOPSIS
amdump config [ host [ disk ]* ]*

So it looks like you can.

   



I think Ryan wanted the "big picture", not a reference to a man page. 
I'm new to amanda, and the problem I see with the documentation is

that there is no real overview as to how to effectively use amanda to
backup and restore files.

Ryan probably wanted to know if amanda would automatically pick up the
host and/or disk on it's next run (I presume it will, provided the
problem with that host is fixed)

It would be very useful to have a documentation that explains that
sort of things. I know there is the FAQ-O-MATIC, but most of the
amanda doc seems to presume the user is already familliar with the
product. I cannot find any good doc for the amanda beginner.
 


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?


Thanks a lot,

--
Ryan Pagquil
Infodyne Inc. - PhilOnline.com
3603 Antel Global Corporate Center
Doña Julia Vargas Ave.
Ortigas Center Pasig City
Tel: 687-0715
Web: www.philonline.com



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

2005-06-03 Thread Frank Smith
--On Friday, June 03, 2005 09:56:07 -0400 Guy Dallaire <[EMAIL PROTECTED]> 
wrote:

> 2005/6/3, Jon LaBadie <[EMAIL PROTECTED]>:
>> On Fri, Jun 03, 2005 at 03:53:28PM +0800, Ryan Pagquil wrote:
>> > Hi guys,
>> >   I'm running amanda right now without any problem. Thanks for your
>> > help.
>> > 
>> >   I got a question regarding dump failure. I'm thinking of what
>> > will i do if one of the hosts or host's directories failed to dump. Is
>> > there any way to dump that single host or host directory only? Or there
>> > is another way to deal with this kind of problem.
>> 
>> man amdump shows:
>> 
>>   SYNOPSIS
>>  amdump config [ host [ disk ]* ]*
>> 
>> So it looks like you can.
>> 
> 
> I think Ryan wanted the "big picture", not a reference to a man page. 
> I'm new to amanda, and the problem I see with the documentation is
> that there is no real overview as to how to effectively use amanda to
> backup and restore files.
> 
> Ryan probably wanted to know if amanda would automatically pick up the
> host and/or disk on it's next run (I presume it will, provided the
> problem with that host is fixed)

Yes, it will get it on the next run if it can.

> It would be very useful to have a documentation that explains that
> sort of things. I know there is the FAQ-O-MATIC, but most of the
> amanda doc seems to presume the user is already familliar with the
> product. I cannot find any good doc for the amanda beginner.

Have you read the chapter about Amanda in "UNIX Backup & Recovery"?
It gives a pretty good overview, and is available on the Internet.  The
link is on the amanda.org web page.

Frank



-- 
Frank Smith  [EMAIL PROTECTED]
Sr. Systems Administrator   Voice: 512-374-4673
Hoover's Online   Fax: 512-374-4501



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

2005-06-03 Thread Guy Dallaire
2005/6/3, Jon LaBadie <[EMAIL PROTECTED]>:
> On Fri, Jun 03, 2005 at 03:53:28PM +0800, Ryan Pagquil wrote:
> > Hi guys,
> >   I'm running amanda right now without any problem. Thanks for your
> > help.
> >
> >   I got a question regarding dump failure. I'm thinking of what
> > will i do if one of the hosts or host's directories failed to dump. Is
> > there any way to dump that single host or host directory only? Or there
> > is another way to deal with this kind of problem.
> 
> man amdump shows:
> 
>   SYNOPSIS
>  amdump config [ host [ disk ]* ]*
> 
> So it looks like you can.
> 

I think Ryan wanted the "big picture", not a reference to a man page. 
I'm new to amanda, and the problem I see with the documentation is
that there is no real overview as to how to effectively use amanda to
backup and restore files.

Ryan probably wanted to know if amanda would automatically pick up the
host and/or disk on it's next run (I presume it will, provided the
problem with that host is fixed)

It would be very useful to have a documentation that explains that
sort of things. I know there is the FAQ-O-MATIC, but most of the
amanda doc seems to presume the user is already familliar with the
product. I cannot find any good doc for the amanda beginner.



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

2005-06-03 Thread Jon LaBadie
On Fri, Jun 03, 2005 at 03:53:28PM +0800, Ryan Pagquil wrote:
> Hi guys,
>   I'm running amanda right now without any problem. Thanks for your 
> help.
> 
>   I got a question regarding dump failure. I'm thinking of what 
> will i do if one of the hosts or host's directories failed to dump. Is 
> there any way to dump that single host or host directory only? Or there 
> is another way to deal with this kind of problem.

man amdump shows:

  SYNOPSIS
 amdump config [ host [ disk ]* ]*

So it looks like you can.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)