cubicweb #342880 option to db-restore to not recreate the database [open]
Sometimes, we don't have rights to create a database. The db-restore command should have an option to not recreate a database (just empty the database) | |
priority | normal |
---|---|
type | enhancement |
done in | <not specified> |
load | 0.300 |
load left | 0.300 |
closed by | <not specified> |
similar entities
- cubicweb #710931 same usage for dump/restore
- cubicweb #2231960 [cwctl] On-the-fly generation of pgpass file when doing postgres operations
- cubicweb #530660 Automatic creation of registry path in user/dev mode
- cubicweb #344517 use a different login with reset-admin-pwd
- cubicweb #687194 cubicweb-ctl exlog : fix help message
[see all]
Comments
-
2009/12/04 12:36, written by sthenault
-
2010/03/05 16:58, written by sthenault
-
2010/04/22 08:04
-
2010/04/22 08:53, written by sthenault
-
2015/03/31 13:57, written by ddouard
-
2015/03/31 14:00, written by acampeas
-
2015/03/31 14:04, written by acampeas
add commentdb-init has a --drop option but that doesn't seems to work that much because some drop statements are missing (eg on the entities_id_seq sequence for instance)
alf, haven't you fixed that already ?
the db-init -d command works. I haven't done anything about db-restore
ooops, sorry
maybe add an option to execute something like:
don't forget this essentially applied to sqlserver
don't forget this essentially applied to sqlserver