https://github.com/zebrajaeger/opencms-restore
Maven task for fast develop of opencms. Is supports dump and restore of the database
https://github.com/zebrajaeger/opencms-restore
Last synced: about 2 months ago
JSON representation
Maven task for fast develop of opencms. Is supports dump and restore of the database
- Host: GitHub
- URL: https://github.com/zebrajaeger/opencms-restore
- Owner: zebrajaeger
- License: mit
- Created: 2018-05-27T11:10:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-27T13:03:32.000Z (almost 7 years ago)
- Last Synced: 2025-02-07T23:42:58.768Z (3 months ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## Preconditions
### postgres
psql and pg_dump command must be visible from commmand line### properties
copy default.properties to local.propertieschange settings für db,user and password
## backup OpenCMS
(dump DB, copy config files)
mvn compile -Pbackup
## restore OpenCMS
(drop, create and restore DB, copy config files)
mvn compile -Prestore
## remove dump data
mvn compile -Pdelete
## handle multible dumps
change 'dump.id' in local.config or add -Ddump.id=... to commandline