I am migrating off DiskXtender for NAS and a CUA. Not all files were able to be rsync copied, or UNIX copied. I have the CLIPs associated with the files, so I am thinking I can ClipRawRead. I have about 30000 files to copy.
Can jCASScript be used to ClipRawRead a list of CLIP IDs? I think the answer is "no". Is my only option to use the SDK?
Hi Mark - if you wamted to be ultra creative then you probably could script JCACScript to that using "here" files. But it would be pretty tiresome to do so - I point you to the BackupContent sample that comes with the SDK. It shows how to use the Raw API commands to backup a CDF (and its associated blobs) to a filesystem.
Similarly, you can restore such a backup "set" using the RestoreContent sample.
In your case, what are you actually attempting to do? All RawRead does is gives you a serialized version of the CDF associated with a clip. Are you needing to extract the metadata to determine the original filenames etc?
If you want to read back the content of the blobs then I would open the clip, find the filename in the tags and store the blob in that file.
Maybe the cdf also contains the path so that you could "restore" into a restore location, append the path and then restore into the filename.
This would be normal reads and not rawread calls.
We developed something similar in AdvancedRecovery. It allows recovering deleted information into files when the delete calls are replicated with a delay using DelayedDeletes.
Advanced Recovery is not a standard Centera feature, it is one of the many Centera integrated application that are available. I suggest that you PM Holger for details.
I'm sorry I didn't respond earlier. One of the many emails I meant to respond but being on the road by far too much...
AdvancedRecovery is one of our products. The functionality I referred to is based on the RetrieveContent SDK Example. It goes and checks if a blob exists and then reads it to the file specified.
You would need to iterate your tags and get the name of the blob and the path to store it to. Then open a stream and read the blob to the local file.
AdvancedRecovery itself would also not do the job for you as it currently does not provide a scripting interface.
Did you get your migration resolved issues? We have DX and CUA migration facilities with audit and compliance capabilities to help with migration from Centera. We also have 'importers' to move compliant FS data into Centera. (Of course our FS gateway is required when we do that...)
gstuartemc
2 Intern
•
417 Posts
1310
1
Posted March 11th, 2010 11:00
Hi Mark - if you wamted to be ultra creative then you probably could script JCACScript to that using "here" files. But it would be pretty tiresome to do so - I point you to the BackupContent sample that comes with the SDK. It shows how to use the Raw API commands to backup a CDF (and its associated blobs) to a filesystem.
Similarly, you can restore such a backup "set" using the RestoreContent sample.
In your case, what are you actually attempting to do? All RawRead does is gives you a serialized version of the CDF associated with a clip. Are you needing to extract the metadata to determine the original filenames etc?