Page 1 of 1

imagel command line

Posted: Mon Feb 27, 2012 1:18 am
by temp51423
I'm able to backup a vmware .vmdk in the program:
--------------------------------------------------------------------------
[ 2/26/2012 2:33:21 pm] Image for Linux 2.69
[ 2/26/2012 2:33:21 pm] Starting ...
imagel --b --v0:"/mnt/data/vmware/Virtual Machines/WindowsXPPro/WindowsXPPro.vmdk" --d:v0 --f:"/mnt/images/20120226" --raw --skp:0 --skh:0 --comp:0
[ 2/26/2012 2:33:21 pm] Backup: Drive 0 (VIRT) Entire Drive (RAW) 8192 MiB
[ 2/26/2012 2:33:21 pm] To: /mnt/images/20120226.tbi
[ 2/26/2012 2:39:22 pm] INFO: Total Sectors:16777216 Total Allocated:16777216
[ 2/26/2012 2:39:22 pm] INFO: 16777216 Sector(s) backed up
[ 2/26/2012 2:39:22 pm] Operation Completed with Error Code 0
[ 2/26/2012 2:40:24 pm] Stop

but get an error when issuing on the command line:
-------------------------------------------------------------------------
[ 2/26/2012 7:58:27 pm] ./imagel --b --v0:/mnt/data/vmware/Virtual Machines/WindowsXPPro/WindowsXPPro.vmdk --d:v0 --f:/mnt/images/20120226 --raw --skp:0 --skh:0 --comp:0
[ 2/26/2012 7:58:27 pm] Invalid parameter: --v0:/mnt/data/vmware/Virtual Machines/WindowsXPPro/WindowsXPPro.vmdk
[ 2/26/2012 7:58:27 pm] Program exiting with error code 61

The command line was issued with quotes (which are missing in the log file) as there is a space in the path. Tried escaping the quotes, etc, should this work?
Any way to save Virtual Drives instead of having to set them up each and every time?

Re: imagel command line

Posted: Mon Feb 27, 2012 1:57 am
by TeraByte Support(PP)
Did you try all the different methods of surrounding the option with quotes? They are shown on page 71 of the manual.

Are you running the command from the IFL command line or from a booted Linux system?

I would try one of these:

Code: Select all

--b "-v0:/mnt/data/vmware/Virtual Machines/WindowsXPPro/WindowsXPPro.vmdk" --d:v0 --f:/mnt/images/20120226 --raw --skp:0 --skh:0 --comp:0
--b --v0 "/mnt/data/vmware/Virtual Machines/WindowsXPPro/WindowsXPPro.vmdk" --d:v0 --f:/mnt/images/20120226 --raw --skp:0 --skh:0 --comp:0

Re: imagel command line

Posted: Mon Feb 27, 2012 11:03 am
by temp51423
Those both work, I must've been in the wrong manual (DOS/Windows) as I totally missed pg. 71.
Thanks.