Hi Ming,

Jackrabbit stores only binary data (bytes) to the data store. The file name 
which is automatically generated results of the hash of the binary.

If you want to store a file name at the repository, you can add a property to a 
node. 

To answer your questions:

1. The mapping is between the file content and the Jackrabbit file name.
2. That's not possible, because Jackrabbit doesn't have the information of the 
file name, it is just a binary. Store the file name as property, so you can 
receive the binary and the file name through Jackrabbit, but not from outside.
3. You can backup all files in the data store, they are just files in the file 
system. But you cannot restore helloworld.txt, because it has some different 
name d5a8c7132392.

Regards, Robert

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Gesendet: Mittwoch, 26. Januar 2011 06:57
An: [email protected]; [email protected]
Cc: [email protected]
Betreff: File admin on JackRabbit file system

Dear all,

It is my first time placing in this mailing list.  Not sure if I do it right.

We are now storing file on file system.  We aware that the original file name 
is not retained, and has been coded into different file name.  (e.g. 
helloworld.txt -> d5a8c7132392)  May I know
1. Is it a one-one mapping between the original file and the coded file by 
JackRabbit?
2. How can I recover the original file name (e.g. helloworld.txt) from the 
coded file name?
3. For administration purpose, our power Unix admin may need to backup and 
recover file from the file system directly (not through Jackrabbit).  Is it 
possible and how can I do it?

Thank you very much



      

Reply via email to