63 Commands to maintain instances |
63 Commands to maintain instances |
64 ------------------------------ |
64 ------------------------------ |
65 * ``upgrade``, launches the existing instances migration when a new version |
65 * ``upgrade``, launches the existing instances migration when a new version |
66 of `CubicWeb` or the cubes installed is available |
66 of `CubicWeb` or the cubes installed is available |
67 * ``shell``, opens a migration shell for manual maintenance of the instance |
67 * ``shell``, opens a migration shell for manual maintenance of the instance |
|
68 (see :ref:`cubicweb-ctl-shell` for more details) |
68 * ``db-dump``, creates a dump of the system database |
69 * ``db-dump``, creates a dump of the system database |
69 * ``db-restore``, restores a dump of the system database |
70 * ``db-restore``, restores a dump of the system database |
70 * ``db-check``, checks data integrity of an instance. If the automatic correction |
71 * ``db-check``, checks data integrity of an instance. If the automatic correction |
71 is activated, it is recommanded to create a dump before this operation. |
72 is activated, it is recommanded to create a dump before this operation. |
72 * ``schema-sync``, synchronizes the persistent schema of an instance with |
73 * ``schema-sync``, synchronizes the persistent schema of an instance with |
84 Other commands |
85 Other commands |
85 -------------- |
86 -------------- |
86 * ``list``, provides a list of the available configuration, cubes |
87 * ``list``, provides a list of the available configuration, cubes |
87 and instances. |
88 and instances. |
88 * ``delete``, deletes an instance (configuration files and database) |
89 * ``delete``, deletes an instance (configuration files and database) |
|
90 |
|
91 |
|
92 .. _cubicweb-ctl-shell: |
|
93 |
|
94 ``cubicweb-ctl shell`` addon |
|
95 ---------------------------- |
|
96 |
|
97 XXX |
|
98 [FIXME] |
|
99 Add list of commands available in cubicweb-ctl shell. |
89 |
100 |
90 Examples |
101 Examples |
91 -------- |
102 -------- |
92 |
103 |
93 Create an instance from an existing cube |
104 Create an instance from an existing cube |