Commit Graph

186 Commits

Author SHA1 Message Date
Dennis Schwerdel cc4a9f40ee Enforcing bundle ordering in index rebuild (re #13) 2017-04-16 21:36:09 +02:00
Dennis Schwerdel ca7153117b Enforce ordering for bundles with duplicate chunks (closes #13) 2017-04-16 21:06:59 +02:00
Dennis Schwerdel e0f4f30933 moved pax extension code out 2017-04-16 19:26:15 +02:00
Dennis Schwerdel 08da056c8a Only put mode bits into mode metadata 2017-04-15 17:11:40 +02:00
Dennis Schwerdel fabfb1dce5 Backup::date -> timestamp 2017-04-14 22:46:55 +02:00
Dennis Schwerdel afef4004bd Add date to bundles 2017-04-14 22:44:40 +02:00
Dennis Schwerdel d06149979a Allow stdin/stdout for --tar (closes #12) 2017-04-14 22:39:32 +02:00
Dennis Schwerdel 12b00b13ec Only print "repairing bundles" if actually repairing bundles 2017-04-14 13:13:39 +02:00
Dennis Schwerdel 72ed1fae6e Implemented exporting xattrs in tar files (re #1) 2017-04-14 09:43:00 +02:00
Dennis Schwerdel 5ab8873407 Implemented getxattr in mount (re #1) 2017-04-14 09:42:32 +02:00
Dennis Schwerdel 580a2d2351 Fixed restore --tar 2017-04-14 09:41:05 +02:00
Dennis Schwerdel d4c0964815 Importing extended attributes from tar files (re #1) 2017-04-13 15:32:37 +02:00
Dennis Schwerdel 3cb21cb59e Diplaying xattrs (re #1) 2017-04-13 15:08:21 +02:00
Dennis Schwerdel f7899bb9f3 Fixed inode retrieval for single-file backups 2017-04-13 14:42:56 +02:00
Dennis Schwerdel 05e710a938 Mounting folders of backups (closes #5) 2017-04-13 14:24:58 +02:00
Dennis Schwerdel 8a57476da3 Remove folders of backups (re #5) 2017-04-13 14:10:11 +02:00
Dennis Schwerdel 650ab331c0 List backups by folder (re #5) 2017-04-13 13:32:59 +02:00
Dennis Schwerdel 71f01a1cdd Various fixes and updates 2017-04-13 10:35:33 +02:00
Dennis Schwerdel 3576d4c34f Handling the case of broken backup roots (re #3) 2017-04-13 08:12:51 +02:00
Dennis Schwerdel aadcea678d Repair bundle map too (re #3) 2017-04-13 07:46:16 +02:00
Dennis Schwerdel df30f7a8fe Repairing backups (re #3) 2017-04-13 07:41:18 +02:00
Dennis Schwerdel 489a442821 Repairing bundles and index (re #3) 2017-04-13 07:40:07 +02:00
Dennis Schwerdel 0354a73f54 Backup files must end with .backup 2017-04-12 18:11:40 +02:00
Dennis Schwerdel 259b12e35f Fixed name map inheritance for repositories (re #2) 2017-04-12 15:47:26 +02:00
Dennis Schwerdel 3da0a1d4ed Correct ids on mount (re #2) 2017-04-12 15:27:46 +02:00
Dennis Schwerdel a1f269be8f Reading user/group names from imported tar files (re #2) 2017-04-12 15:09:30 +02:00
Dennis Schwerdel 6444ed7076 Exporting user/group names in tar files (re #2) 2017-04-12 15:01:54 +02:00
Dennis Schwerdel efbd374678 No longer failing restore if setting file attributes fails 2017-04-12 14:53:11 +02:00
Dennis Schwerdel 5a6cf4b55b Storing user/group id map in backup and using it on restore (re #2) 2017-04-12 14:08:33 +02:00
Dennis Schwerdel 57e62b7880 Fixed finished messages 2017-04-12 14:05:13 +02:00
Dennis Schwerdel 2b2454ea77 Fixed problems with uploads from relative repository paths 2017-04-12 13:57:28 +02:00
Dennis Schwerdel 600ed7c245 Some minor fixes 2017-04-12 11:34:31 +02:00
Dennis Schwerdel 249af7bbd4 Ignoring missing backups folder 2017-04-12 11:21:12 +02:00
Dennis Schwerdel 74e2417473 Also setting repository dirty on crash 2017-04-12 10:34:36 +02:00
Dennis Schwerdel dc973c0313 Fixed deadlock in uploader 2017-04-12 10:32:46 +02:00
Dennis Schwerdel 1e4831bb27 Creating empty bundle cache on init to avoid warninigs 2017-04-12 09:12:17 +02:00
Dennis Schwerdel 1ab11c8ff9 Locking local repository to avoid index corruption (closes #4) 2017-04-12 08:33:05 +02:00
Dennis Schwerdel b4b004dd23 Forgot to call sodium::init 2017-04-12 08:30:42 +02:00
Dennis Schwerdel 221e3dff38 Fixes and progress bars 2017-04-11 09:23:24 +02:00
Dennis Schwerdel fcbc2e131f Sane inline 2017-04-11 09:23:23 +02:00
Dennis Schwerdel 26d73e79a4 Dirty flag on error 2017-04-11 09:23:23 +02:00
Dennis Schwerdel 7efc3de78f Better control over what is checked in `check` subcommand 2017-04-11 09:23:18 +02:00
Dennis Schwerdel daf043dccf Fetching missing meta bundles to cache 2017-04-11 09:23:18 +02:00
Dennis Schwerdel 75be97e7c5 Some fixes 2017-04-11 09:23:09 +02:00
Dennis Schwerdel 8e4282610c Display backup name and path on backup integrity error 2017-04-11 09:23:09 +02:00
Dennis Schwerdel 77e396094a Detach bundle upload 2017-04-11 09:23:09 +02:00
Dennis Schwerdel cca4e76c3b No such backup/backup already esists 2017-04-11 09:22:57 +02:00
Dennis Schwerdel f5faa89c6a Verbosity control 2017-04-11 09:22:57 +02:00
Dennis Schwerdel 0b3ab57335 Recover from missing index and bundle map by rebuilding those 2017-04-11 09:22:56 +02:00
Dennis Schwerdel ccc76dc713 Nice error when remote storage is not mounted
fastcdc speedup
2017-04-11 09:22:56 +02:00
Dennis Schwerdel a29e95e4f4 Central repository layout class 2017-04-11 09:22:56 +02:00
Dennis Schwerdel c1e4cb2bdf Do not estimate meta size 2017-04-11 09:22:56 +02:00
Dennis Schwerdel 289a412a12 Check for private key when encryption is set 2017-04-11 09:22:56 +02:00
Dennis Schwerdel a02a0a7c7f Relative path in bundle cache 2017-04-11 09:22:56 +02:00
Dennis Schwerdel 11d7753e78 Some fixes 2017-04-11 09:22:51 +02:00
Dennis Schwerdel ced360b881 Better ui 2017-04-11 09:22:51 +02:00
Dennis Schwerdel 2242100e6e Some fixes 2017-04-11 09:22:39 +02:00
Dennis Schwerdel 336cc97fea Some changes 2017-04-11 09:22:38 +02:00
Dennis Schwerdel 1dd4878b4c Man pages 2017-04-11 09:22:38 +02:00
Dennis Schwerdel faf7b4906f New arguments 2017-04-11 09:22:38 +02:00
Dennis Schwerdel 1212d08917 xattrs 2017-04-11 09:22:38 +02:00
Dennis Schwerdel 15a01dfbac Tar files, better return codes, etc. 2017-04-11 09:22:38 +02:00
Dennis Schwerdel 4145160660 Repository readme 2017-04-11 09:22:38 +02:00
Dennis Schwerdel 883c4c1c24 Encrypted bundle info 2017-04-11 09:22:38 +02:00
Dennis Schwerdel 014c456fd0 contents -> data 2017-04-11 09:22:38 +02:00
Dennis Schwerdel f6862aa669 Random bundle name 2017-04-11 09:22:38 +02:00
Dennis Schwerdel 727f59b2d3 fix 2017-04-11 09:22:38 +02:00
Dennis Schwerdel d11c791652 Some format changes 2017-04-11 09:22:38 +02:00
Dennis Schwerdel 4c07e6d5d6 Local bundle cache 2017-04-11 09:22:38 +02:00
Dennis Schwerdel b9370e3a04 Default repository in ~/.zvault 2017-04-11 09:22:38 +02:00
Dennis Schwerdel 2f54f7b0c6 Fixed integrity problem with gone remote meta bundles 2017-04-11 09:22:38 +02:00
Dennis Schwerdel df2f407d96 Fixed index inconsistency when removing gone bundle 2017-04-11 09:22:38 +02:00
Dennis Schwerdel d5b033c85a Some fixes 2017-04-11 09:22:38 +02:00
Dennis Schwerdel 545523e5ce Fix atime problem 2017-04-11 09:22:38 +02:00
Dennis Schwerdel bbafe64f85 Some changes 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 7294e7edf6 Find versions of a file in different backups 2017-04-11 09:22:37 +02:00
Dennis Schwerdel bf59a9ca39 Some fixes 2017-04-11 09:22:37 +02:00
Dennis Schwerdel a94702991d Mounting backups 2017-04-11 09:22:37 +02:00
Dennis Schwerdel eb23713875 Fixes for cli and prune 2017-04-11 09:22:37 +02:00
Dennis Schwerdel e272e29628 Format 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 4945615620 Analysis 2017-04-11 09:22:37 +02:00
Dennis Schwerdel d80c8ffb69 Some improvements 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 226107c112 Exclude option 2017-04-11 09:22:37 +02:00
Dennis Schwerdel fd6b9119f6 Same device options 2017-04-11 09:22:37 +02:00
Dennis Schwerdel f53b9a0923 Remote backups 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 828bcc6dc9 Locking 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 6ab28c10df Fix renaming bundle files 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 6841470981 Usibility 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 8b859dddb9 Fixed memory leak 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 0d94a75613 Code cleanup 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 05290f3198 Remove backup subpath 2017-04-11 09:22:37 +02:00
Dennis Schwerdel b346f6e291 Nice errors 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 5377c5f8df Better chunk list storage in inodes 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 519ac6bade Fixes 2017-04-11 09:22:37 +02:00
Dennis Schwerdel bdcab7e308 Chown 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 6f5cb66065 Fixes 2017-04-11 09:22:37 +02:00
Dennis Schwerdel 205c193108 Key commands use files 2017-04-11 09:22:37 +02:00
Dennis Schwerdel b43be07ed0 Import 2017-04-11 09:22:37 +02:00
Dennis Schwerdel bc152b6609 Fixes 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 70905fa5e8 Bundle sync 2017-04-11 09:22:36 +02:00