Unsolved
This post is more than 5 years old
1 Rookie
•
17 Posts
0
5108
March 11th, 2010 11:00
jCASScript for Mirgations
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?
TIA
Mark
No Events found!
gstuartemc
2 Intern
•
417 Posts
1
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?
mkochans
1 Rookie
•
17 Posts
0
March 11th, 2010 12:00
I need to do two things:
1. Re-created a file based on a CLIP found via DX FSMs getfileattr
2. Re-create a file based on the DX FSM and CUA filename. From ClipAttributes, it looks like the filename is the emcsf-filename attribute.
I will take a look at the SDK examples.
Thanks
holgerjakob_c0722c
2 Intern
•
337 Posts
1
March 12th, 2010 06:00
Hi Mark
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.
Holger
mkochans
1 Rookie
•
17 Posts
0
March 12th, 2010 09:00
The CDF has the path and file name.
I'll search the site, but where can I find AdvancedRecovery? I want to do what you described.
Thanks
gstuartemc
2 Intern
•
417 Posts
0
March 16th, 2010 05:00
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.
holgerjakob_c0722c
2 Intern
•
337 Posts
0
March 16th, 2010 06:00
Hi Mark
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.
Best regards,Holger
clarkhodge
11 Posts
0
June 28th, 2010 11:00
Mark,
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...)
..clark hodge
clark@storageswitch.com
StorageSwitch LLC
303.859.3321
mkochans
1 Rookie
•
17 Posts
0
June 29th, 2010 05:00
Yes, we have our migration done, just some clean up tasks. Thanks for asking.
Mark