cancel
Showing results for 
Search instead for 
Did you mean: 

NBU 7.1.0.3 - Find out which image contain which Backup Selection

MartinVi
Level 6

Hi all,

i want to ask you, if it is possible to figure out what an image contain. That means i have configure a backup selection list with the following entries:

R:\Data\SharedG
v:\
R:\Data\SharedJ
R:\Data\SharedR
R:\Apps R:\Apps

The corresponding backup ids are:

ROZRHSC1VFS1.COUTTSCH.COUTTSINT.NET_1337976237 ROZRHSC1VFS1.COUTTSCH.COUTTSINT.NET Fri May 25 22:03:57 CEST 2012 ...
ROZRHSC1VFS1.COUTTSCH.COUTTSINT.NET_1337976236 ROZRHSC1VFS1.COUTTSCH.COUTTSINT.NET Fri May 25 22:03:56 CEST 2012 ...
ROZRHSC1VFS1.COUTTSCH.COUTTSINT.NET_1337976235 ROZRHSC1VFS1.COUTTSCH.COUTTSINT.NET Fri May 25 22:03:55 CEST 2012 ...
ROZRHSC1VFS1.COUTTSCH.COUTTSINT.NET_1337976234 ROZRHSC1VFS1.COUTTSCH.COUTTSINT.NET Fri May 25 22:03:54 CEST 2012 ...
ROZRHSC1VFS1.COUTTSCH.COUTTSINT.NET_1337976233 ROZRHSC1VFS1.COUTTSCH.COUTTSINT.NET Fri May 25 22:03:53 CEST 2012 ...

Is it possible to figure out which image contain which backup selection?

Regards, Martin

1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

Easiest way ...

Take backup id ...

womble_1337635216

cd to ...

/usr/openv/netbackup/db/images/<client name>/<first 4 digits of ctime and 6 zeros>/

Eg.

/usr/openv/netbackup/db/images/womble/1337000000

Find the files with th ctime in their names

ls -al *1337635216*

/usr/openv/netbackup/bin/cat_convert -dump robot_0_1337635216_FULL.f

 

 

 
num     len     plen    dlen    blknum  ii      raw_sz  GB      dev_num path    data
 
0       0       1       50      0       0       0       0       32      /       16877 root root 0 1337615094 1337611733 1337611733
0       0       11      50      1       0       0       0       257     /netbackup/     16877 root root 0 1337590723 1336552185 1336552185
1       0       20      50      2       1       0       0       257     /netbackup/testdata/    16877 root root 0 1337634790 1336991750 1336991750
2       0       25      52      3       1       0       0       257     /netbackup/testdata/file1       33188 root root 231 1335963094 1334651331 1337634790
3       0       25      52      5       1       0       0       257     /netbackup/testdata/file2       33188 root root 231 1335963094 1334651348 1337634790
4       0       25      52      7       1       0       0       257     /netbackup/testdata/file3       33188 root root 231 1336122964 1334651351 1337634790
5       0       25      52      9       1       0       0       257     /netbackup/testdata/file4       33188 root root 231 1336991750 1334651353 1337634790
6       0       25      52      11      1       0       0       257     /netbackup/testdata/file5       33188 root root 231 1336991750 1336991750 1337634790
 
 
Martin

View solution in original post

4 REPLIES 4

mph999
Level 6
Employee Accredited

Easiest way ...

Take backup id ...

womble_1337635216

cd to ...

/usr/openv/netbackup/db/images/<client name>/<first 4 digits of ctime and 6 zeros>/

Eg.

/usr/openv/netbackup/db/images/womble/1337000000

Find the files with th ctime in their names

ls -al *1337635216*

/usr/openv/netbackup/bin/cat_convert -dump robot_0_1337635216_FULL.f

 

 

 
num     len     plen    dlen    blknum  ii      raw_sz  GB      dev_num path    data
 
0       0       1       50      0       0       0       0       32      /       16877 root root 0 1337615094 1337611733 1337611733
0       0       11      50      1       0       0       0       257     /netbackup/     16877 root root 0 1337590723 1336552185 1336552185
1       0       20      50      2       1       0       0       257     /netbackup/testdata/    16877 root root 0 1337634790 1336991750 1336991750
2       0       25      52      3       1       0       0       257     /netbackup/testdata/file1       33188 root root 231 1335963094 1334651331 1337634790
3       0       25      52      5       1       0       0       257     /netbackup/testdata/file2       33188 root root 231 1335963094 1334651348 1337634790
4       0       25      52      7       1       0       0       257     /netbackup/testdata/file3       33188 root root 231 1336122964 1334651351 1337634790
5       0       25      52      9       1       0       0       257     /netbackup/testdata/file4       33188 root root 231 1336991750 1334651353 1337634790
6       0       25      52      11      1       0       0       257     /netbackup/testdata/file5       33188 root root 231 1336991750 1336991750 1337634790
 
 
Martin

MartinVi
Level 6

Hi Martin,

thanks for the hint. That is exactly that what i'm looking for.

Regards, Martin

Nicolai
Moderator
Moderator
Partner    VIP   

bpflist -d 01/1/2011  -client acme_123456789  -rl 999 -pt MS-Windows-NT  -option GET_ALL_FILES

mph999
Level 6
Employee Accredited

Nicolai has given an excellent answer.  This would be the ideal 'command line' way to carry out the task.

However, the bplist command is quite complex, as you see, there are many options, which is why I gave the cat_convert command.

M