Mukesh A Pund Scientist NISCAIR

Slides:



Advertisements
Similar presentations
Introduction To GIT Rob Di Marco Philly Linux Users Group July 14, 2008.
Advertisements

Copyright line. Maintaining an Active Directory Environment Exam Objectives Backup and Recovery Backup and Recovery Offline Maintenance Offline Maintenance.
Focus on Your Content, Not on Ingesting Your Content Terry Brady Applications Programmer Analyst Georgetown University Library
International Household Survey Network Metadata Toolkit Trevor Croft MICS3 Data Archiving, Dissemination and Further Analysis Workshop Geneva - November.
Va-scanCopyright 2002, Marchany Unit 8 – Solaris File Systems Randy Marchany VA Tech Computing Center.
Digital Collections: Storage and Access Jon Dunn Assistant Director for Technology IU Digital Library Program
October 28, 2003Copyright MIT, 2003 METS repositories: DSpace MacKenzie Smith Associate Director for Technology MIT Libraries.
By: Lloyd Albin 9/28/2012. We are not talking about a Raspberry Pie.
The DSpace Course Module – Import and Export. Module objectives  By the end of this module you will:  Know how the batch import and export facility.
Hp education services education.hp.com 85 System Crash Dump Version C.00 H4264S Module 9 Slides.
Mukesh Pund Scientist, NISCAIR, New Delhi
DSpace CD Tutorial Workbook Stuart Lewis & Chris Yates
Technical Framework Charl Roberts University of the Witwatersrand Source: Repositories Support Project (JISC)
DataBase Administration Scheduling jobs Backing up and restoring Performing basic defragmentation and index rebuilding Using alerts Archiving.
Princeton PC Users Group Hard Drive Disaster! By Paul Kurivchack March 14, 2005.
DSpace Devika P. Madalli DRTC, ISI Bangalore.
FIRST COURSE Microsoft Access (Basics). XP Objectives Define the terms field, record, table, relational database, primary key, and foreign key. Learn.
A+ Guide to Software, 4e Chapter 4 Supporting Windows 2000/XP Users and Their Data.
Export/Import in Dspace & Backup ARD Prasad. Where Dspace stores data /dspace/assetstore directory will have all the  Bitstreams and licenses PostgreSQL.
Database Backup and Recovery
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
Backup & Recovery Concepts for Oracle Database
Chapter 5: System Software: Operating Systems and Utility Programs.
Backup policies Or - how not to get annoyed when you accidentally delete stuff. Warning - this does get a little technical.
Chapter 11 Compression, System Backup, and Software Installation.
Module - Technical Basics
Developing Interfaces and Interactivity for DSpace with Manakin Part 2: Technical and Conceptual Overview of Dspace and Manakin Eric Luhrs Digital Initiatives.
Offline File Storage. Module 12 Offline File Storage ♦ Introduction Backup is usually done by first collecting all the data in a single archive file,
Dspace 1 Introduction to DSpace Mukesh Pund Scientist NISCAIR, New Delhi.
Chapter Fourteen Windows XP Professional Fault Tolerance.
Please Note: Information contained in this document is considered LENOVO CONFIDENTIAL For Lenovo Internal Use Only Do Not Copy or Distribute!! For Lenovo.
The DSpace Course Module – Upgrading from 1.4 to 1.5.
Eurotrace Hands-On The Eurotrace File System. 2 The Eurotrace file system Under MS ACCESS EUROTRACE generates several different files when you create.
Unit R005: Understanding Computer Systems Introduction System Software Software (i.e., programs) used to control the hardware directly Used to run the.
1 All Powder Board and Ski Oracle 9i Workbook Chapter 9: Database Administration Jerry Post Copyright © 2003.
AIP Backup & Restore Sunita Barve NCRA, Pune. AIP The latest version of DSpace 1.7.0, supports backup and restore of all its contents as a set of AIP.
Week 7 : Chapter 7 Agenda SQL 710 Maintenance Plan:
IUScholarWorks Technical Overview Randall Floyd Digital Library Program Programmer/Database Administrator.
NHSC PACS How to Use getObservation And saveObservation To Access and Save Herschel Data in HIPE Yi Mei (NHSC/Caltech) Y. Mei NHSC Data Workshop – August.
How to Implement an Institutional Repository: Part II A NASIG 2006 Pre-Conference May 4, 2006 Technical Issues.
© 2008 Cisco Systems, Inc. All rights reserved.CIPT1 v6.0—1-1 Getting Started with Cisco Unified Communications Manager Installing and Upgrading Cisco.
IT1001 – Personal Computer Hardware & system Operations Week7- Introduction to backup & restore tools Introduction to user account with access rights.
DSpace - Digital Library Software
Licensed under Creative Commons Attribution-Share Alike 3.0 Unported License (CC BY-SA 3.0) To request other use: Integrating DSpace.
DSpace System Architecture 11 July 2002 DSpace System Architecture.
A Basic Introduction By Scott Phillips 2005/8/7. Agenda What is DSpace and what does it do? The DSpace Information Model Components & Features of DSpace.
Digital Library Syllabus Uploader Will Cameron CSC 8530 Fall 2006 Presentation 1.
Tutorial on setting up Zebra: A Z39.50 Server ARD Prasad DRTC Indian Statistical Institute Bangalore.
Chapter 19 File System Backup. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. Objectives To describe how files and directories can be archived.
Laserfiche Plus AA103 Eric Hu, Software QA Engineer Raymond Cruz, Software Support Engineer.
Software Structure The World Bank Christopher R. Bennett Director - Data Collection Ltd.
Microsoft SQL is known as RDMS (Relational Database Management System) which is developed by Microsoft and is highly used at corporate and enterprise.
DBMS ● What are they? ● Why used ● Examples? – Oracle – Access – MySQL – Postgres – SQLServer – Sqlite.
Class Agenda – 09/07/2011 Present computer data organization
Filesystem Management and Backups
Navigation and File Management
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
UBUNTU INSTALLATION
Dspace Statistics: Google Analytics, Solr
BIF713 Managing Disk Space.
Introduction, Features & Technology
Backup your Data © EIT, Author Gay Robertson, 2017.
Migration to SharePoint 2013
Introduction to DSpace
Implementing an Institutional Repository: Part II
Operating Systems Tasks 17/02/2019.
Have you seen this screen?
Implementing an Institutional Repository: Part II
How to Implement an Institutional Repository: Part II
Database Backup and Recovery
Presentation transcript:

