imagel command line

User discussion and information resource forum for Image products.

imagel command line

Postby temp51423 » Sun Feb 26, 2012 6:18 pm

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?
Posts: 11
Joined: Sun Feb 26, 2012 5:57 pm

Re: imagel command line

Postby TeraByte Support(PP) » Sun Feb 26, 2012 6:57 pm

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
Paul Purviance
TeraByte Support
TeraByte Support(PP)
Posts: 1089
Joined: Thu Aug 11, 2011 5:51 pm

Re: imagel command line

Postby temp51423 » Mon Feb 27, 2012 4:03 am

Those both work, I must've been in the wrong manual (DOS/Windows) as I totally missed pg. 71.
Posts: 11
Joined: Sun Feb 26, 2012 5:57 pm

Return to Image for DOS/Linux/Windows