MIGRATING DSPACE DATABASE FROM DSPACE 5.2 ON WINDOWS 7 TO DSPACE 6.3 ON UBUNTU SERVER 18.04

45 views
Skip to first unread message

Gerald Okeke

unread,
Feb 4, 2020, 7:09:18 AM2/4/20
to DSpace Technical Support
Greetings,

I seek assistance on how to migrate Dspace and database from Dspace 5.2 installed on WINDOWS 7 computer to fresh installation of Dspace 6.3 installed on Ubuntu Server 18.04. I have tried copying the Assetstore folder from the windows 7 to the Ubuntu server. But that did not work. I will appreciate help from anyone. Thank you!!

Best Regards,
Gerald

Claudia Jürgen

unread,
Feb 4, 2020, 8:20:49 AM2/4/20
to dspac...@googlegroups.com
Hello,

take a look at the AIP Backup and Restore
https://wiki.lyrasis.org/display/DSDOC6x/AIP+Backup+and+Restore

Hope this helps

Claudia Jürgen
--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia...@tu-dortmund.de
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax.

Claudia Jürgen

unread,
Feb 21, 2020, 3:18:53 AM2/21/20
to DSpace Technical Support

Hello Gerald,

54321 is your handle prefix, not a valid handle in itself.
Each community, collection and item will be assigned an individual
handle, which consist of prefix/[NUMBER] automatically.
In AIP you can specify 54321/0 in order to export the entire site, see
https://wiki.lyrasis.org/display/DSDOC6x/AIP+Backup+and+Restore#AIPBackupandRestore-ExportingEntireSite

Hope this helps

Claudia Jürgen


Am 20.02.2020 um 15:34 schrieb Gerald Okeke:
> Thank you Claudia,
>
> But I have challenges doing a backup to AIP on dspace. I ran the following
> command on cmd (windows)
>
> \dspace\bin\dspace packager -d -a -t AIP -e <eperson email> -i 54321
> ARHIVE54321.zip
>
> But I got an exception as seen in the picture below. Apparently it reads:*
> Bad identifier/handle -- cannot resolve handle ""54321"".*
>
> Prior to now, I had earlier ran an update command to change my handle from
> the default ""123456789"" to ""54321"" and the update command was
> successful.
> Here is the update command I used to update my handle: dspace/bin/dspace
> update-handle-prefix 123456789 54321.
>
> I presume that my new handle is now 54321.
>
> Pls note that this current Dspace is installed in a local area network and
> not hosted online. Now I am trying to migrate the dspace application from a
> windows machine to a proper server that has Ubuntu 18.03 OS but both will
> be running locally.
>
> I await you reply. Thank you so much for you assistance.
>
> Best Regards,
> Gerald Okeke
>
>
> [image: exception exporting a community on dspace to AIP format.jpg]
>> --
>> All messages to this mailing list should adhere to the DuraSpace Code of
>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dspace-tech/2becbc83-3042-77d6-571d-6d4d21aa274a%40tu-dortmund.de
>> .

Gerald Okeke

unread,
Feb 21, 2020, 5:10:37 AM2/21/20
to Claudia Jürgen, DSpace Technical Support
Thank you Claudia,

I tried using 54321/0 as handle prefix for the sitewide backup, but I still got the same error message. 
Please I would like to ask how I can get the specific prefix/[NUMBER] for the several communities I have on Dspace. I would like to learn how to backup and restore either as a community, collection or item.
I have also attached a screen shot of the exception I got when tried doing the sitewide backup. Since the exceptions still reads "Cannot resolve handle "54321" could there be a way to specifically confirm the handle no of the dspace by running a command?
Thank you,

Best Regards,
Okeke Gerald
 
exception exporting site.jpg

exception exporting site.jpg

Claudia Jürgen

unread,
Feb 24, 2020, 10:06:57 AM2/24/20
to Gerald Okeke, DSpace Technical Support
Hello Gerald,

you wrote earlier, that you ran update handle prefix script.
This will update handle values in the database.

Did you change the value in your configuration file as well?

Hope this helps

Claudia Jürgen

Gerald Okeke

unread,
Feb 24, 2020, 10:14:33 AM2/24/20
to Claudia Jürgen, DSpace Technical Support
I actually changed the Handle number back to the default "123456789" value. And then the backup was successful. I am trying to do a restore now. If I have any challenges I will get back to you. Thank you. 

Gerald Okeke

unread,
Feb 27, 2020, 3:39:47 AM2/27/20
to Claudia Jürgen, DSpace Technical Support
Dear Claudia,

Kindly find below the picture of the exception I got while doing the backup. Apparently it looks like some data ( communities/collections/items) were backed up. But the backup was not complete. I have attached a screenshot of the exception I got at the end of the backup process. Kindly assist me in addressing this issue. I tried doing a restore. But after some time I got another exception. Though some data were restored. But when I checked the Dspace site. I did not notice any change in Dspace Site. The few items restored did not show on the website.

SiteWideBackupException.jpg

Below is the screenshot of the data that was backup.  About 6gb of data.



ItemsExported.jpg
ItemsExported.jpg
SiteWideBackupException.jpg
Reply all
Reply to author
Forward
0 new messages