cancel
Showing results for 
Search instead for 
Did you mean: 

Append period missing....

Pam_Kulczyk
Level 4
Netbackup 6.0 MP5  Windows 2003 Server
 
In Backup Exec, you can set a retention period and an append period.  In netbackup, I know how to set the retention period, but I can't find an append period anywhere.....
 
I want to be able to append for say 24 hours and then I want the tapes to not append anymore until the retention period is expired.  Can you do this in netbackup?
 
Thanks in advance for any advice.
7 REPLIES 7

Stumpr2
Level 6
The term in NetBackup is suspend.
 
# bpmedia -help
bpmedia:
  -freeze|-unfreeze|-suspend|-unsuspend -m <media_id> [-h <hostname>] [-v]
  -movedb -m <media_id> -newserver <hostname> [-oldserver <hostname>] [-v]
 
 

Stumpr2
Level 6
DESCRIPTION
     bpmedia allows an individual NetBackup media ID to  be  con-
     trolled  in  terms of allowing or disallowing future backups
     or archives to be directed to the media. Note that this com-
     mand applies only to media managed by Media Manager.
     Note:     Under certain media or hardware error  conditions,
               NetBackup automatically suspends or freezes media.
               If this happens, the reason is logged in the  Net-
               Backup  Problems report. If necessary, you can use
               the bpmedia -unfreeze  or  -unsuspend  options  to
               reverse this action.
     This command can be executed by any  authorized  users.  For
     more  information  about  NetBackup  authorization, refer to
     "Enhanced Authorization and Authentication" in the NetBackup
     System Administrator's Guide.
OPTIONS
     -freeze   Freezes the specified media  ID.  When  an  active
               NetBackup  media  ID  is  frozen,  NetBackup stops
               directing backups and archives to the  media.  All
               unexpired  images  on  the  media  continue  to be
               available for restores. NetBackup never deletes  a
               frozen  media ID from the NetBackup media catalog,
               nor is it unassigned in the NetBackup volume  pool
               when it expires.
     -unfreeze Unfreeze the specified media ID. This reverses the
               action  of  freeze and allows the media to be used
               for backups  or  archives  again  if  it  has  not
               expired.   If  a  media  is  expired  when  it  is
               unfrozen, it is immediately unassigned in the Net-
               Backup volume pool.
     -suspend  Suspend the specified media ID. The action is  the
               same  as  freeze  except  that  when  the media ID
               expires, it is immediately unassigned in the  Net-
               Backup volume pool.
     -unsuspend
               Unsuspend the specified media  ID.  This  reverses
               the  action  of suspend and allows the media to be
               used for backups or archives again.

Pam_Kulczyk
Level 4
Thanks.  It looks like that's what I want to do. How can this happen automatically? 
 
How can I set all differential media to automatically suspend after 24 hours of append?

Stumpr2
Level 6
 
1. Determine what media was used
Media Written Report
The Media Written report identifies volumes that were used for backups within the specified time period.  
bpimagelist -A -media [-d <start_date> <start_time> -e <end_date> <end_time>]
2. Suspend the media
Use the bpmedia command explained above
 
Combine them in a for-loop in a batch file and schedule it to run
 
 

Pam_Kulczyk
Level 4
Thanks again Bob! You are my lifeline.

Stumpr2
Level 6
you're most welcome

TimBurlowski
Moderator
Moderator
Employee Accredited
Bob's answer is correct - of course.

I'm curious about why you want to do this?