jdespres
3 Argentium

howto avtar wintel dos command

I would like to learn how to run the avtar command on a wintel system from the

DOS window....

How would I setup the avtar command to restore the whole F drive ?

Maybe the D drive?

Thanks...

Joe Despres

Tags (2)
0 Kudos
2 Replies
rpervan
3 Argentium

Re: howto avtar wintel dos command

Joe,

> How would I setup the avtar command to restore the whole F drive ?

First of all you have to list the backups for specific client:

  # avtar --backups --verbose --list --id=<USER_NAME@/DOMAIN_NAME> --path=<DOMAIN_NAME/CLIENT_NAME>

Then to pick up what you want to restore ... and build "avtar" syntax:

  # avtar --extract --label=<"Label_Name"> --id=<USER_NAME@/DOMAIN_NAME> --path=<DOMAIN_NAME/CLIENT_NAME> --target=<"DESTINATION_TARGET_NAME"> <"FILE_YOU_WANT_TO_RESTORE">

f.x

  # avtar --extract --label="Windows" --id=MCUser@/TestDomain --path=/WinDomain/Windows2003 --target="F:\" "F:"

If you want to do relocated restore .... something from F will be restored to the C:\temp

# avtar --extract --label="Windows" --id=MCUser@/TestDomain --path=/WinDomain/Windows2003 --target="C:\temp" "F:\test\file.txt"
> Maybe the D drive?
  # avtar --extract --label="Windows" --id=MCUser@/TestDomain --path=/WinDomain/Windows2003 --target="D:\" "D:"

regards,

.r

jdespres
3 Argentium

Re: howto avtar wintel dos command

I will give this a try!

Thanks!

Joe Despres

0 Kudos