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 policie...
  • davidmoline's avatar
    davidmoline
    6 years ago

    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.