Changes for README.md: 12 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -5,3 +5,15 @@
This repository defines the VOSpace database structure.
It consists in a PostgreSQL database with the [ltree](https://www.postgresql.org/docs/12/ltree.html) extension. SQL files are named starting with a number because they are put in a Docker image where they have to be executed in order.
## Dump and restore
To restore the file catalog from a dump it is necessary to drop the generated columns and regenerate them after the import. This can be done using the restore_db.sh script located in the dump_and_restore folder of this repository.
To obtain a data only dump of the database use the following command: