Veritas-bu

[Veritas-bu] Starting an Archive backup from a policy [NC]

2007-05-16 12:41:58
Subject: [Veritas-bu] Starting an Archive backup from a policy [NC]
From: misha.pavlov at sgcib.com (misha.pavlov AT sgcib DOT com)
Date: Wed, 16 May 2007 12:41:58 -0400
Maybe I am missing something, but I do not see the reason to use User 
Archive in this case ( files copy to central archive succeded or failed ). 

User Backups are always level 0 anyway and the jobs are logged in / 
tracked in Admin Console GUI as well, so they can be even restarted in 
case any problems with tape drives or such.

If the script to copy the files is running on the same server, where the 
files to be archived are, then I'd say the best way would be to have the 
same script to initiate the "User Backup" ( 
${NBUHOME}/netbackup/bin/bpbackup ).

, so ... 
1. copy files
2. backup up
3. clean up / delete
4. send customized mail notification / alarms

Seems pretty straight forward to me.

I do User Backups to backup databases dumps for Autosys initiated jobs as 
well as for SAs to do an offsite backup of the server we are about to 
decommission.
I wrote a quick shell wrapper to manage master server, log files location, 
files / dirs selection and it works like a charm.

--
Misha Pavlov
This message uses only 100% recycled electrons.



"Schneider, Matthew J." <Matthew.Schneider at mybrighthouse.com> 
Sent by: veritas-bu-bounces at mailman.eng.auburn.edu
05/16/2007 11:46 AM


To
"'David Rock'" <dave-bu at graniteweb.com>, 
"veritas-bu at mailman.eng.auburn.edu" <veritas-bu at mailman.eng.auburn.edu>
cc

Subject
Re: [Veritas-bu] Starting an Archive backup from a policy






This is just one folder I'm talking about here.  This folder simply has 
files that are recordings of every single phone call and cust service 
rep's computer screen while that phone call was happening.  Were talking 
about 100gigs per day and these people want to be able to go back a year!

So what we are doing is setting up a script to copy certain files (the 
ones that are over 24 hours old) and move them into this folder which will 
then be archived by netbackup.  Problem we have is if the folder is NOT 
archived (i.e. the script fails or doesn't run for whatever reason and we 
are not notified about it) and we don't catch it right away that drive 
will fill up quickly.  This is really my only option as no one wants to 
throw any more money into this project.  Luckily I have a ton of tapes.

My main question was that I wasn't sure if there was an alternative to 
USER Archive Backups.  It seems like a logical option to be able to have 
server directed archived backups in NB, I just figured I couldn't find 
where to do it.
Our big concern is that if the scheduled task doesn't run (which has 
happened and a server went without backups for 2 months) we would never 
know about it unless everyday we checked for a successful backup of the 
client initiated backups.

-----Original Message-----
From: veritas-bu-bounces at mailman.eng.auburn.edu 
[mailto:veritas-bu-bounces at mailman.eng.auburn.edu] On Behalf Of David Rock
Sent: Wednesday, May 16, 2007 10:49 AM
To: veritas-bu at mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Starting an Archive backup from a policy

* Schneider, Matthew J. <Matthew.Schneider at mybrighthouse.com> [2007-05-16 
09:19]:
> Hello,
>
> I'm trying to setup a policy to start an Archived backup from the
> media server instead of from the client.  In other words I would
> rather not use a script to start an archived backup from the client in
> the case the scheduled task or script fails, I would not find out
> about in the Activity Monitor.

no, no, NO.  User Archive backups can be run only from the client system
for a reason.  You want the USER to be the one to shoot themselves in
the foot, not you.  User Archives are bad news, ESPECIALLY scripted
ones.  All it takes is one filelist entry to be wrong and your whole
client system is GONE (backed up, but gone regardless).

So, unless you are the admin of that client system, do not go near it.
A better option is to understand what you are trying to accomplish and
see if there is a better (safer) way to do it.  Archive jobs are not
really intended to be used as a space-saving technique, they should be
used to Archive data (Take static data that is logically related and
store it off the system).  That is not the same thing.

Having said all that, of course there are ways to do it (bpstart_notify
on the client for one) but you should really re-evaluate your needs.

--
David Rock
david at graniteweb.com
_______________________________________________
Veritas-bu maillist  -  Veritas-bu at mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

CONFIDENTIALITY NOTICE: This e-mail may contain information that is 
privileged, confidential or otherwise protected from disclosure. If you 
are not the intended recipient of this e-mail, please notify the sender 
immediately by return e-mail, purge it and do not disseminate or copy it.

_______________________________________________
Veritas-bu maillist  -  Veritas-bu at mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


*************************************************************************
This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration.   
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates 
shall be liable for the message if altered, changed or falsified. 

*************************************************************************

<Prev in Thread] Current Thread [Next in Thread>