[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] cmuImport not working



> On Monday 11 November 2002 13:02, Tom Cameron wrote:
>> Thanks Gerald,
>> The GUI on the hacked server did show all sites, but I only have one server
>> so I had to format it to do the restore so it nolonger exists.
>>
>> all I now have is the cmuExport data and a new OS restore (which now has a
>> partial restore).
>>
>> do you think using the -S flag on cmuImport will help? if i import again
>> over the top of the partial ones?
>>
> Wow! you might be in tough shape.
> I am not sure if you can run it again over the top of imported sites.
> You might have to delete them first.
> I can't see what you have to loose!


Two suggestions here: 
- Try doing a -n site by site import if you have a lot of sites you can a list
of them by doing:
$  grep "vsite id" cmu.xml |cut -f 2 -d \" &> /tmp/list
Then just add #!/bin/bash at the top file and add 
cmuImport -d /cmu-dir -n 
to the front of each vsite the run the bash script. 
- If the site has been partially imported, select the Merge option when it
detects the conflict.  

Hope this helps.

Jeff-