| | 117 | |
| | 118 | === How to reinitialize RASBASE === |
| | 119 | If you want to drop all data stored in rasdaman quickly for some reason: |
| | 120 | |
| | 121 | '''SQLite/Filestorage (default)''': |
| | 122 | 1. `stop_rasdaman.sh` |
| | 123 | 1. Let `RASDATA` be the directory specified in the host `-connect` option in `rasmgr.conf`, likely `/opt/rasdaman/data`; make sure it is indeed this directory (`ls $RASDATA/` should show `RASBASE`, `TILES/`, `TRANSACTIONS/`). |
| | 124 | 1. Drop the data: `rm -rf $RASDATA/*` |
| | 125 | 1. Initialize a brand new database: `create_db.sh` |
| | 126 | 1. `start_rasdaman.sh` |
| | 127 | |
| | 128 | '''PostgreSQL''': |
| | 129 | 1. `stop_rasdaman.sh` |
| | 130 | 1. Drop the data: `dropdb RASBASE` |
| | 131 | 1. Initialize a brand new database: `create_db.sh` |
| | 132 | 1. `start_rasdaman.sh` |