Edgewall Software

Changes between Initial Version and Version 1 of Ticket #8952, comment 4


Ignore:
Timestamp:
Jan 10, 2010, 9:54:56 PM (14 years ago)
Author:
Remy Blank

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8952, comment 4

    initial v1  
    22> I was thinking of a TracIni option like `[db] hotcopy_command` where you could specify a command to be called when doing a `hotcopy`. If it is unset, the current behavior is executed (the recursive copy). If it is set, the command is called with two arguments, the path to the environment and the destination.
    33>
    4 > So you call `trac-admin $ENV hotcopy $DEST`, the database is locked, and your command is called. You could, for example, set it to "cp -RL" for dereferencing symlinks. I guess it would also make it possible to do something like a hotcopy of a {{{svn diff}}}? :) What would the default value of {{{hotcopy_command}}} be?
     4> So you call `trac-admin $ENV hotcopy $DEST`, the database is locked, and your command is called. You could, for example, set it to "cp -RL" for dereferencing symlinks.
     5
     6I guess it would also make it possible to do something like a hotcopy of a {{{svn diff}}}? :) What would the default value of {{{hotcopy_command}}} be?
    57
    68{{{