03-08-2011 04:27 AM
Hi
I have Netbackup Enterprise 6.5.0 running with Solaris 8 and recently I have configured DISK storage Unit (DSU) first client data dump into Disk (DSU) and after that data will move from DISK to the tape by below commands.
#bpimagelist -U -idonly -client DIXONS_99-8-g -policy Teradata_1_Months -pt NCR-Teradata -hoursago 12 |awk '{print $8}' > /tmp/Backup-id
#bpduplicate -dstunit Tape-Backup -Bidfile /tmp/Backup-id -dp NetBackup -cn 1 -L /tmp/dulicate.log &
My Problem here is that after moving data from DISK to tape I need to expire data from disk (DSU) because I have limited space on disk
Please let me know I have should I expire data only from DISK Storage Unit (DSU) after it sucessfully copied to tapes by bpduplicate.
Thanks & regards
Sanjay Kumar Chahar
Solved! Go to Solution.
03-08-2011 07:43 AM
Use bpexpdate -d 0 -backupid xxx_12345678 -copy 1 -force
Use the copy qualifier to expire the first image copy (copy number will never change). The "-force" qualifier is needed when scripting. Else the command expect a confirmation.
You may consider usin the Basic Disk Staging feature, it handle the entire duplication process for you automatic.
03-08-2011 07:43 AM
Use bpexpdate -d 0 -backupid xxx_12345678 -copy 1 -force
Use the copy qualifier to expire the first image copy (copy number will never change). The "-force" qualifier is needed when scripting. Else the command expect a confirmation.
You may consider usin the Basic Disk Staging feature, it handle the entire duplication process for you automatic.
03-08-2011 10:54 AM
Why not configure DSU as DSSU? When you configure a Disk Staging Storage Unit, NBU will cleanup duplicated jobs when space is needed for new bacups.
NBU 6.5 Admin Guide I for UNIX/Linux http://www.symantec.com/docs/TECH52801
See p. 244 onwards under the topic Basic disk staging.
Extract:
When NetBackup detects a disk staging storage unit that is full, it pauses the backup. Then, NetBackup finds the oldest images on the storage unit that have been successfully copied onto the final destination. NetBackup expires the images on the disk staging storage unit to create space.
See page 247: Creating a basic disk staging storage unit
03-15-2011 08:06 AM
Hi Marianne
Thanks for you help.
If my image are copied from disk to tape by relocation schedules and is there any way we can avoid same image wont copied from disk to tapes by next day relocation schedules or netbackup take care this itself.
That is the only reason I am using custome script.
Please reply me.
Thanks & regard
Sanjay
03-15-2011 08:07 AM
Hi Marianne
Thanks for you help.
If my image are copied from disk to tape by relocation schedules and is there any way we can avoid same image wont copied again from disk to tapes by next day relocation schedules or netbackup take care this itself.
That is the only reason I am using custome script.
Please reply me.
Thanks & regard
Sanjay