cancel
Showing results for 
Search instead for 
Did you mean: 

command for Expire Tape Cleaning

ChandanMistry
Level 3

which command is use for Expire Tape Cleaning?

1 ACCEPTED SOLUTION

Accepted Solutions

consoleadmin
Level 4

bpexpdate

bpexpdate change expiration date of backups in image catalog and media in

media catalog

SYNOPSIS

<admin_dir_path>bpexpdate -m media_id -d date | 0 | infinity [-host

name] [-force] [-nodelete] [-notimmediate] [-M master_server,...]

<admin_dir_path>bpexpdate -deassignempty [-m media_id] [-force] [-M

master_server,...]

<admin_dir_path>bpexpdate -backupid backup_id -d date | 0 | infinity

[-client name] [-copy number] [-force] [-nodelete] [-notimmediate]

[-M master_server,...]

<admin_dir_path>bpexpdate -recalculate [-backupid backup_id] [-copy

number] [-d date | 0 | infinity] [-client name] [-policy name] [-ret

retention_level] [-sched type] [-M master_server,...]

<admin_dir_path>bpexpdate -stype server_type [-dp disk_pool_name [-dv

disk_volume]] [-nodelete] [-notimmediate] [-M master_server,...]

On UNIX and Linux systems, <admin_dir_path> is

/usr/openv/netbackup/bin/admincmd/

On Windows systems, <admin_dir_path> is

<install_path>\NetBackup\bin\admincmd\

View solution in original post

7 REPLIES 7

consoleadmin
Level 4

i am using the below command

run the patch as cmd (C:\Program Files\Veritas\NetBackup\bin\admincmd)\

run the command to clean it "bpexpdate -m tape name -d 0"

AmolB
Moderator
Moderator
Employee Accredited Certified

Andy_Welburn
Level 6

before the scheduled clean-up job(s) actually run, in which case

e.g.

bpimage -cleanup -allclients  (to clean-up expired images from d/b)

followed by:

bpexpdate -deassignempty (to unassign media subsequently expired)

consoleadmin
Level 4

bpexpdate

bpexpdate change expiration date of backups in image catalog and media in

media catalog

SYNOPSIS

<admin_dir_path>bpexpdate -m media_id -d date | 0 | infinity [-host

name] [-force] [-nodelete] [-notimmediate] [-M master_server,...]

<admin_dir_path>bpexpdate -deassignempty [-m media_id] [-force] [-M

master_server,...]

<admin_dir_path>bpexpdate -backupid backup_id -d date | 0 | infinity

[-client name] [-copy number] [-force] [-nodelete] [-notimmediate]

[-M master_server,...]

<admin_dir_path>bpexpdate -recalculate [-backupid backup_id] [-copy

number] [-d date | 0 | infinity] [-client name] [-policy name] [-ret

retention_level] [-sched type] [-M master_server,...]

<admin_dir_path>bpexpdate -stype server_type [-dp disk_pool_name [-dv

disk_volume]] [-nodelete] [-notimmediate] [-M master_server,...]

On UNIX and Linux systems, <admin_dir_path> is

/usr/openv/netbackup/bin/admincmd/

On Windows systems, <admin_dir_path> is

<install_path>\NetBackup\bin\admincmd\

consoleadmin
Level 4

Have you tried my attached step. Hope it help you.

Marianne
Level 6
Partner    VIP    Accredited Certified

ChandanMistry has not been back since July to check for replies.

We also don't really know what he wants to do.

 Expire Tape Cleaning?

 Expire Tape  and Tape Cleaning are two completely different concepts.....

ChandanMistry
Level 3

Sorry for delay in Replying, I want the command to manually wipe the tape for the emergaency purpose, and it working.

Thankyou