Thank you for the answer.
What do you mean under word "import"?
I just copied assetstore before pg_dump and copied it back after 
pg_restore. Is it right?


пятница, 26 марта 2021 г. в 16:03:54 UTC+2, [email protected]: 

> Don't see the files?
>
> Did you import the assetstore directory? 
>
>    - [dspace]/assetstore
>
>
> Em sex., 26 de mar. de 2021 às 10:03, Maya Zbitneva <[email protected]> 
> escreveu:
>
>> 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
>>  
>> <https://groups.google.com/d/msgid/dspace-tech/a098cd6e-2d12-4e49-8084-07ed5b2cb6ffn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> At.te, 
>
> José Geraldo
>
>

-- 
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/1413de05-884c-4568-89ba-469e0b6261ean%40googlegroups.com.

Reply via email to