Edgewall Software
Modify

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 upgrade command documentation specifies that the backup location is governed by [trac] backup_dir.

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 Ryan J Ollos, 8 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Revised documentation in r15381, merged to trunk in r15382.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.