Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial (541 Views)
Reply
HP Expert
Posts: 1,704
Registered: ‎08-14-2013
Message 26 of 43 (654 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

I guess that there is a chance for IDB corruption, because when a differenital backup starts, the IDB is queried to see if there is a full backup that can be check to be sure that it is still protected.  To check the IDB

 

UNIX:

   cd /opt/omni/sbin

   ./omnidbcheck -extended

 

Windows

   cd \Program Files\Omniback\bin

   omnidbcheck -extended

 

 

Frequent Advisor
Posts: 35
Registered: ‎12-19-2013
Message 27 of 43 (646 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

Hi,

i checked the IDB and got following Output:
-----
Check Level Mode Status
==================================================
Core -core OK
Filenames -filenames OK
DCBF(presence and size) -bf OK
SIBF(readability) -sibf OK
OMNIDC(consistency) -dc Corrupted: 2 major errors detected
DONE!
-----

Additional Info:
Regarding of some Information on another Page i tried to execute following command:
omnidbutil -chktblspace

This brought me following Message:
Please run omnidbutil -modifytblspace to make IDB consistent.

What should/can i try next?

Thanks!
Best Regards
Marco

HP Expert
Posts: 1,704
Registered: ‎08-14-2013
Message 28 of 43 (619 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

By default, the size of the Tablespace files is set to 2GB.  IN looking at teh usage for the 'omnidbutil' command, I found this:

 

-chktblspace

If the maximum size of database files (dirs.dat, fnames.dat, fn?.ext, and their extension

files) is not set to 2 GB, and if the size of these database files reaches a value bigger than 2

GB, this command advises you to run

     omnidbutil -modifytblspace .

This command should be used only on HP-UX 11.31 (Itanium) systems and Linux x86–64

systems, after an upgrade to Data Protector 7.00 if the IDB files exceed 2 GB.

 

In the years I have been doing this job, I have neer run into a case where a tab;espace size needed to be changed in this manner.  The usual method of dealing with this is to just create a new 2GB tablespace extension file

 

Regarding this:

 

Check Level Mode Status
==================================================
Core -core OK
Filenames -filenames OK
DCBF(presence and size) -bf OK
SIBF(readability) -sibf OK
OMNIDC(consistency) -dc Corrupted: 2 major errors detected

 

run

 

   omnidbcheck -dc

 

which will tell you which of the Data Catalog files are corrupt.  They will be represented by the Media Info information.  If you want to just send the 2 lines showing what files are corrupted, I can show you how to deal with them

Frequent Advisor
Posts: 35
Registered: ‎12-19-2013
Message 29 of 43 (606 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

Hi,

"omnidbche -dc" reported following 5 Errors:
==========
Medium ID: 0c64320a:539f06c7:0cf4:0138
ERROR: Cannot open file C:/ProgramData/OmniBack/db40/dcbf02/0c64320a_539f06c7_0cf4_0138_539F06CF.dat

Medium ID: 0c64320a:5395c312:15ac:3e89

ERROR: Cannot open file C:/ProgramData/OmniBack/db40/dcbf03/0c64320a_5395c312_15ac_3e89_5395C4B0.dat

 

Medium ID: 0c64320a:539f14c8:0cf4:0150

ERROR: Cannot open file C:/ProgramData/OmniBack/db40/dcbf02/0c64320a_539f14c8_0cf4_0150_539F14CF.dat

 

Medium ID: 0c64320a:539f06d7:0cf4:013b

ERROR: Cannot open file C:/ProgramData/OmniBack/db40/dcbf02/0c64320a_539f06d7_0cf4_013b_539F07B8.dat

 

Medium ID: 0c64320a:539f149b:0cf4:014a

ERROR: Cannot open file C:/ProgramData/OmniBack/db40/dcbf02/0c64320a_539f149b_0cf4_014a_539F14AB.dat

==========

 

Thanks!

 

Best Regards

Marco

HP Expert
Posts: 1,704
Registered: ‎08-14-2013
Message 30 of 43 (589 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

Sorry for the delay, for 2 days, I was not able to reply to this thread

 

I really  think that this is going to need to go to the Response center, because the number of corrupted Data Calog files is increasing

 

IN this particular instance, each data catalog is shown with a mediaID, for example

 

Medium ID: 0c64320a:539f06c7:0cf4:0138
ERROR: Cannot open file C:/ProgramData/OmniBack/db40/dcbf02/0c64320a_539f06c7_0cf4_0138_539F06CF.dat

 

I doubt if you can get useful information from this media, but run the command

 

   omnimm -list_media 0c64320a:539f06c7:0cf4:0138 -detail

   omnimm -media_info 0c64320a:539f06c7:0cf4:0138 -detail

 

If there is no error, you can export the media, and import it back in, but, if you get another 'Cannot open File' error, just export it out of the IDB

 

   omnimm -export 0c64320a:539f06c7:0cf4:0138

 

Would you run these commands, output to a 'text' file and attach to this thread

 

  omnidbutil -info > info.txt

  omnidbutil -extendinfo > extinfo.txt

 

 

 

Frequent Advisor
Posts: 35
Registered: ‎12-19-2013
Message 31 of 43 (586 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

[ Edited ]

Hello Bob,

 

thanks for your reply.

I tried to check the media. I got the Error  "Medium not found".

Is it possible the Media was deleted in the meanwhile?

Maybe the error "Cannot open..." is reported because DP uses this media for a backup job at the time i checked the media?

If so, i will run the test again if no job is running.

 

See my two files attached.

 

Thanks!

Best Regards

Marco

HP Expert
Posts: 1,704
Registered: ‎08-14-2013
Message 32 of 43 (570 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

The output from 'omnidbutil -info' shows a moderately fragmented database.  This is determined by looking at teh Catalog' section of the output, and at teh ratio of REcords Used vs Records Total.  We like to see this  ratio as close to 100% as possible, certainly no lower than 90%, and you are starting to approach this boundry.

 

Nothing to get real excited about, but think about doing a 'writedb/readdb' fairly soon, which will clean up the IDB, and, if your reported problem was with the IDB, this may fix it

 

The output from 'omnidbutil -extendinfo' was also unremarkable, although you need to think about adding Tablespace Extension files to

 

Base file "dirs.dat":     
    Device               = C:/ProgramData/OmniBack/db40/datafiles/cdb     
    Number of extensions = 0     
    Maximum size         = 2097152 [kB]     
    Current size         = 1244064 [kB]
Maximum size with extensions = 2097152 [kB]
Current size with extensions = 1244064 [kB]


Base file "fn1.ext":     
    Device               = C:/ProgramData/OmniBack/db40/datafiles/cdb     
    Number of extensions = 0     
    Maximum size         = 2097152 [kB]     
    Current size         = 1566080 [kB]
Maximum size with extensions = 2097152 [kB]
Current size with extensions = 1566080 [kB]

 

as they are starting to get close to their maximum

Frequent Advisor
Posts: 35
Registered: ‎12-19-2013
Message 33 of 43 (562 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

Hi Bob,

 

ok. Fine. I will try your suggested "writedb/readdb" and add some extenstion files.

Additionally i added an attachement with an Error from my "DP Event Log".

 

Best Regards and Thanks!

Marco

 

 

Frequent Advisor
Posts: 42
Registered: ‎03-31-2014
Message 34 of 43 (541 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

Try:

omnidbutil -info


omnidbcheck -media_consistency
omnidbcheck -bf
omnidbcheck -dc
omnidbcheck -media <media name>

 

See media using: omnicellinfo -mm

 

Also see the CLI referrence document and get more info/commands.

Frequent Advisor
Posts: 35
Registered: ‎12-19-2013
Message 35 of 43 (503 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

Hello Bob,

 

sorry for the late response.

I ran today a "writedb" and "readdb".

Additionally i executed following Commands to purge my DB:

- omnidb -strip

- omnidbutil -purge -sessions 90

 


I added the Extension Files, too.

 

The good news:

- GUI much faster

 

The bad news:

- Same problem

 

Additionally information from my customer:

My customer told me he always delete some old "*.fd"-Files if got a "Mount Request" because insufficent Free Space on Disk. He deletes this Files over the MS Windows Explorer. Is this ok or whould you recommend another "Solution" to delete old Backups?

 

Thanks + Best Regards

Marco

 

 

HP Expert
Posts: 1,704
Registered: ‎08-14-2013
Message 36 of 43 (493 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

Thew correct way to remove the '.fd' files is to first, right-click and Recycle them.  The next backup that runs using this media pool will produce messages like "Removing media from slot [whatever]"

 

I read through the entire string of the Forum Article, and did not see if your Media Agent is just using a File Library, or if it is a StoreOnce Gateway

 

If it is a regular File Library, unprotected media is deleted, by default, once per day at noon.  The frequency can be increased by setting this item in the 'global' file on the cell manager

 

# DeleteUnprotectedMediaFreq=TimesPerDay

# default: 1
# limit: 1 <= DeleteUnprotectedMediaFreq <= 24
# This  period is  used  to  run  unprotected media deletion operation.
# If set to 1,  operation  is performed once per day (00:00),
# set to 2 two times per day (00:00,12:00), set to 3 three times
# per day (00:00, 08:00, 16:00),  set to 4 four  times  per  day
# (00:00, 06:00, 12:00, 18:00).  If maximum (24)  is  specified,
# operation will be started every hour.

 

If the Library is created as a Backup to Disk (B2D) device, you can run

 

  

omnimm -delete_unprotected_media

Frequent Advisor
Posts: 35
Registered: ‎12-19-2013
Message 37 of 43 (489 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

[ Edited ]

Hi,

 

ok. In the Future we will delete/recycle die FD-Files from die DP GUI.

The "FileLibrary" is a local Harddrive. So i think ist a "Regular File Library".

 

I saw there are a lot of Files without "Protection" and without "Location".

See Screenshot attached. Normal behavior? Should export the Media to delete ist from the Database?

 

Thanks!

 

Best Regards

Marco

HP Expert
Posts: 1,704
Registered: ‎08-14-2013
Message 38 of 43 (478 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

No, this is not expected behavior

 

YOu mentioned that your custoemr had deleted '.fd' files to make space on teh B2D device.  These may be orphanded by that process.  SInce they are not protected, you should be able to just Export them

Frequent Advisor
Posts: 35
Registered: ‎12-19-2013
Message 39 of 43 (464 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

I exported them without Problems.

Additionally i checked the conficured Protection Times and my space on my local Harddrive.

I realized my customer need about 32TB to save all Backups with the configured Protection Time. He just have 18TB Space... urgh...

 

Every day there runs a Copy to Tape Job. Is there a way to release Space on my harddrive if the copy Job to tape was successfully? If not, i will speak to my customer to add some more Space or decrease the Protection Time.

 

Back to Topic:

Do you have any other Ideas what i can try to solve my VMware Backup issue?

Meanwhile i tried to Backup a VM with "VEEAM". There where no Problems with full/diff/inc Backups.


Thanks!

HP Expert
Posts: 1,704
Registered: ‎08-14-2013
Message 40 of 43 (455 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

For any Object Copy specification, in the Object Copy Properties tab (last one on the right) , you have the ability to set the protection on the backup after a successful copy.  It will default to the original protection

 

You can set this to a lower value, say, one or two days, or remove the Protection on the Backup imediately.  This will result in the media for the backup session being able to be over-written or removed, which will happen every day at noon.  This should take the corresponding 'fd' (file Depot) file with it, and regain the disk space

HP Expert
Posts: 23
Registered: ‎09-04-2014
Message 41 of 43 (364 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

Hi,

 

I need some info for this:

You have set snapshot handling to single/mixed?

Your full CBT backups are passing?

You are using VMFS datastores?

This is happening for all VMs?

 

Frequent Advisor
Posts: 35
Registered: ‎12-19-2013
Message 42 of 43 (358 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

Hi,

Snapshot Handling: Single
Yes, full CBT backups are passed.
Yes, VMFS Datastores with Version 5
Mainly it happens to all VMs. Sometimes there is a VM which works for one or two days.

Meanwhile the Problem did not exist any more because my customer now backup his VMs with Veeam. (Unfortunatelly) It works perfect!
HP Expert
Posts: 23
Registered: ‎09-04-2014
Message 43 of 43 (339 Views)

Re: DataProtector 7.00 - VMs do a Full Backup instead a Differencial

[ Edited ]

Configuration sounds good. For what the actual problem is I would need to look into the logs. Maybe you should contact support I am sure they would be able to help you out.

 

Cheers!

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.