[Box Backup-commit] Re: #20: bbackupctl reload reports prior settings

Box Backup boxbackup-dev@boxbackup.org
Sat, 04 Oct 2008 23:23:24 -0000


#20: bbackupctl reload reports prior settings
-------------------------+--------------------------------------------------
  Reporter:  petej       |       Owner:  chris                     
      Type:  defect      |      Status:  assigned                  
  Priority:  minor       |   Milestone:                            
 Component:  bbackupctl  |     Version:  0.10                      
Resolution:              |    Keywords:  bbackupctl bbackupd reload
-------------------------+--------------------------------------------------
Changes (by chris):

  * keywords:  => bbackupctl bbackupd reload
  * summary:  bbackupctl reload reports prior settings, 0.10 Win
              vchris_general_1280 => bbackupctl reload
              reports prior settings

Old description:

> On Windows XP SP 2 with Box Backup 0.10 Win vchris_general_1280.
>
> Change bbackupd.conf timing settings.
> Run bbackupctl reload.
> The "Daemon configuration summary" incorrectly reports the settings from
> before the changes.  Running it again reports the correct settings.
>
> Used notepad to make changes to bbackupd.conf to return timers from short
> test settings to longer default settings.  Then ran bbackupctl reload to
> set them:
>
> {{{
> C:\Program Files\Box Backup>bbackupctl.exe reload
>
> Using configuration file C:\Program Files\Box Backup\bbackupd.conf
> Daemon configuration summary:
>   AutomaticBackup = true
>   UpdateStoreInterval = 3 seconds
>   MinimumFileAge = 4 seconds
>   MaxUploadWait = 24 seconds
> Succeeded.
>
> C:\Program Files\Box Backup>bbackupctl.exe reload
>
> Using configuration file C:\Program Files\Box Backup\bbackupd.conf
> Daemon configuration summary:
>   AutomaticBackup = true
>   UpdateStoreInterval = 3600 seconds
>   MinimumFileAge = 21600 seconds
>   MaxUploadWait = 86400 seconds
> Succeeded.
> }}}

New description:

 Change bbackupd.conf timing settings.

 Run bbackupctl reload.
 The "Daemon configuration summary" incorrectly reports the settings from
 before the changes.  Running it again reports the correct settings.

 Used notepad to make changes to bbackupd.conf to return timers from short
 test settings to longer default settings.  Then ran bbackupctl reload to
 set them:

 {{{
 C:\Program Files\Box Backup>bbackupctl.exe reload

 Using configuration file C:\Program Files\Box Backup\bbackupd.conf
 Daemon configuration summary:
   AutomaticBackup = true
   UpdateStoreInterval = 3 seconds
   MinimumFileAge = 4 seconds
   MaxUploadWait = 24 seconds
 Succeeded.
 }}}

 The times reported were the old times. Running `bbackupctl reload` again
 now gives the new times:

 {{{
 C:\Program Files\Box Backup>bbackupctl.exe reload

 Using configuration file C:\Program Files\Box Backup\bbackupd.conf
 Daemon configuration summary:
   AutomaticBackup = true
   UpdateStoreInterval = 3600 seconds
   MinimumFileAge = 21600 seconds
   MaxUploadWait = 86400 seconds
 Succeeded.
 }}}

-- 
Ticket URL: <https://www.boxbackup.org/trac/ticket/20#comment:2>
Box Backup <http://www.boxbackup.org/>
An open source, completely automatic on-line backup system for UNIX.