Veritas-bu

Re: [Veritas-bu] How to regain disk space from failed backup to DSU

2008-04-18 15:49:31
Subject: Re: [Veritas-bu] How to regain disk space from failed backup to DSU
From: "Nardello, John" <john.nardello AT wamu DOT net>
To: "Aleksandr Nepomnyashchiy" <anepomn AT gmail DOT com>, <Norman_Ellis AT discovery DOT com>
Date: Fri, 18 Apr 2008 12:24:59 -0700
My favorite technote of all time, if slightly dated. =) 

http://seer.support.veritas.com/docs/236274.htm 

Contains info on running cleanups manually, as well as info on a
why-the-heck-isn't-it-a-default!!! touchfile. 

If you want to see what NetBackup has been doing for cleanup lately (all
one line):
        egrep "Cleanup running in background|delete_expired_backups:
deleted" /usr/openv/netbackup/logs/bpdbm/log.*


-John Nardello


-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of
Aleksandr Nepomnyashchiy
Sent: Friday, April 18, 2008 11:52 AM
To: Norman_Ellis AT discovery DOT com
Cc: dave.markham AT fjserv DOT net; veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] How to regain disk space from failed backup to
DSU

Norman,
Thank you for your reply.

Looks like bpimage from NetBackup 3.4 doesn't have "-cleanup"
option... I am a bit scared to remove the files myself.
Veritas document 875-1921-10 "Datacenter 3.4 System Administrator
Guide UNIX" doesn't even list bpimage in "NetBackup Commands" chapter
:).

root@bh-ap2 /usr/local/nagios2/local/conf/mtpMonitor #
/netbackup/openv/netbackup/bin/admincmd/bpimage
bpimage: -[de]compress [-allclients | -client <name>]
bpimage: [-M <master_server,...,master_server>]
bpimage: -npc <copy #> -backupid <backup_id> [-client <name>]
bpimage: -newserver <name> [-oldserver <name>] [-id <id>]
bpimage: -deletecopy <#> -backupid <backup_id>
bpimage: -testlock <#> -backupid <backup_id>
bpimage: -prunetir [-allclients | -client <name>]
bpimage: -create_image_list -client <name>
bpimage: -index <n> -client <name>
bpimage: -wff <path bytes> -backupid <backup_id> [-client <name>]
bpimage: -update [-secinfo <[0|1]> | -rfile <[0|1]> |
                -filesysonly <[0|1]> |
                -numfiles <number> | -keyword "keyword phrase" |
-objdesc <string>]
                [-client <name> -class <name> -t <type> -d mm/dd/yyyy
hh:mm:ss]
                [-client <name> -d mm/dd/yyyy hh:mm:ss]
                [-id <backup_id>]
root@bh-ap2 /usr/local/nagios2/local/conf/mtpMonitor #

Aleksandr

On Fri, Apr 18, 2008 at 9:39 AM,  <Norman_Ellis AT discovery DOT com> wrote:
>
> If you manually delete anything from disk I would highly suggest
running a
> bpimage -cleanup so that your catalog is consistent. This is suppose
to
> happen automatically but you may want to look at the command guide for
the
> specific options so that it doesn't take so long to complete i.e.
specifying
> client name or backup ID. Also, depending on how you are backing up to
disk,
> you may not be able to realize your space savings until your disk
appliances
> complete a cleaning cycle. For example, if you are using Data Domain
> devices, simply deleting the images from disk will not give you back
that
> space. You have to allow the devices to complete a full cleaning cycle
which
> is a 10 phase process and let me tell you,,,,, it can take a LONG
TIME!!
> This of course depends on the amount of data you are purging. For the
> specific case with Data Domain devices, we do not use them with the
VTL
> option so while it would still be true that a cleaning cycle would
still
> need to complete the time that takes may be different.
>
> Can any other Data Domain users out there add any color here??
>
>
>
>
>
>
>
>
> Dave Markham <dave.markham AT fjserv DOT net>
> Sent by: veritas-bu-bounces AT mailman.eng.auburn DOT edu
>
> 04/18/2008 07:04 AM
>
> Please respond to
>  dave.markham AT fjserv DOT net
>
>
> To Aleksandr Nepomnyashchiy <anepomn AT gmail DOT com>
>
> cc
> veritas-bu AT mailman.eng.auburn DOT edu
>
> Subject Re: [Veritas-bu] How to regain disk space from failed backup
to DSU
>
>
>
>
>
> Aleksandr Nepomnyashchiy wrote:
>  > Dear Gurus,
>  > My apologies - it is probably very simple question.
>  >
>  > Files from failed backup to Disk Storage Unit are taking space
(which
>  > I need immediately for other backups). How I can reclaim the space
>  > back?
>  >
>  > Thank you,
>  > Aleksandr
>  > _______________________________________________
>  > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>  > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>  >
>  >
>  Try expiring the image or crudely just deleting the image files from
the
>  disk location
>
>  D
>  _______________________________________________
>  Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>  http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
>
>
>  Own the landmark Planet Earth series on DVD!  Find more great gifts
by
> shopping online at http://discoverystore.com
>
>  This e-mail, and any attachment, is intended only for the person or
entity
> to which it is addressed and may contain confidential and/or
privileged
> material. Any review, re-transmission, copying, dissemination or other
use
> of this information by persons or entities other than the intended
recipient
> is prohibited. If you received this in error, please contact the
sender and
> delete the material from any computer. The contents of this message
may
> contain personal views which are not the views of Discovery
Communications,
> LLC.
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

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