Show
Ignore:
Timestamp:
07/10/08 23:18:42 (3 months ago)
Author:
anarcat
Message:

add some of the sqlbackup options to the local.sh global configuration.
note that we discarded some suggestions options:

F_LOG: replaced with syslog
DAEMON: will be considered for inclusion later
VERBOSE/DEBUG: available through command line flags

TYPE_NAME_BACKUP and ALLOW_OVERWRITE_BACKUP are being renamed to
SQLBACKUP_TYPE and SQLBACKUP_OVERWRITE. this is to be more consistent
with the global configurations

See: #1081

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/debian/postinst

    r2117 r2259  
    9494# Networks that SMTP should relay, separated with spaces 
    9595SMTP_RELAY_NETWORKS="" 
     96 
     97# the type of backup created by the sql backup script 
     98# valid options are "rotate" (newsyslog-style) or "date" (suffix is the date) 
     99SQLBACKUP_TYPE="" 
     100 
     101# overwrite existing files when backing up 
     102SQLBACKUP_OVERWRITE="" 
    96103EOF 
    97104 
     
    118125    update_var alternc/default_mx DEFAULT_MX  
    119126    update_var alternc/mysql/client MYSQL_CLIENT  
     127    update_var alternc/sql/backup_type SQLBACKUP_TYPE 
     128    update_var alternc/sql/backup_overwrite SQLBACKUP_OVERWRITE 
    120129    update_var alternc/alternc_location ALTERNC_LOC 
    121130    update_var alternc/mynetwork SMTP_RELAY_NETWORKS