#

## crashbackups

Handle periodic backups during a layout editing session.

### Usage:

> crashbackups [start|stop]

### Summary:

The crashbackups procedure enables or disables the periodic saving of crash recovery backup files. crashbackups or crashbackups start sets the timer for the first periodic save. After the timer times out, backup file is generated and written in the system temporary directory, and the timer is reset. By default, the backup interval is 10 minutes (600000 msec). The interval can be changed by setting the value of Tcl variable $Opts(backupinterval) to the interval value in msec.
crashbackups stop removes the timer callback and thus prevents further writing of backup files. Note that if crash recovery is stopped or started multiple times during a session, the same filename is used to save the data.

### Implementation Notes:

> crashbackups is implemented as a Tcl procedure in the "tools.tcl" script file. It calls the magic command "crash save".

### See Also:

> crash

Return to command index

Last updated: December 7, 2005 at 3:15pm