Re: [Dspace-tech] FW: Automatic scheduled backup for DSpaceusingopen source backup software (testing)

2007-08-02 Thread Jayan Chirayath Kurian
Thanks Christian, Mark, and Rob for your input. The backup procedure
works fine with DSpace 1.4.1/ Windows 2003 as outlined below.

Automatic scheduled backup for DSpace using open source backup software 

(1) Create a folder named PostgresqlBkp
(2) Copy postgresql - pg_dump.exe and all the library files in the
postgresql - bin directory to the PostgresqlBkp folder.
(3) Save the backuppgsql.java program to the PostgresqlBkp
directory. This program will take the dump backup of postgresql and save
it indicating the backup date as the filename. 
(4) Create a batch file (DataBKP.bat) in the PostgresqlBkp folder
for scheduling the backuppgsql.java program. The class name is
backupPGSQL executed using javaw. The backup is stored in the
PostgresqlBkp folder. 

cd C:\DOCUME~1\jayan\Desktop\PostgresqlBKP
javaw backupPGSQL

(5) The DataBKP.bat is scheduled using the Windows scheduler
(accessories - system tools - scheduled tasks)
(6) Download and install DeltaCopy software
(7) Create a folder named DSpaceBKP in a Server for storing the
backup.
(8) Create profiles in DeltaCopy software pointing to the following
folders for backup into the DSpaceBKP folder. Create a single profile
for a and b and a separate profile for c for facilitating easy
restoration of a and b using the DeltaCopy software.
a.  DSpace source folder
b.  Dspace installation folder
c.  PostgresqlBkp directory

(9) Create scheduled tasks for the DeltaCopy profiles (a, b, and c)
for backup into the DSpaceBKP folder.

The DSpaceBKP folder holds the entire DSpace backup data for
restoration. The DeltaCopy backup software is available at
http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp and the java program
can be send if any one wants to try this scheduled backup procedure. The
restoration works well with DSpace 1.4.1 on Windows 2003. I have tried
this after deleting the dspace default database (as well as installing
from scratch) and restoring using the pgAdmin utility. This procedure
will avoid middling with the command line interface and will make a live
DSpace backup process automatic. Please let me know if any one wants to
try this at their end.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark H.
Wood
Sent: Wednesday, August 01, 2007 11:16 PM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] FW: Automatic scheduled backup for
DSpaceusingopen source backup software (testing)

The first thing I would check is that the postmaster (the service that
mediates access to the database cluster) is running.  Connection
refused sounds like nothing is listening on port 5432 (or whatever
port you use for PostgreSQL).

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Typically when a software vendor says that a product is intuitive he
means the exact opposite.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to change metadata item language value ??

2007-08-02 Thread Claudia Jürgen
Hola Iago,

you may set the default language qualifier for metadata in dspace.cfg 
changeing:
# Default language for metadata values
default.language = en_US
to
default.language = es

The metadata field dc.language might be set for a collection in the 
template. There is no way to generally set dc.language.

hope that helps

Claudia Jürgen


Iago Tejeda schrieb:
 Hi Everybody,
 
 I'm working with dspace's version 1.4.1.I was looking after how to
 change the Item's language into spanish. If I get into edit item section
 a table appears and I can change the language input-box from 'en' to
 'es' (Spanish) but manually, is any way to does it automatically??
 
 Thanks Iago
 Universidade de Vigo (Spain)
 [EMAIL PROTECTED]
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to change metadata item language value ??

2007-08-02 Thread Iago Tejeda

Hi again,

I think I've expressed wrong in my previous mail. What I really want is 
to change the language of a metadata value inside a item.


For example,
I'd like to store the language value of dc.description.abstract in 
spanish (es), but on the other hand
some items like dc.type I prefer keeping the values' language  in 
English (en).


I've enclosed printed screen of Edit Item section where the items are 
showed.


Thanks to everybody.
Iago.
Universidade de Vigo (Spain)
[EMAIL PROTECTED]


Claudia Jürgen escribió:

Hola Iago,

you may set the default language qualifier for metadata in dspace.cfg 
changeing:

# Default language for metadata values
default.language = en_US
to
default.language = es

