cancel
Showing results for 
Search instead for 
Did you mean: 

Manually deleting backup from the netbackup and catalog

hamzafayyaz1983
Level 4

Hi,

I am new to netbackup

I have taken standard backup of /opt folder and placed it into a filer lun.


I wanted to manually delete the previous backups from the netbackup and delete from the catalog



thanx

hamza
1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified
Expiring images will delete catalog info as well as physically delete the backup data from the file system on the disk storage unit.
As long as you do not delete anything manually, your catalogs will be consistent.

If my post has answered your questions, please 'Mark As Solution'.

View solution in original post

4 REPLIES 4

Marianne
Level 6
Partner    VIP    Accredited Certified
Two was to expire backups:
1. If previous backups were done to tape, you can list all media id's that contain valid backups and expire all images on each media id. Use the GUI reports and run Media List report or run bpmedialist from cmd.
Expire each media-id using bpexpdate command: bpexpdate -m <media-id> -d 0
2. If backups were done to disk, you need to list all image id's that falls within the period that you don't need anymore and expire them:
bpimagelist -idonly  -d <start-date>  -e <end-date>
bpexpdate  -backupid <backup id> -d 0

Some additional advice: Since you are new to NetBackup, read chapter 6 in Admin Guide I about NetBackup Catalogs.

hamzafayyaz1983
Level 4


i am using the disk backup.

After expiring the images. will the catalog be in consistent state

and


do i have to physically delete the backup files as well from the filer lun




thanx
hamza





hamzafayyaz1983
Level 4
problem solved

thanx very much Marianne van den berg.

u have been a great help

I want to request the forum moderator to increase her trusty rate








regards,
hamza

Marianne
Level 6
Partner    VIP    Accredited Certified
Expiring images will delete catalog info as well as physically delete the backup data from the file system on the disk storage unit.
As long as you do not delete anything manually, your catalogs will be consistent.

If my post has answered your questions, please 'Mark As Solution'.