Good day!

Could you help me please to solve the problem:

I tried to make Backup and Restore procedure 

https://wiki.lyrasis.org/display/DSDOC6x/Storage+Layer#StorageLayer-MaintenanceandBackup

using PostgreSQL Backup and Restore 
<http://www.postgresql.org/docs/current/static/backup.html> methods. 

I used two scenarios:

First one:

1) pg_dump dspace > dspace.sql

2) stop tomcat

3) dropdb dspace

4) createdb --username=postgres --owner=dspace --encoding=UNICODE dspace

5) psql -d dspace -f dspace.sql

6) start tomcat

Second one:

1) pg_dump dspace -F c -f dspace.dat

2) stop tomcat

3) dropdb dspace

4)createdb --username=postgres --owner=dspace --encoding=UNICODE dspace

5) *pg_restore -d **dspace** d**space**.d**at*


*6) start tomcat.*

*And I obtained **the following result: I restored communities, 
collections. And I did not restore items in all collections in both 
scenarios.*

*Question: What i did **wrong**? * 


-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/a098cd6e-2d12-4e49-8084-07ed5b2cb6ffn%40googlegroups.com.

Reply via email to