cancel
Showing results for 
Search instead for 
Did you mean: 

Questions about Alfresco Repository

claudio2009
Champ in-the-making
Champ in-the-making
Hi community,

I've some questions about Alfresco's repository.
I learned Alfresco uses a database for store meta-data,rules,actions and uses a repository (folder alf_data) to store content of files.

As i see, Alfresco don't maintain the name and extension of stored files but convert them into a .bin format and i can't touch them.

My question is:

If next year, I wanna change my ECM (new product,technology and so on) how can I regain my original file name and extension?
Use alfresco web-client and download every single file is not a valid option.


Thanks in advance for your reply.
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
Thre are lots and lots of options.

If all you need is to "see the original files" then use one of the remote file system projections of alfresco .  There's a long list including cifs and ftp that you can just use an OS command to copy out the files.      Or if you need to maintain your alfresco metadata you can use an ETL tool.   Or use the export facilities from alfresco.  Or write your own programs to pull the content from alfresco and stick it in your new system.

claudio2009
Champ in-the-making
Champ in-the-making
Ty for your reply mrogers.

I did some tests

use the export facilities from alfresco

If you means to export / import ".ACP files", this does not satisfy my request because the files are shown as content0.bin content1.bin and so on.

There's a long list including cifs and ftp

I tried the CIFS protocol in July and I remember having discarded this option because of crashes and errors.
Obviously, when I will update Alfresco,i will retry to test it.

Seems FTP protocol satisfy my requirement.
According the wiki i create the directory subsystems/fileServers/default/default/   in    tomcat/shared/classes/alfresco/extension
and i copy-pasted from global path the following files:

-custom-servers-context.xml 
-file-servers.properties

in properties i made these change


cifs.enabled=false

… "cifs parameters"

ftp.enabled=true
ftp.port=21
ftp.ipv6.enabled=false
ftp.bindTo=
ftp.rootDirectory=/Alfresco
ftp.charSet=utf-8

In this way is a good setup or i need to know more?

Now i have another question:

In future, i wanna move Alfresco repository and the database on a different machine from where I installed Alfresco.
If Alfresco's machine blow up (media failure) the remote file system CIFS FTP are inactive, so, how do I reach the contents?

Sorry for my english and thanks for your patience,
Claudio

Only for info:
Server:  Virtual Machine OS Ubuntu 9.04 & Alfresco 3.2 community nightly build 14-07. (i will upgrade at 11 september)
Client: Windows

mrogers
Star Contributor
Star Contributor
If your machine "blows up" then you put your disaster recovery plan into action and
restore that backup onto another machine.         

As with any other IT system if you care about the data then backup is vital.

shamabbas
Champ in-the-making
Champ in-the-making
Hi all,
I wrote java code using web services client to upload and download files into and from alfresco repository. Uploading successfully working and so download is. Download has a lil issue hopefully il resolve it soon.
BUT i wanted to ask that the path
http://localhost:8080/alfresco/service/sample/folder/Company%20Home  where our uploaded file get stores if we want to retrieve them and

if move cursor to file it shows the following URL http://localhost:8080/alfresco/service/api/node/content/workspace/SpacesStore/d2edd2fa-b576-4a09-b46... hence by clicking we can download it.

Is there any method from where i can call this URL   "http://localhost:8080/alfresco/service/api/node/content/workspace/SpacesStore/"  ,  index i know how to call il do so and then file name too but the URL is being used before these two things can i use it dynamically? Calling any function??? or ANYHOW????

Please help as soon as possible.. ill be very thankful to you guys!!!!