Hi Vinicius,
In the database, all paths to bitstreams are *relative* to the configured "dspace.dir" location (in your dspace.cfg). So, if you move your DSpace installation, just be sure to update your "dspace.dir" configuration to the new location. After that, bitstreams should be found under their new location.
Tim
--
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To post to this group, send email to dspace-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.
-- Tim Donohue Technical Lead for DSpace & DSpaceDirect DuraSpace.org | DSpace.org | DSpaceDirect.org
Hi Vinicius,
The "bitstream.source" column is simply used as provenance
metadata, essentially it's a record of where the bitstream came
from and what it's initial name was. It is not used to store or
locate the file/bitstream after it is uploaded into DSpace.
After a file is uploaded into DSpace, the *internal_id* actually
represents its location on the filesystem. The internal_id column
looks like a random set of numbers, but it actually represents the
relative path of the file within the [dspace.dir]/assetstore/
folder
As a basic example, if the internal_id was 123456789, the DSpace would look for that file at [dspace.dir]/assetstore/12/34/56/123456789
More information on how Bitstreams are stored in DSpace and referenced by the "internal_id" column is available at:
https://wiki.duraspace.org/display/DSDOC4x/Storage+Layer#StorageLayer-BitstreamStore
So, the simple answer here is that, after moving your entire [dspace.dir] folder (and subfolders) to the new location, all you should need to update is the "dspace.dir" setting in your dspace.cfg. After that, DSpace will find all your files automatically under the [dspace.dir]/assetstore/ folder.
- Tim