Unsolved

This post is more than 5 years old

2 Intern

 • 

498 Posts

2436

November 7th, 2012 15:00

cli avtar on avamar grid to search backups - vm?

  • avtar --list --account=path_of_client --after="YYYY-MM-DD hh:mm:ss" --before="YYYY-MM-DD hh:mm:ss" --verbose | grep file_name
  • I cannot get this command to work for searching vm backups.
  • get error

avtar Info <5583>: Login User: "root", Domain: "default", Account: "/virtualcenter.mydomain.mycompany.com/VirtualMachines/myservershortname"

avtar Info <5580>: Logging in on connection 0 (server 0)

avtar Error <5126>: Login error 74: Account not found in the Avamar database

what I have for Account is exactly as the domain shows in the activity montor for this client

why does this not work for a windows vm.

2 Intern

 • 

2K Posts

November 7th, 2012 15:00

VMware clients have a GUID appended to their names in the Avamar user accounting system. In any case, this is not likely to do what you want it to do since the avtar listing for a VMware image backup will only show you the virtual machine files (VMX, VMDKs, etc.).

I'd recommend using FLR to browse VM image backups. Some of the support folks from the non-Windows Client (NC) team may be able to give you some hints about ways to mount the backups to an FLR proxy and poke around inside the VMDKs from the command line if you need to be able to do this without using the GUI.

2 Intern

 • 

498 Posts

November 7th, 2012 15:00

FLR does not help of you do not know the exact location and name of the file.

this command works of you want to search all of the backup for part of a name to find out where it is located. ( as well as get a list of file from each backup to see ownership permissions and date.

I figured out how to get the correct account from the backup log.

and doing that it works.... ..kind of..... it says it is looking at the backups but not really looking inside the backup of the vm.

so no way to search vm backups to find a file if you don't know where it is?

2 Intern

 • 

2K Posts

November 7th, 2012 16:00

Officially? No. The proxy is an appliance, etc., etc..

Unofficially? Well, theoretically if you can get the backup mounted to an FLR proxy and use VDDK commands to mount the virtual disks to a loopback device, you should be able to use Linux OS commands to find files inside the VMDKs. I can't be responsible for any information you might get from the support team in the course of troubleshooting an FLR issue. *cough*

No Events found!

Top