The metadata field dc.language might be set for a collection in the 
template. There is no way to generally set dc.language.


hope that helps

Claudia Jürgen


Iago Tejeda schrieb:

Hi Everybody,

I'm working with dspace's version 1.4.1.I was looking after how to
change the Item's language into spanish. If I get into edit item section
a table appears and I can change the language input-box from 'en' to
'es' (Spanish) but manually, is any way to does it automatically??

Thanks Iago
Universidade de Vigo (Spain)
[EMAIL PROTECTED]


- 


This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech





inline: dspace_print.JPG-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to change metadata item language value ??

2007-08-02 Thread Claudia Jürgen
Hi Iago,

you can only have different language qualifiers for metadata fields if 
you edit an item after it has been submitted.

There is no way to choose the language qualifiers during submission. The 
  dc.language property is allways used, it even overwrites template 
settings for some metadata.
This is still on the ToDo-List for i18n of DSpace.

Claudia Jürgen


Iago Tejeda schrieb:
 Hi again,
 
 I think I've expressed wrong in my previous mail. What I really want is 
 to change the language of a metadata value inside a item.
 
 For example,
 I'd like to store the language value of dc.description.abstract in 
 spanish (es), but on the other hand
 some items like dc.type I prefer keeping the values' language  in 
 English (en).
 
 I've enclosed printed screen of Edit Item section where the items are 
 showed.
 
 Thanks to everybody.
 Iago.
 Universidade de Vigo (Spain)
 [EMAIL PROTECTED]
 
 
 Claudia Jürgen escribió:
 Hola Iago,

 you may set the default language qualifier for metadata in dspace.cfg 
 changeing:
 # Default language for metadata values
 default.language = en_US
 to
 default.language = es

 The metadata field dc.language might be set for a collection in the 
 template. There is no way to generally set dc.language.

 hope that helps

 Claudia Jürgen


 Iago Tejeda schrieb:
 Hi Everybody,

 I'm working with dspace's version 1.4.1.I was looking after how to
 change the Item's language into spanish. If I get into edit item section
 a table appears and I can change the language input-box from 'en' to
 'es' (Spanish) but manually, is any way to does it automatically??

 Thanks Iago
 Universidade de Vigo (Spain)
 [EMAIL PROTECTED]


 - 

 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


 
 
 
 
 
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 
 
 
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] default locale of the DSpace interface

2007-08-02 Thread Tellier, Stephane
Hi,
 
Anyone knows what determines the default locale for the DSpace interface, 
especially when using the fmt:message tag? I thought it was the language 
options of the browser but it doesn't seem so...
(I'm not using the multi-lang patch).
 
Thanks.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] default locale of the DSpace interface

2007-08-02 Thread Claudia Juergen
Hi Stephane,

it's the locale of the jvm.

Claudia

 Hi,

 Anyone knows what determines the default locale for the DSpace interface,
 especially when using the fmt:message tag? I thought it was the language
 options of the browser but it doesn't seem so...
 (I'm not using the multi-lang patch).

 Thanks.
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now 
 http://get.splunk.com/___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Help - is automatic group membership possible ?

2007-08-02 Thread Clive Gould
Hi

I'm currently successfully using Marcelo's RADIUS Module to authenticate
DSpace under Linux against MS AD via Windows IAS. i.e.

DSpace - Freeradius - IAS - AD

I seem to recall reading somewhere that it is possible for users who are
authorised by LDAP and auto-registered by DSpace to be automatically added
to a group in DSpace at the same time as they are registered.

Is this possible with LDAP authentication?

If yes, is this also possible with RADIUS authentication??

Thanks very much

Clive

Clive Gould
HE PAL ICT
Bromley College






-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] RE : default locale of the DSpa ce interface

2007-08-02 Thread Tellier, Stephane
Effectively it seems to works if I rename Messages.properties to 
Messages_en.properties.
Thanks!!
 
BTW it works also with IE 6.0



