[Box Backup-commit] #27: Add variables to bbackupd.conf

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun May 6 05:31:14 BST 2007


#27: Add variables to bbackupd.conf
-------------------------+--------------------------------------------------
 Reporter:  petej        |       Owner:  ben 
     Type:  enhancement  |      Status:  new 
 Priority:  trivial      |   Milestone:      
Component:  bbackupd     |     Version:  0.10
 Keywords:               |  
-------------------------+--------------------------------------------------
 In bbackupd.conf, it would be nice if the various application file
 locations could use variables, for easier editing.  Maybe a drive (for
 Windows) or device variable, and a path variable.

 For example, on Windows:
 {{{
 KeysFile = D:\Program Files\Box Backup\10004015-FileEncKeys.raw
 }}}

 could be changed to something like:
 {{{
 BBDRIVE = D:
 BBPATH = \Program Files\Box Backup
 KeysFile = %BBDRIVE%\%BBPATH%\10004015-FileEncKeys.raw
 }}}

 Here's a list of application files that could take advantage of this
 feature:
 {{{
 KeysFile = D:\Program Files\Box Backup\10004015-FileEncKeys.raw
 CertificateFile = D:\Program Files\Box Backup\10004015-cert.pem
 PrivateKeyFile = D:\Program Files\Box Backup\10004015-key.pem
 TrustedCAsFile = D:\Program Files\Box Backup\serverCA.pem
 DataDirectory = D:\Program Files\Box Backup\bbackupd
 # NotifyScript requires cygwin at the moment...
 NotifyScript = D:\Program Files\Box Backup\NotifyScript.sh
 SyncAllowScript = D:\Program Files\Box Backup\SyncAllowScript.bat
 StoreObjectInfoFile = D:\Program Files\Box Backup\bbackupd\bbackupd.dat
 PidFile = D:\Program Files\Box Backup\bbackupd\bbackupd.pid
 }}}

 Similarly, it'd be nice to be able to use the same long list of exclusions
 in multiple !BackupLocations using a variable of some sort (or maybe even
 reading from an external file, or, egads, maybe even downloading from a
 web service of some sort).

-- 
Ticket URL: <http://bbdev.fluffy.co.uk/trac/ticket/27>
Box Backup <http://www.fluffy.co.uk/boxbackup/>
An open source, completely automatic on-line backup system for UNIX.



More information about the Boxbackup-commit mailing list