On Fri, May 31, 2013 at 04:47:24PM +0530, A. Madhava Rao wrote:
> We are smoothly running the DSpace institutional repository in our
> institution, till now we are taking backup manually and storing the files
> on a hard disk.
> 
> But we wanted the DSpace to take backup automatically and store the files
> in a specified storage system, is it possible, please reply.

That depends on what you mean by "backing up DSpace".

The simplest method would be to set up a cron job to dump the database
to a file daily, and ensure that your regular automated system-level
backups include that dump and the DSpace assetstore(s).  The DBMS' own
files can be excluded from backups, because there's no guarantee that
a filesystem backup of a DBMS will be internally consistent; use the
dump file to restore the database.  With this method there is the
possibility that new submissions since the last database dump will be
reflected in the assetstore but not in the dump.

Another method, which produces fully consistent snapshots of the
repository, is to use DSpace's commandline 'packager' to export an
Archival Information Package for each object in the repository.  See:

  https://wiki.duraspace.org/display/DSDOC3x/AIP+Backup+and+Restore

DSpace is not going to automate any of this, nor should it try to
become an automated backup system.  Each site has its own requirements
for "backup".  You will need to write a few simple scripts and use OS
facilities to have them run on a schedule.  DSpace provides export
tools which can be driven by such scripts.

See also the various documentation sections on importing and
exporting, for other tools which can be used in crafting a backup plan.

-- 
Mark H. Wood, Lead System Programmer   [email protected]
Machines should not be friendly.  Machines should be obedient.

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to