tracbackup
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | tracbackup [2015/06/09 15:23] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Trac Backup ====== | ||
+ | [[: | ||
+ | |||
+ | Since Trac uses a database backend, some extra care is required to safely create a backup of a [[: | ||
+ | |||
+ | //Note: Trac uses the `hotcopy` nomenclature to match that of [[http:// | ||
+ | |||
+ | ===== Creating a Backup ===== | ||
+ | |||
+ | To create a backup of a live TracEnvironment, | ||
+ | < | ||
+ | $ trac-admin / | ||
+ | </ | ||
+ | |||
+ | |||
+ | [[: | ||
+ | |||
+ | The resulting backup directory is safe to handle using standard file-based backup tools like `tar` or `dump`/ | ||
+ | |||
+ | ==== Restoring a Backup ==== | ||
+ | |||
+ | Backups are simply a copied snapshot of the entire [[: | ||
+ | |||
+ | To restore an environment from a backup, simply stop the process running Trac (i.e. the Web server or [[: | ||
+ | |||
+ | '' | ||
+ | |||
+ | ---- | ||
+ | See also: TracAdmin, TracEnvironment, | ||
tracbackup.txt · Last modified: 2015/06/09 15:23 by 127.0.0.1