Hi Sharika
To protect your data and DSpace setup.
I suggest the following:
1. Copy the contents of the "assetstore" to a another server location as a
backup. The assetstore location is normally #dspace.dir/assetstore. See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Dspace/S04#DSpace_Folder
2. Dump the contents of the database and copy that to another server
location. See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Disaster_Recovery/Backups/Local
>>>
## Backup the Dspace postgres database which houses the catalog of the
digital assets ##
su - postgres -c "pg_dump dspace > /tmp/dspace-db.sql"
cp /tmp/dspace-db.sql $LOCAL_FOLDER/dspace-db.sql-$DOW
su - postgres -c "vacuumdb --analyze dspace > /dev/null 2>&1"
>>>>
Also see: https://wiki.duraspace.org/display/DSPACE/BackupRestore
Then you have backups in case a re-install fails.
Cheers
hg
On 14 September 2012 12:14, sharika menon <sharika.me...@tges.org> wrote:
> You mean to say I have to first uninstall tomcat and reconfigure it again
> and DSpace too. Are you sure by doing this I won't loss my data. Once I had
> upgraded dspace 1.7 to 1.8 and the worst case is that I lost my data. :(
>
> Now I had freshly installed this on a server, there were no error
> generated for past 6 months. I have to rethink about re-installation. Is
> there no other option ?
>
> One thing I remember is that I had changed the SMTP mail server IP twice
> as there was problem with our mail servers and now I had finally shifted to
> the old IP on 8th Sep 2012 and on 11 Sep 2012, I got this error. I dont
> think there's any connection its strange that next day I am not able to get
> the DSpace web-page.
>
> Can you guide me why is this HTTP 404 error generating ?
>
> On Fri, Sep 14, 2012 at 1:38 PM, helix84 <heli...@centrum.sk> wrote:
>
>> OK, don't panic. Your data is most likely safe even if the DSpace
>> installation or configuration is broken. The worst case scenario is
>> just that you would reinstall DSpace and it would find your existing
>> data.
>>
>> But first, let's try to configure Tomcat to find your webapps. You
>> were using method 1, but let's use method 2 now, it's quite simple and
>> doesn't require you to copy anything.
>>
>> Go to this page
>>
>> https://wiki.duraspace.org/display/DSDOC18/Installation#Installation-WindowsInstallation
>> scroll down to Step 8 and do the part starting "Alternatively, ..."
>> Point the path to dspace to your dspace installation directory, so
>> according to your dspace.cfg, you would have
>> docBase="/dspace/webapps/xmlui" for xmlui etc. After you finish
>> editing server.xml, restart Tomcat.
>>
>> Remember that if you use method 2 or 3, you won't have to copy webapps
>> when upgrading DSpace, Tomcat already knows where they're deployed.
>>
>> Regards,
>> ~~helix84
>>
>
>
>
> --
> Happy Networking!!
>
> Warm Regards,
>
> Sharika Menon
>
>
>
> *Be who you really are. – If you’re lucky enough to have something that
> makes you different from everybody else, don’t change. Uniqueness is
> priceless. In this crazy world that’s trying to make you like everyone
> else, find the courage to keep being your awesome self. And when they laugh
> at you for being different, laugh back at them for being the same. It takes
> a lot of courage to stand alone, but it’s worth it. Being YOU is worth it!
> *
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
--
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa
Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech