Commit Graph

205 Commits

Author SHA1 Message Date
Dennis Schwerdel 30bc7d80c5 Fixed reading tar files from stdin 2017-05-11 09:45:55 +02:00
Dennis Schwerdel 1cd58e180d Changed addkey arguments 2017-05-11 09:36:44 +02:00
Dennis Schwerdel 4ac42d14ef Derive key pairs from passwords 2017-05-08 15:11:07 +02:00
Dennis Schwerdel cac4f81876 Initialize index data before use (this was harmless) 2017-04-28 11:12:25 +02:00
Dennis Schwerdel 737f78af47 Released v0.3.0 2017-04-27 13:35:48 +02:00
Dennis Schwerdel c2bf23d8d7 Clippy 2017-04-24 07:37:05 +02:00
Dennis Schwerdel db7c6ef4fb Making clippy happy again 2017-04-19 22:43:08 +02:00
Dennis Schwerdel bf00a2b156 Added fixed chunker 2017-04-19 19:54:53 +02:00
Dennis Schwerdel 304dfe16e8 Some changes 2017-04-19 17:46:51 +02:00
Dennis Schwerdel 87f7cc0feb Moved chunker to separate crate (re #17) 2017-04-19 17:35:25 +02:00
Dennis Schwerdel 229c4f7e28 Moved index to separate project (re #17) 2017-04-18 13:58:56 +02:00
Dennis Schwerdel d18cb17281 Combine smaller bundles into larger ones (closes #15) 2017-04-17 16:31:58 +02:00
Dennis Schwerdel 001a36a1eb Only mark chunks as checked when not repaired (re #14) 2017-04-17 15:55:27 +02:00
Dennis Schwerdel bd23aac64c No longer clobbering broken files (re #14) 2017-04-17 15:43:25 +02:00
Dennis Schwerdel 3db78a64c5 First removing bundles, then adding new ones 2017-04-17 11:19:55 +02:00
Dennis Schwerdel e9ea6cae19 Fixed vacuum 2017-04-17 11:04:36 +02:00
Dennis Schwerdel 1617fecb92 Only repair backups if repairing 2017-04-16 23:18:25 +02:00
Dennis Schwerdel 66e56b9b0c Only repairing backups with --repair 2017-04-16 21:47:02 +02:00
Dennis Schwerdel 2885dfc933 Calculating final bundle size 2017-04-16 21:39:50 +02:00
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