Mathew
Mathew

Reputation: 19

How to backup dspace contents properly?

at dspace 3.2

i tried this.....pg_dump/psql (DB backup)

backup:

pg_dump -U username -f backup.sql database_name

restore:

psql -d database_name -f backup.sql

it works something like import DB.....stating alter table, create table etc. i restarted tomcat.....but only communities are came....when i enter in to that communities no records found. i already copied the assetstore at /home/dspace/

What are the minimum backup items for dsapce include DB....and how to do that properly....backup & restore??

Upvotes: 1

Views: 1566

Answers (1)

euler
euler

Reputation: 1411

perhaps this link from the documentation of DSpace can help you: Multi-Version Upgrade Tips and Tricks

Take a look at Option 2: Install Fresh and Upgrade your Data, there is a step by step instruction there.

Good luck.

Upvotes: 2

Related Questions