Opened 8 years ago
Closed 8 years ago
#12668 closed defect (fixed)
hotcopy and upgrade put backup files in different locations
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.2.1 |
Component: | admin/console | Version: | |
Severity: | normal | Keywords: | backup |
Cc: | Branch: | ||
Release Notes: |
The TracAdmin |
||
API Changes: | |||
Internal Changes: |
Description
hotcopy
puts the database backup in the db
directory: tags/trac-1.2/trac/env.py@:1056#L1053
upgrade
puts the database backup in the location specified by [trac] backup_dir
: tags/trac-1.2/trac/db/api.py@:321#L311
This might make sense, because for hotcopy
you want the SQLite database to always be in db
and for consistency hotcopy
should put the MySQL and PostgreSQL backups in the same location.
At a minimum we should expand the documentation for the upgrade
command to describe that db
is the default location for upgrade
, but it depends on the configuration: tags/trac-1.2/trac/env.py@:966-970#L953
Attachments (0)
Change History (1)
comment:1 by , 8 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Revised documentation in r15381, merged to trunk in r15382.