[Box Backup-commit] #75: Restore times wrong, times on store correct

Box Backup trac at boxbackup.org
Wed Oct 20 19:21:41 BST 2010


#75: Restore times wrong, times on store correct
---------------------------------+------------------------------------------
 Reporter:  achim                |       Owner:  ben  
     Type:  defect               |      Status:  new  
 Priority:  normal               |   Milestone:       
Component:  bbackupd             |     Version:  trunk
 Keywords:  restore times wrong  |  
---------------------------------+------------------------------------------
Changes (by chris):

  * keywords:  Restore times wrong => restore times wrong


Old description:

> Testing incremental backups with a file that is automatically updated
> every 10 minutes with the following batch file:
>
> echo %date% %time% >> f:\root\timetest.txt
>
> It appears that the times during which the file is backed up and to which
> the ctime/mtime is set during restore is not working correct:
>
> Actual time of the backup according to the file's content (GMT +2):
> Test 2: 07/09/2010 15:10:00,06
> Test 3: 07/09/2010 16:10:00,59
> Test 4: 07/09/2010 17:10:00,28
>
> This is consistent with the information shown in the bb store when using
> "list -T" (note the expected 2 hour GMT offset):
> 0000aa0c f--o-- 2010-09-07T13:10:02  00006 timetest.txt
> 0000aa0d f--o-- 2010-09-07T14:10:02  00006 timetest.txt
> 0000aa0e f--o-- 2010-09-07T15:10:02  00006 timetest.txt
>
> However, after restoring those files, ctime/mtime shows a wrong offset to
> the store time (+10 GMT) and the local time (+8):
> 07/09/2010  23:10         2.816.941 test2.txt
> 08/09/2010  00:10         2.817.091 test3.txt
> 08/09/2010  01:10         2.817.241 test4.txt

New description:

 Testing incremental backups with a file that is automatically updated
 every 10 minutes with the following batch file:

 {{{
 echo %date% %time% >> f:\root\timetest.txt
 }}}

 It appears that the times during which the file is backed up and to which
 the ctime/mtime is set during restore is not working correct:

 Actual time of the backup according to the file's content (GMT +2):

 {{{
 Test 2: 07/09/2010 15:10:00,06
 Test 3: 07/09/2010 16:10:00,59
 Test 4: 07/09/2010 17:10:00,28
 }}}

 This is consistent with the information shown in the bb store when using
 "list -T" (note the expected 2 hour GMT offset):

 {{{
 0000aa0c f--o-- 2010-09-07T13:10:02  00006 timetest.txt
 0000aa0d f--o-- 2010-09-07T14:10:02  00006 timetest.txt
 0000aa0e f--o-- 2010-09-07T15:10:02  00006 timetest.txt
 }}}

 However, after restoring those files, ctime/mtime shows a wrong offset to
 the store time (+10 GMT) and the local time (+8):

 {{{
 07/09/2010  23:10         2.816.941 test2.txt
 08/09/2010  00:10         2.817.091 test3.txt
 08/09/2010  01:10         2.817.241 test4.txt
 }}}

--

Comment:

 Improve formatting of bug description

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



More information about the Boxbackup-commit mailing list