Edgewall Software

Opened 7 years ago

Last modified 7 years ago

#12668 closed defect

hotcopy and upgrade put backup files in different locations — at Initial Version

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:
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

Change History (0)

Note: See TracTickets for help on using tickets.