Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
Oct 26, 2014, 6:01:55 PM (9 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v3
|
v4
|
|
| 9 | 9 | |
| 10 | 10 | To create a backup of a live TracEnvironment, simply run: |
| 11 | | {{{ |
| 12 | | |
| 13 | | $ trac-admin /path/to/projenv hotcopy /path/to/backupdir |
| 14 | | |
| | 11 | {{{#!sh |
| | 12 | $ trac-admin /path/to/projenv hotcopy /path/to/backupdir |
| 15 | 13 | }}} |
| 16 | 14 | |
| … |
… |
|
| 19 | 17 | The resulting backup directory is safe to handle using standard file-based backup tools like `tar` or `dump`/`restore`. |
| 20 | 18 | |
| 21 | | Please, note, that hotcopy command does not overwrite target directory and when such exists, hotcopy ends with error: `Command failed: [Errno 17] File exists:` This is discussed in [trac:ticket:3198 #3198]. |
| | 19 | Please note, the `hotcopy` command will not overwrite a target directory and when such exists the operation ends with error: `Command failed: [Errno 17] File exists:` This is discussed in [trac:ticket:3198 #3198]. |
| 22 | 20 | |
| 23 | 21 | === Restoring a Backup === |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!