Mukesh A Pund Scientist NISCAIR DSpace Import, Export & Backup Mukesh A Pund Scientist NISCAIR

Backup Vs. Export/Import Backup is meant for guarding the data from disk crash, virus attack, hacking or any calamity Export/Import is meant for exchange of digital objects across repositories

Hardware Required for Backup Any one of the following CD-ROM/DVD-ROM DAT Drive External Hard disk Another system on the LAN

DSpace Directory Structure /dspace/assetstore /dspace/assetstore (bitstreams – most important) /dspace/bin (commands to be used at command line, can always be generated from dspace-source files /dspace/config (you might have customized it, one time backup is good enough) /dspace/handle-server

DSpace Directory Structure /dspace/lib (can always be generated from dspace- source) /dspace/logs (essential to generate statistical reports and bug tracing) /dspace/reports (can be generated from Log files) /dspace/search (can be regenerated using index-all command)

Where DSpace stores data /dspace/assetstore directory will have all the Bitstreams and licenses PostgreSQL databases contains information on Communities Collections e-groups E-persons, thier passwords Host of other information

What should be Backedup Your DSpace postgreSQL database /dspace/assetstore (minimum backup) /dspace (entire directory)

Creating Backup Directory Create one directory where backup files will be stored Eg #mkdir /dspacebkp #chmod 777 /dspacebkp

tar Command (compress) To back up /dspace directory $tar zcvf /dspacebkp/dspace150508.tar.gz /dspace To back up only /dspace/assetstore $tar zcvf /dspace/asset150508.tar.gz /dspace/assetstore

Untar (uncompress) To untar and unzip the tar.gz file, you may use the following command $tar zxvf /dspacebkp/dspace150508.tar.gz WARNING:The safer approach is to use the above command in temp directory and copy it to dspace directory only after successfully untaring the file

Backup of database The following commands are for Postgresql database backup Run pg_dump as dspace user Ex: $ su - /dspace /usr/local/pgsql/bin/pg_dump dspace > /dspacebkp/dspace_db_150508

Backup of database Where dspace is name of the database /dspacebkp/dspace_db_150508 file is backup file in which all the table definitions and contents will be stored

Restoring the backup data One can use any of the following commands: psql command OR pg_restore

Restoring the Database WARNING: You do not need to restore, unless your data got corrupted. Not to be used as a routine Of course backup should be done periodically

Using psql to Restore $ psql -d dspace -f /dspacebkp/dspace_db_150508 Where dspace is the name of database dspace_db_150508 is the backup file taken on 15th May 2008.

Using pg_restore to Restore pg_restore -d dspace /dspacebkp/dspace_db_150508 More options of pg_restore can be explored by $ man pg_restore

Export/Import in Dspace Not to be used as a backup mechanism Export and import deal only with bitstreams, metadata, license and handles You can export or Import An item or A collection

Export

Importing

What is exported The following files will be created for every item dublin_core.xml ( metadata) Handle ( one line having the handle number) license.txt Actual file ( bitstream: could be pdf or doc or an image file) Contents (with two lines – license file name, and actual bitstream name)