Announcement Banner

Castromotorbox

updated

14 years ago

C

Castromotorbox

2 Intern

•

217 Posts

0

5551

June 11th, 2012 01:00

VCB Directive

Hi,

As we are using VADP Backup with SaveSet *FULL*, we would like to use the VCB directive.

Three question about that:

  1. In Networker, in the Directive field of VCB directive, there is nothing. Is that normal? Would the directive working like that? Should we write the file that we want to skip?
  2. What will hapenning with Linux VM?
  3. As we have 300 VM to update, I would like to do it thru the Command Line. I've already found who to do that. I just don't know how to force the yes answer for every client I want to update. Is ther a way?

Thanks a lot for your help.

Regards,

Greg

  • coganb

    736 Posts

    2763

    0

    Posted June 20th, 2012 05:00

    Hi,

    The VCB directive is not applicable with FULL image level backup. It applies to level Full backup of ALLVMFS, and incremental backups of ALLVMFS and *FULL* incremental.

    The '2>&1'  just means - put everything in the file, not on the screen.  For a more technical explanation, try here:

    http://www.mathinfo.u-picardie.fr/asch/f/MeCS/courseware/users/help/general/unix/redirection.html

    -Bobby

  • Castromotorbox

    2 Intern

    •

    217 Posts

    1728

    0

    Posted June 11th, 2012 06:00

    Hello,

    I found some Answer.

    1.

    Note: The skips in the VCB directive are handled internally. An empty directive

    specification when viewing the directive resource in the NetWorker Console or the

    nsradmin interface is expected behavior.

    2. still

    3. I update my ressource with an input file.

    show name;save set;directive;client OS type

    . type:NSR client;save set:*FULL*;client OS type:Windows NT Server on Intel

    update directive:VADP directive Windows

    Thaks for your help

  • cmartinjr

    40 Posts

    1728

    1

    Posted June 11th, 2012 06:00

    Hello,

    1) I don't have anything in my vcb directive either. I'm running 7.6.3.4 and am not sure if when you update to at least 7.6.2 it "blanks" out the directive because vadp is used now instead of vcb.  I never used that directive when we used vcb though.

    2) Networker tells vcenter to take a snapshot of the linux vm, then your proxy mounts the snapshot and backs it up.  Still won't be able to do a file level restore with linux vm's though.

    3)I don't get prompted whenever I update clients in bulk using nsradmin.  I just give the field an "update" command.

    If you're updating all clients in your environment you could use something like this (if you were updating something like browse and retention policy) and wanted to run an nsradmin -i FILENAME:

    . type: NSR client
    show Name:
    show retention policy:
    print
    update browse policy: 2 Weeks
    update retention policy: 2 Weeks

    If you're updating a group you can do something like this and wanted to run an nsradmin -i FILENAME::

    print type: NSR client;name:CLIENTNAME

    update comment:COMMENTFIELDTEXT

    update Proxy backup host:VADPPROXYHOST

    Hope this helps..

  • Castromotorbox

    2 Intern

    •

    217 Posts

    1728

    0

    Posted June 11th, 2012 07:00

    Hello,

    Thanks for your answer.

    Well, I still have my question with this VCB directive.

    Cause as we have a lot of Windows VM, I guess with what I 've reading until now, that's exclusion still possible on VADP Backup with Windows VM (cause there it's possible to doing file level recovery).

    Am I wrong?

    Thanks.

    Greg

  • Castromotorbox

    2 Intern

    •

    217 Posts

    1730

    0

    Posted June 18th, 2012 01:00

    Hello,

    Anybody to help me?

    Thanks in advance.

    Greg

  • coganb

    736 Posts

    1730

    0

    Posted June 18th, 2012 01:00

    Hi Gregoire,

    The NetWorker-VMWare Integration Guide p. 20 states that the VCB directive is still valid:

    Extract:

    "

    VCB directive

    The VCB directive is supported in the following two scenarios:

    ◆ When the save set is *FULL* and the backup level is either incremental or any non

    level-0 backup.

    ◆ When the save set is ALLVMFS, irrespective of the level of backup.

    Note: This directive is only applicable for VMs running the Microsoft Windows operating

    system.

    For the backup, the directive can be specified in the VM client properties.

    The VCB directive skips the following files and folders:

    ◆ pagefile.sys

    ◆ hiberfil.sys (Hibernation file)

    ◆ WINDOWS\system folder

    ◆ WINDOWS\System32 folder

    "

    Does this answer your question?  If not, please describe exactly what you need to know.

    -Bobby

  • coganb

    736 Posts

    1730

    1

    Posted June 18th, 2012 03:00

    Hi,

    I don't have any direct experience with this directive, but I'd presume that you need to assign this for it to work - if it's blank, then it won't be in operation.  In order to check what files exactly are backed up in your backup, you should run a dummy recover:

    recover -s [nw_server_name_here] -n -S [ssid_here] > dummy_recover 2>&1 

    the '-n' means that it will not recover any data but will output to the file what would have been recovered by a recover of the entire saveset.  By checking the file dummy_recovery, you can see exactly what is backed up for this saveset and make sure it is what you expect.  Be sure to run this against a full backup, so you are sure that you have everything.

    -Bobby

  • Castromotorbox

    2 Intern

    •

    217 Posts

    1730

    0

    Posted June 18th, 2012 03:00

    Hello Bobby,

    Thanks for your answer. The two last points of my question are:

    - In my case, the directive field in VCB directive is empty in Networker. Is that correct, or schould we put anything in?

    - Who can I check that this File are really skipped in my backup.

    Thanks again.

    Greg

  • Castromotorbox

    2 Intern

    •

    217 Posts

    1326

    0

    Posted June 18th, 2012 05:00

    Hi,

    No it's not has I do a dummy restore based on a saveset ID. So i cannot be from a previous one.

    Greg

  • Castromotorbox

    2 Intern

    •

    217 Posts

    1730

    0

    Posted June 18th, 2012 05:00

    Hi,

    I have tries the dummy recover and I get a C:\pagefile.sys, C:\windows\System32 and system folder in the list. So it seem that my directive is not working...

    I 'll try to update the directive this way:

    <>

    skip: pagefile.sys

    skip:hiberfil.sys

    < >

    +skip:system

    +skip:System32

    Do you think it could work? And what happen if I launch the backup mnually thru the savegrp command... Will the directive be applied or it is working only with scheduled backup?

    Thanks.

    Greg