dspace - How to restore PostgreSQL database to initial state as it was after fresh install -


i using postgresql database dspace project. inserted records in tables want script of database become empty contains data in table automatically inserted during fresh install.

[dspace]/bin/dspace database clean [dspace]/bin/dspace database migrate 

swap in actual dspace install directory [dspace].

according the official dspace documentation:

running "dspace database clean" followed "dspace database migrate" return database fresh install state


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -