Forum Discussion

noazara's avatar
noazara
Level 6
6 years ago

vm full backup

We are facing escalations because of skip of FULL backups from 1000 of VM in the environment.

We have around 20 deactivated policies and 50 activated policy.

We are using intelligent VMware policies.Please suggest any method.

  • Okay - I see the problem - the position of the "done" in the for loop - I missed that previsouly.

    Try this instead:

    for in `cat allvmpun1235.txt`;do echo "Client:$i";./bpimagelist -d 06/01/2019 00:00:00 -e 06/17/2019 00:00:00 -client $i -l | awk '/^IMAGE/ {print $2, $7, $11}' | egrep -i "week|Full"; done

    Previously the egrep was removing the "Client: $i" line from the output - my mistake for not testing.

     

  • You're going to have to provide more information for us to try to help you.

    Are the 'skipped' VM's failing with a status 196 because they didn't run during their available window?
    What version of NetBackup are you running on master/media servers?
    What version of vSphere are you running?

    • noazara's avatar
      noazara
      Level 6


      Are the 'skipped' VM's failing with a status 196 because they didn't run during their available window?

      Sometimes some VM are failed with some error and sometimes with other error.there are 1000 VM in the environment.It is difficult for us to see what VM has not run in last 2 weeks.

      I need something script or command so that i can run and look what all VM dont have FULL backup from last 2 week.(Active policies clients) and also the NON VM policy type(MS windows clients)

       


      What version of NetBackup are you running on master/media servers?

      NBU 7.7.3

      What version of vSphere are you running?
      6.0.0

      • noazara's avatar
        noazara
        Level 6

        I somehow manage to have the list of ACTIVE VM in the environment.

         

        Now i onlt need the bpimagelist syntax to get all those VM who do no have full backup from 1 april to 26 april 2019.

        Below command is giving me what all we have.But not what all we dont have

        for i in `cat allvm26-4-2019.txt`;do ./bpimagelist -d 04/01/2019 00:00:00 -e 04/26/2019 00:00:00 -client $i -l; done|awk '/^IMAGE/ {print $2, $7, $11}'|egrep -i "week|biweekly|weekly"

         

        i need the systax that can give what all we dont have in weekly FULL backup. i.e what all clients who dont have weekly full backup from 1 april to 26 april

         

         

         

    • noazara's avatar
      noazara
      Level 6

      Thanks Mouse.

       

      i need the list of active netbackup VM (those are in the active NBU policy) who do not have the FULL backup from last 15 days.

      Need to know the command or script (for both VMware clients-using Intelligent policies and MS windows clients) to find out the list of who do not have the FULL backup from last 15 days.

      • Mouse's avatar
        Mouse
        Moderator

        OpsCenter has this information, you can write a custom SQL query for this.