~aleteoryx/backupper

ref: 408cd3679ecb427476cd040432ab4e0fc4b1449f backupper/PLAN -rw-r--r-- 617 bytes
408cd367Aleteoryx license 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
store consists of md5 content-addressed files

store file contents:
"AMEBAK" [version byte = 0] [compression mode byte] [file contents]

compression mode:
  'r' - uncompressed
  'F' - deFlate

compression should be attempted for all files, algorithms tested with
the first 10MB of data. if the reduction is <5%, do not compress. this
should make large high-entropy files have less overhead.

directory contents:
  store/ - see above
  index.db - list of backup files

backup files are stored in the store, and indexed in index.db. they are
archive files, with the contents of each file replaced with a binary
hash.