2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-14 01:04:05 +00:00
Commit Graph

79 Commits

Author SHA1 Message Date
Alexander Neumann
e543f5926c Refactor Archiver and backup command
Improve incremental backup by first scanning the tree, loading the old
tree and afterwards comparing both trees in memory.
2015-01-04 22:39:30 +01:00
Alexander Neumann
fe231af7fc Remove error from return value of NewContentHandler 2015-01-04 20:07:30 +01:00
Alexander Neumann
4b70bba588 Split Scanner from Archiver, refactor Progress 2015-01-04 18:23:00 +01:00
Alexander Neumann
a93bc3c991 Rename functions, remove code for compare
* Archiver: Rename loadTree -> scan and LoadTree -> Scan
 * Archiver: Remove code to compare against an old snapshot/tree,
   the current implementation was really slow
2015-01-04 16:13:50 +01:00
Alexander Neumann
ef41a77aff Remove explicit key handling 2014-12-21 18:10:19 +01:00
Alexander Neumann
cc147c002e Introduce type Server 2014-12-21 17:37:29 +01:00
Alexander Neumann
5eaa427e80 Save UID and GID as integer in Snapshot 2014-12-21 17:20:49 +01:00
Alexander Neumann
202984a93f Rename snapshot.Content -> snapshot.Tree 2014-12-07 14:14:50 +01:00
Alexander Neumann
3336f2b8e7 Check number of bytes saved for each file 2014-12-07 13:34:56 +01:00
Alexander Neumann
e2fea0d088 Rename khepri -> restic 2014-12-05 21:45:49 +01:00
Alexander Neumann
13fc9fe604 Add additional check 2014-12-01 00:06:29 +01:00
Alexander Neumann
caf00f6087 Save blobs from parent snapshot to new snapshot 2014-11-30 23:12:47 +01:00
Alexander Neumann
f5e76a0044 Add safety check: count chunks and compare to blobs 2014-11-30 22:49:14 +01:00
Alexander Neumann
3325fa07ea Check timestamps for files 2014-11-30 22:34:21 +01:00
Alexander Neumann
4246e7602f Store empty list of blobs for empty files 2014-11-30 22:16:34 +01:00
Alexander Neumann
c0b3021494 Correctly deal with empty files 2014-11-30 16:24:27 +01:00
Alexander Neumann
bbaba349b2 Panic on error saving blobs 2014-11-29 10:52:06 +01:00
Alexander Neumann
33ce4e33aa Store maps in new subdir "maps" 2014-11-23 22:26:01 +01:00
Alexander Neumann
b1923063fe Ignore ErrUnexpectedEOF for io.ReadFull 2014-11-23 21:49:57 +01:00
Alexander Neumann
f95788ed90 Limit memory usage, add several sync.Pool 2014-11-23 21:26:20 +01:00
Alexander Neumann
21df0e50e5 Refactor stats
* channel instead of callback func
 * cumulate Stats for slow receivers
2014-11-23 13:51:02 +01:00
Alexander Neumann
7d1ba8ab65 Ignore permission errors for backup 2014-11-23 12:15:19 +01:00
Alexander Neumann
d11688f242 Save multiple data blobs in parallel 2014-11-22 22:05:39 +01:00
Alexander Neumann
d1e4431514 Refactor StorageMap to BlobList 2014-11-22 21:05:18 +01:00
Alexander Neumann
551c7525fe Rename chunker so package chunker does not overlap 2014-11-18 21:46:49 +01:00
Alexander Neumann
fe92062735 Move SaveFile to Archiver, add blobs status 2014-11-18 21:46:49 +01:00
Alexander Neumann
94d1482888 Save multiple files in parallel 2014-11-18 21:46:44 +01:00
Alexander Neumann
4a3a6861e2 Scan directory first, then backup. Add stats. 2014-11-17 23:52:31 +01:00
Alexander Neumann
30ab03b7b7 Add decrypt, refactor 2014-10-03 21:44:55 +02:00