Forum Discussion
- susindran_surulLevel 6
Hi Mark,
We have catalog image on the disk only...I have did below steps to get free space..
1)Expired entire november month on one client(this client is utilized much space)
2)Run bpimage cleanup to cleanup images..
Please let us know nbdelete -allvolumes will delete only expired images???
- Mark_SolutionsLevel 6
Yes - it is perfectly safe to run - from the guide:
Queries the image list in the EMMdatabase to obtain the list of volumes with
deleted fragments. It removes the fragments from those volumes and deletes
eligible imported snaps, unimported snaps, and tar images in that order.
-allvolumes calls bpdm on master server to delete imported snaps. It also
queries the storage servers with unimported snapshots but does not direct
bpdm to delete them.This clears down the disk itself - the bpimage command cleans the catalog
Does it run with 100% success?
- susindran_surulLevel 6
Yes..bpimage cleanup completed 100% success...Please find the below for details..
01/07/2013 10:50:25 - Info bpdbm (pid=24813) deleted 430 expired records, compressed 66, tir removed 7, deleted 335 expired copiesthe requested operation was successfully completed (0)My doubt is i have deleted entire november month all icremental images and i could see /opt/openv/netbackup/db/images/Client-name/time-stamp/catstore/ all november month images removed..Only full backup images is there..My problem is i could see large number of file utlized on december moonth incremnetal backup only..Please let us know wheather we need to expire december month incemental backup aswel to get some more space???Please find the below for sample image details for december month.bash-3.00$ sudo ls -lart catstore/total 27819214-rw------- 1 root root 0 Dec 9 06:18 std-wv1s1-sa-0300_1355050947_INCR.f_imgNDMP0-rw------- 1 root root 0 Dec 9 06:18 std-wv1s1-sa-0300_1355050947_INCR.f_imgExtraObj0-rw------- 1 root root 981154524 Dec 9 23:11 std-wv1s1-sa-0300_1355050947_INCR.f_imgRecord0-rw------- 1 root root 184050304 Dec 9 23:11 std-wv1s1-sa-0300_1355050947_INCR.f_imgFile0-rw------- 1 root root 5672480 Dec 9 23:11 std-wv1s1-sa-0300_1355050947_INCR.f_imgDir0-rw------- 1 root root 519 Dec 9 23:13 std-wv1s1-sa-0300_1355050947_INCR.f_imgUserGroupNames0-rw------- 1 root root 253434806 Dec 9 23:13 std-wv1s1-sa-0300_1355050947_INCR.f_imgStrings0-rw------- 1 root root 212 Dec 9 23:13 std-wv1s1-sa-0300_1355050947_INCR.f_imgHeader0-rw------- 1 root root 924 Dec 9 23:13 std-wv1s1-sa-0300_1355050947_INCR.f-list-rw------- 1 root root 0 Dec 10 07:35 std-wv1s1-sa-0300_1355137371_INCR.f_imgNDMP0-rw------- 1 root root 0 Dec 10 07:35 std-wv1s1-sa-0300_1355137371_INCR.f_imgExtraObj0-rw------- 1 root root 981154860 Dec 11 01:00 std-wv1s1-sa-0300_1355137371_INCR.f_imgRecord0-rw------- 1 root root 184050368 Dec 11 01:00 std-wv1s1-sa-0300_1355137371_INCR.f_imgFile0-rw------- 1 root root 5672480 Dec 11 01:00 std-wv1s1-sa-0300_1355137371_INCR.f_imgDir0-rw------- 1 root root 516 Dec 11 01:02 std-wv1s1-sa-0300_1355137371_INCR.f_imgUserGroupNames0-rw------- 1 root root 253434905 Dec 11 01:02 std-wv1s1-sa-0300_1355137371_INCR.f_imgStrings0-rw------- 1 root root 212 Dec 11 01:02 std-wv1s1-sa-0300_1355137371_INCR.f_imgHeader0-rw------- 1 root root 924 Dec 11 01:02 std-wv1s1-sa-0300_1355137371_INCR.f-list-rw------- 1 root root 0 Dec 11 07:48 std-wv1s1-sa-0300_1355223745_FULL.f_imgNDMP0-rw------- 1 root root 0 Dec 11 07:48 std-wv1s1-sa-0300_1355223745_FULL.f_imgExtraObj0-rw------- 1 root root 253434621 Dec 12 07:46 std-wv1s1-sa-0300_1355223745_FULL.f_imgStrings0-rw------- 1 root root 981153768 Dec 12 07:46 std-wv1s1-sa-0300_1355223745_FULL.f_imgRecord0-rw------- 1 root root 184050192 Dec 12 07:46 std-wv1s1-sa-0300_1355223745_FULL.f_imgFile0-rw------- 1 root root 5672416 Dec 12 07:46 std-wv1s1-sa-0300_1355223745_FULL.f_imgDir0-rw------- 1 root root 572 Dec 12 07:48 std-wv1s1-sa-0300_1355223745_FULL.f_imgUserGroupNames0-rw------- 1 root root 212 Dec 12 07:48 std-wv1s1-sa-0300_1355223745_FULL.f_imgHeader0-rw------- 1 root root 924 Dec 12 07:48 std-wv1s1-sa-0300_1355223745_FULL.f-list-rw------- 1 root root 0 Dec 12 09:07 std-wv1s1-sa-0300_1355320366_INCR.f_imgNDMP0-rw------- 1 root root 0 Dec 12 09:07 std-wv1s1-sa-0300_1355320366_INCR.f_imgExtraObj0-rw------- 1 root root 981153936 Dec 13 02:51 std-wv1s1-sa-0300_1355320366_INCR.f_imgRecord0-rw------- 1 root root 184050224 Dec 13 02:51 std-wv1s1-sa-0300_1355320366_INCR.f_imgFile0-rw------- 1 root root 5672416 Dec 13 02:51 std-wv1s1-sa-0300_1355320366_INCR.f_imgDir0-rw------- 1 root root 511 Dec 13 02:56 std-wv1s1-sa-0300_1355320366_INCR.f_imgUserGroupNames0-rw------- 1 root root 253434727 Dec 13 02:56 std-wv1s1-sa-0300_1355320366_INCR.f_imgStrings0-rw------- 1 root root 212 Dec 13 02:56 std-wv1s1-sa-0300_1355320366_INCR.f_imgHeader0-rw------- 1 root root 924 Dec 13 02:56 std-wv1s1-sa-0300_1355320366_INCR.f-list-rw------- 1 root root 0 Dec 13 06:26 std-wv1s1-sa-0300_1355397102_INCR.f_imgNDMP0-rw------- 1 root root 0 Dec 13 06:26 std-wv1s1-sa-0300_1355397102_INCR.f_imgExtraObj0-rw------- 1 root root 981154188 Dec 13 21:15 std-wv1s1-sa-0300_1355397102_INCR.f_imgRecord0-rw------- 1 root root 184050272 Dec 13 21:15 std-wv1s1-sa-0300_1355397102_INCR.f_imgFile0-rw------- 1 root root 5672416 Dec 13 21:15 std-wv1s1-sa-0300_1355397102_INCR.f_imgDir0-rw------- 1 root root 511 Dec 13 21:17 std-wv1s1-sa-0300_1355397102_INCR.f_imgUserGroupNames0-rw------- 1 root root 253434812 Dec 13 21:17 std-wv1s1-sa-0300_1355397102_INCR.f_imgStrings0-rw------- 1 root root 212 Dec 13 21:17 std-wv1s1-sa-0300_1355397102_INCR.f_imgHeader0-rw------- 1 root root 924 Dec 13 21:17 std-wv1s1-sa-0300_1355397102_INCR.f-list-rw------- 1 root root 0 Dec 15 15:30 std-wv1s1-sa-0300_1355602411_INCR.f_imgNDMP0-rw------- 1 root root 0 Dec 15 15:30 std-wv1s1-sa-0300_1355602411_INCR.f_imgExtraObj0-rw------- 1 root root 981154860 Dec 16 07:46 std-wv1s1-sa-0300_1355602411_INCR.f_imgRecord0-rw------- 1 root root 184050400 Dec 16 07:46 std-wv1s1-sa-0300_1355602411_INCR.f_imgFile0-rw------- 1 root root 5672416 Dec 16 07:46 std-wv1s1-sa-0300_1355602411_INCR.f_imgDir0-rw------- 1 root root 514 Dec 16 07:48 std-wv1s1-sa-0300_1355602411_INCR.f_imgUserGroupNames0-rw------- 1 root root 253434949 Dec 16 07:48 std-wv1s1-sa-0300_1355602411_INCR.f_imgStrings0-rw------- 1 root root 212 Dec 16 07:48 std-wv1s1-sa-0300_1355602411_INCR.f_imgHeader0-rw------- 1 root root 924 Dec 16 07:48 std-wv1s1-sa-0300_1355602411_INCR.f-list-rw------- 1 root root 0 Dec 16 09:05 std-wv1s1-sa-0300_1355662293_INCR.f_imgNDMP0-rw------- 1 root root 0 Dec 16 09:05 std-wv1s1-sa-0300_1355662293_INCR.f_imgExtraObj0-rw------- 1 root root 981154860 Dec 17 01:39 std-wv1s1-sa-0300_1355662293_INCR.f_imgRecord0-rw------- 1 root root 184050400 Dec 17 01:39 std-wv1s1-sa-0300_1355662293_INCR.f_imgFile0-rw------- 1 root root 5672416 Dec 17 01:39 std-wv1s1-sa-0300_1355662293_INCR.f_imgDir0-rw------- 1 root root 514 Dec 17 01:46 std-wv1s1-sa-0300_1355662293_INCR.f_imgUserGroupNames0-rw------- 1 root root 253434966 Dec 17 01:46 std-wv1s1-sa-0300_1355662293_INCR.f_imgStrings0-rw------- 1 root root 212 Dec 17 01:46 std-wv1s1-sa-0300_1355662293_INCR.f_imgHeader0-rw------- 1 root root 924 Dec 17 01:46 std-wv1s1-sa-0300_1355662293_INCR.f-list-rw------- 1 root root 0 Dec 17 06:22 std-wv1s1-sa-0300_1355742628_INCR.f_imgNDMP0-rw------- 1 root root 0 Dec 17 06:22 std-wv1s1-sa-0300_1355742628_INCR.f_imgExtraObj0-rw------- 1 root root 981155028 Dec 17 22:45 std-wv1s1-sa-0300_1355742628_INCR.f_imgRecord0-rw------- 1 root root 184050432 Dec 17 22:45 std-wv1s1-sa-0300_1355742628_INCR.f_imgFile0-rw------- 1 root root 5672416 Dec 17 22:45 std-wv1s1-sa-0300_1355742628_INCR.f_imgDir0-rw------- 1 root root 511 Dec 17 22:47 std-wv1s1-sa-0300_1355742628_INCR.f_imgUserGroupNames0-rw------- 1 root root 253434982 Dec 17 22:47 std-wv1s1-sa-0300_1355742628_INCR.f_imgStrings0-rw------- 1 root root 212 Dec 17 22:47 std-wv1s1-sa-0300_1355742628_INCR.f_imgHeader0-rw------- 1 root root 924 Dec 17 22:47 std-wv1s1-sa-0300_1355742628_INCR.f-list-rw------- 1 root root 0 Dec 18 07:44 std-wv1s1-sa-0300_1355828782_FULL.f_imgNDMP0-rw------- 1 root root 0 Dec 18 07:44 std-wv1s1-sa-0300_1355828782_FULL.f_imgExtraObj0-rw------- 1 root root 253434953 Dec 19 07:53 std-wv1s1-sa-0300_135582-rw------- 1 root root 981155196 Dec 19 07:53 std-wv1s1-sa-0300_135582-rw------- 1 root root 184050464 Dec 19 07:53 std-wv1s1-sa-0300_135582-rw------- 1 root root 5672416 Dec 19 07:53 std-wv1s1-sa-0300_13558287-rw------- 1 root root 572 Dec 19 07:54 std-wv1s1-sa-0300_13558287-rw------- 1 root root 212 Dec 19 07:54 std-wv1s1-sa-0300_13558287-rw------- 1 root root 924 Dec 19 07:54 std-wv1s1-sa-0300_13558287-rw------- 1 root root 0 Dec 19 08:13 std-wv1s1-sa-0300_13559219-rw------- 1 root root 0 Dec 19 08:13 std-wv1s1-sa-0300_13559219-rw------- 1 root root 981155364 Dec 19 23:39 std-wv1s1-sa-0300_135592-rw------- 1 root root 184050496 Dec 19 23:39 std-wv1s1-sa-0300_135592-rw------- 1 root root 5672416 Dec 19 23:39 std-wv1s1-sa-0300_13559219-rw------- 1 root root 511 Dec 19 23:41 std-wv1s1-sa-0300_13559219-rw------- 1 root root 253435043 Dec 19 23:41 std-wv1s1-sa-0300_135592-rw------- 1 root root 212 Dec 19 23:41 std-wv1s1-sa-0300_13559219-rw------- 1 root root 924 Dec 19 23:41 std-wv1s1-sa-0300_13559219drwx------ 2 root root 6144 Dec 19 23:41 .drwxr-xr-x 4 root root 2048 Dec 20 17:12 .. - Mark_SolutionsLevel 6
It does seem extreme to be deleting backup images due to lack of space on the NBU server
Would it not be better to add disk space rather than deleting your backups?
- Will_RestoreLevel 6
Incrementals running as Full? Please provide backup policy details
bppllist -L <policy_name>
- susindran_surulLevel 6
Actually problem is we have taken cold data base backup for particular server and removed exclude list for all database file systems,then we forgot to add in the exclude list after cold backup completes...Because of that reason its huge file system having that database server and image size increased due this issue.,,
- susindran_surulLevel 6
We have schedueld correct one but its database file system we forgot to add on exclude_list after cold backup completes...
Schedule: daily_incrType: Differential Incremental BackupFrequency: every 1 dayMaximum MPX: 5Synthetic: 0Checksum Change Detection: 0PFI Recovery: 0Retention Level: 6 (6 months)Number Copies: 1Fail on Error: 0Residence: (specific storage unit not required)Volume Pool: (same as policy volume pool)Server Group: (same as specified for policy)Residence is Storage Lifecycle Policy: 0Schedule indexing: 0Daily Windows:Sunday 06:00:00 --> Sunday 19:00:00Monday 06:00:00 --> Monday 19:00:00Wednesday 06:00:00 --> Wednesday 19:00:00Thursday 06:00:00 --> Thursday 19:00:00Friday 06:00:00 --> Friday 19:00:00Saturday 06:00:00 --> Saturday 19:00:00 - Will_RestoreLevel 6
Partial output? Incremental schedule has to be in same policy as the Full schedule.
- susindran_surulLevel 6Policy Name: std-wv1s1-sa-0300Policy Type: StandardActive: yesEffective date: 05/20/2008 00:00:00Client Compress: noFollow NFS Mounts: noCross Mount Points: noCollect TIR info: yes, with move detectionBlock Incremental: noMult. Data Streams: noClient Encrypt: noCheckpoint: noPolicy Priority: 0Max Jobs/Policy: UnlimitedDisaster Recovery: 0Collect BMR info: yesResidence: wv1bkps1-hcart3-robot-tld-0Volume Pool: NetBackupServer Group: *ANY*Keyword: (none specified)Data Classification: -Residence is Storage Lifecycle Policy: noApplication Discovery: noDiscovery Lifetime: 0 secondsASC Application and attributes: (none defined)Granular Restore Info: noIgnore Client Direct: noEnable Metadata Indexing: noIndex server name: NULLUse Accelerator: noHW/OS/Client:Solaris Solaris8 wv1b1-bkpInclude: ALL_LOCAL_DRIVESSchedule: yearly_fullType: Full BackupFrequency: every 365 daysMaximum MPX: 5Synthetic: 0Checksum Change Detection: 0PFI Recovery: 0Retention Level: 10 (7 years)Number Copies: 1Fail on Error: 0Residence: (specific storage unit not required)Volume Pool: (same as policy volume pool)Server Group: (same as specified for policy)Residence is Storage Lifecycle Policy: 0Schedule indexing: 0Daily Windows:Tuesday 06:00:00 --> Tuesday 19:00:00Schedule: monthly_fullType: Full BackupFrequency: every 28 daysMaximum MPX: 5Synthetic: 0Checksum Change Detection: 0PFI Recovery: 0Retention Level: 8 (1 year)Number Copies: 1Fail on Error: 0Residence: (specific storage unit not required)Volume Pool: (same as policy volume pool)Server Group: (same as specified for policy)Residence is Storage Lifecycle Policy: 0Schedule indexing: 0Daily Windows:Tuesday 06:00:00 --> Tuesday 19:00:00Schedule: full_weeklyType: Full BackupFrequency: every 7 daysMaximum MPX: 5Synthetic: 0Checksum Change Detection: 0PFI Recovery: 0Retention Level: 6 (6 months)Number Copies: 1Fail on Error: 0Residence: (specific storage unit not required)Volume Pool: (same as policy volume pool)Server Group: (same as specified for policy)Residence is Storage Lifecycle Policy: 0Schedule indexing: 0Daily Windows:Tuesday 06:00:00 --> Tuesday 19:00:00Schedule: daily_incrType: Differential Incremental BackupFrequency: every 1 dayMaximum MPX: 5Synthetic: 0Checksum Change Detection: 0PFI Recovery: 0Retention Level: 6 (6 months)Number Copies: 1Fail on Error: 0Residence: (specific storage unit not required)Volume Pool: (same as policy volume pool)Server Group: (same as specified for policy)Residence is Storage Lifecycle Policy: 0Schedule indexing: 0Daily Windows:Sunday 06:00:00 --> Sunday 19:00:00Monday 06:00:00 --> Monday 19:00:00Wednesday 06:00:00 --> Wednesday 19:00:00Thursday 06:00:00 --> Thursday 19:00:00Friday 06:00:00 --> Friday 19:00:00Saturday 06:00:00 --> Saturday 19:00:00
- MarianneLevel 6
Actually problem is we have taken cold data base backup for particular server and removed exclude list for all database file systems,then we forgot to add in the exclude list after cold backup completes...
Problem with expiring entire images is that you expire valid, necessary data along with unecessary backup data just because you don't have enough space on the master server??
You can compress images for this client only.
Extract from NBU Commands manual:bpimage -[de]compress [-allclients | -client <name>]
Related Content
- 9 months ago
- 8 years ago