|
2 | 2 | Administration Guide |
3 | 3 | ==================== |
4 | 4 |
|
5 | | -:Version: $Revision: 1.16 $ |
| 5 | +:Version: $Revision: 1.17 $ |
6 | 6 |
|
7 | 7 | .. contents:: |
8 | 8 |
|
@@ -67,6 +67,7 @@ Configuration for "BasicLogging" implementation: |
67 | 67 | In both cases, if no logfile is specified then logging will simply be sent |
68 | 68 | to sys.stderr with only logging of ERROR messages. |
69 | 69 |
|
| 70 | + |
70 | 71 | Configuring roundup-server |
71 | 72 | ========================== |
72 | 73 |
|
@@ -163,6 +164,7 @@ Maintenance of Roundup can involve one of the following: |
163 | 164 | 2. `software upgrade`_ |
164 | 165 | 3. `migrating backends`_ |
165 | 166 | 4. `moving a tracker`_ |
| 167 | +5. `migrating from other software`_ |
166 | 168 |
|
167 | 169 |
|
168 | 170 | Tracker Backup |
@@ -255,6 +257,31 @@ moved using the above steps) then you'll need to: |
255 | 257 | 6. start the tracker web and email frontends on the new machine. |
256 | 258 |
|
257 | 259 |
|
| 260 | +Migrating From Other Software |
| 261 | +----------------------------- |
| 262 | + |
| 263 | +You have a couple of choices. You can either use a CSV import into Roundup, |
| 264 | +or you can write a simple Python script which uses the Roundup API |
| 265 | +directly. The latter is almost always simpler -- see the "scripts" |
| 266 | +directory in the Roundup source for some example uses of the API. |
| 267 | + |
| 268 | +"roundup-admin import" will import data into your tracker from a |
| 269 | +directory containing files with the following format: |
| 270 | + |
| 271 | +- one colon-separated-values file per Class with columns for each property, |
| 272 | + named <classname>.csv |
| 273 | +- one colon-separated-values file per Class with journal information, |
| 274 | + named <classname>-journals.csv (this is required, even if it's empty) |
| 275 | +- if the Class is a FileClass, you may have the "content" property |
| 276 | + stored in separate files from the csv files. This goes in a directory |
| 277 | + structure:: |
| 278 | + |
| 279 | + <classname>-files/<N>/<designator> |
| 280 | + |
| 281 | + where ``<designator>`` is the item's ``<classname><id>`` combination. |
| 282 | + The ``<N>`` value is ``int(<id> / 1000)``. |
| 283 | + |
| 284 | + |
258 | 285 | Running the Servers |
259 | 286 | =================== |
260 | 287 |
|
|
0 commit comments