De: Christian Voelker [mailto:[EMAIL PROTECTED]
Date: jeu. 2007-08-02 09:50
À: Tellier, Stephane
Cc: DSpace-tech@lists.sourceforge.net
Objet : Re: [Dspace-tech] default locale of the DSpace interface



Hello,

Am 02.08.2007 um 15:39 schrieb Tellier, Stephane:

 Anyone knows what determines the default locale for the DSpace 
 interface, especially when using the fmt:message tag? I thought it 
 was the language options of the browser but it doesn't seem so...

Yes, this works for us. We have two messages files,
messages_de.properties and messages_en.properties
and if you switch browser locale, you get the other
language. I did not try, but maybe it does not work
if you leave the default messages.properties. We
renamed it to messages_en.properties (I am not at
the live machine, just look into our local source
repository). Then, which browser you use for tes-
ting? I use either Firefox with Quick Locale Swit-
cher or Safari for MacOS. But Safari needs to be
restarted whereas Firefox doesnt, as long as you
dont want all the Firefox menues to be reloaded.

Bye, Christian


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Help - is automatic group membership possible ?

2007-08-02 Thread mfrodrigues



  I forgot to answer to the list. here goes the reply:

   I seem to recall reading somewhere that it is possible for users who are

authorized by LDAP and auto-registered by DSpace to be automatically added
to a group in DSpace at the same time as they are registered.


  You are almost right ;)

   Is this possible with LDAP authentication?

  As far as i know, it isn't supported in LDAP auth method.

   If yes, is this also possible with RADIUS authentication??

  But, its supported on the Radius auth! We needed an automatic  
method to add people to certain groups, and since we were building  
RADIUS we thought that we should make it as practical as possible.


  So, we support auto_add feature. Let me explain how it works:

  When it reads the Radius answer, it looks for an radius filed  
called Reply-Message. If you have Group_TEST=yes in the radius  
answer to that user, he will be added to the group TEST. If you have  
Group_TEST=no, the user will be removed from that group.


  note: you need to create the group by hand. It was an failsafe  
option we made, the have control of all groups.


  All logs are escaped to general dspace.conf

  Marcelo



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Help - is automatic group membership possible ?

2007-08-02 Thread Tim Donohue
Clive,

Clive Gould wrote:
 I seem to recall reading somewhere that it is possible for users who are
 authorised by LDAP and auto-registered by DSpace to be automatically added
 to a group in DSpace at the same time as they are registered.
 
 Is this possible with LDAP authentication?
 
 If yes, is this also possible with RADIUS authentication??

Although not possible out of the box, we've made a simple customization 
to leverage existing Active Directory groups in DSpace at UIUC.  It may 
not be the best implementation, but it works well so far...let me explain:

1) I've created a custom AuthenticationMethod which I've called 
UIUCSpecialGroups, which really only implements the 
getSpecialGroups() method to automatically add people to special 
groups for the life of their DSpace session.I've added this class to 
the list of Stackable Authentication Methods in the dspace.cfg to 
enable it.

2) The getSpecialGroups() method of that class is set up to query our 
local Active Directory, based on the user's netid, and ask for a list of 
all AD Groups this user is a member of.

3) After getting a list of all AD Groups this person is a member of, we 
then check DSpace to see if there is a group of the *same exact name*. 
In order to be a bit more careful, we actually look for a group of the 
same name with  [automated] appended to it (plus this lets us know 
which DSpace groups are actually managed by AD)

So, if a user belongs to an AD Group called:
Library Staff
We look in DSpace for a group named:
Library Staff [automated]

If a group of that name is found in DSpace, then we add the user to that 
group for the remainder of their session.

So, in a way we are automatically adding people to groups based on 
Active Directory memberships, but we are not auto-creating all AD Groups 
in DSpace (basically cause there are too many of them that DSpace would 
never use).  But, you could use that same sort of idea to replicate your 
AD groups into DSpace if you really wanted to.

As always, I'm glad to share code with those interested.  When I get a 
chance, I also may add something to the DSpace Wiki HowTo if others 
find this useful.

- Tim

-- 


Tim Donohue
Research Programmer, Illinois Digital Environment for
Access to Learning and Scholarship (IDEALS)
135 Grainger Engineering Library
University of Illinois at Urbana-Champaign

email: [EMAIL PROTECTED]
web:   http://www.ideals.uiuc.edu
phone: (217) 333-4648
fax:   (217) 244-7764


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech