#4100 BLOC First D: School server component needed to provide human readable index of journal backup

Zarro Boogs per Child bugtracker at laptop.org
Wed Oct 17 14:00:50 EDT 2007


#4100: School server component needed to provide human readable index of journal
backup
-------------------------------+--------------------------------------------
  Reporter:  cscott            |       Owner:  tomeu                 
      Type:  defect            |      Status:  new                   
  Priority:  blocker           |   Milestone:  First Deployment, V1.0
 Component:  journal-activity  |     Version:                        
Resolution:                    |    Keywords:                        
  Verified:  0                 |  
-------------------------------+--------------------------------------------

Comment(by tomeu):

 Ok, so just to clarify and check if I understood correctly the spec, my
 part is to write a func like this:

 {{{
 path_to_backup_idx, path_to_backup_state_idx, path_to_backup_files_idx = \
     write_backup_index_since(timestamp, max_items=None)
 }}}

 That filters the items to backup according to timestamp and max_items and
 creates the following files:

  - backup.idx: file that contains the metadata of the entries to backup,

  - backup-state.idx: file with the ids of all the entries currently
 present in the DS (not filtered nor limited by max_items),

  - backup-files.idx: file with the absolute paths to the data files and
 thumbnails of the entries to backup.

-- 
Ticket URL: <https://dev.laptop.org/ticket/4100#comment:13>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list