Page 1 of 1

istool: help with import error

Posted: Fri Nov 14, 2014 1:31 am
by sam paul
One of my teammate has imported a wrong version of code to my project. But before that luckily, my export command ran which created a backup *.isx file.

I am using the following command to import the isx file.

cd <cli path>
./istool import -dom xx:xx -u xxx -p xx -ar <Path>/SG_backup.isx -replace -ds ' "<servername>/<Projectname>/Jobs/*/*.*" ' > ~/ds.log

But i am getting the following error.

[139/139] <servername>/<Projectname>/Jobs/Jobname.sjb failed
Incorrect target


Can someone point out what is wrong i am doing.

Cheers!!!

Posted: Fri Nov 14, 2014 1:36 am
by chulett
Let's get you into your own post rather than piling on the end of one from 2009... done.

Posted: Fri Nov 14, 2014 1:52 am
by sam paul
Yeah chulett.. I too thought so,, so i have created my own post. Can you point out as what wrong i have done.

Posted: Fri Nov 14, 2014 5:46 am
by qt_ky
Try cutting off the -ds option sooner and without double quotes... This works for me. There is a -verbose option you may choose to use too.

Code: Select all

-ds '<servername>/<Projectname>'

Posted: Fri Nov 14, 2014 8:16 am
by chulett
sam paul wrote:Yeah chulett.. I too thought so,, so i have created my own post. Can you point out as what wrong i have done.
That's just it, you didn't create your own post but replied to the old one you found. Next time please use Post new topic to start a new discussion.

Use Reply to topic to add to the current discussion.

Posted: Fri Nov 14, 2014 9:06 am
by roy
I don't have access to the server :(
But if I'm not mistaken you issue an archive command and not an import command !