Commit Graph

205 Commits

Author SHA1 Message Date
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
Dennis Schwerdel fa01e0bdba Check backups and inodes 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 1aca00c027 Better errors 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 365121cfe1 Some changes 2017-04-11 09:22:36 +02:00
Dennis Schwerdel bf180ddea5 Fix versions 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 5964625ec7 Remote folder 2017-04-11 09:22:36 +02:00
Dennis Schwerdel c354abac91 Some changes for remote path 2017-04-11 09:22:36 +02:00
Dennis Schwerdel fa947fd772 Bundle format 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 45ec45941a Prelude 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 5e816fe794 Rename and restructure bundledb 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 142b4c0972 Encrypted backups 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 657952d4d7 Partial backups 2017-04-11 09:22:36 +02:00
Dennis Schwerdel a8ff046c04 Come code cleanup 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 7cadaaf359 Prune 2017-04-11 09:22:36 +02:00
Dennis Schwerdel fc45fa4e33 Vacuum 2017-04-11 09:22:36 +02:00
Dennis Schwerdel c8b69ebe25 Bundle encryption 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 0a807b16ab Backup trees and removing backups 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 032848466f Rearranged arguments to be SRC, DST 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 6b0090a062 Fixed single-file backup 2017-04-11 09:22:36 +02:00
Dennis Schwerdel e67ddbb275 More efficient chunk list encoding 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 1b9cf888e7 New bundle format 2017-04-11 09:22:36 +02:00
Dennis Schwerdel 01c2ab16f9 Updated todo 2017-04-11 09:22:35 +02:00
Dennis Schwerdel c3fa38e0b8 simplified compression 2017-04-11 09:22:35 +02:00
Dennis Schwerdel 69eaf4085e algotest 2017-04-11 09:22:35 +02:00
Dennis Schwerdel 47d316ace3 Store bundle type in bundle 2017-04-11 09:22:35 +02:00
Dennis Schwerdel 5bca245643 Arguments 2017-04-11 09:22:35 +02:00
Dennis Schwerdel 542ecb4ae0 Partial restore 2017-04-11 09:22:35 +02:00
Dennis Schwerdel 9fc70ea0fb Restore and list 2017-04-11 09:22:35 +02:00
Dennis Schwerdel ba68fc2fda Full backups 2017-04-11 09:22:35 +02:00
Dennis Schwerdel 0b673d145f Errors 2017-04-11 09:22:35 +02:00
Dennis Schwerdel 717fc7472d Plan for tree backups 2017-04-11 09:22:35 +02:00
Dennis Schwerdel 1a2ea29d24 Backups 2017-04-11 09:22:35 +02:00
Dennis Schwerdel 7e66d806b5 Adding file metadata 2017-04-11 09:22:35 +02:00
Dennis Schwerdel d6b8e00718 Changes 2017-04-11 09:22:35 +02:00
Dennis Schwerdel 6aa35bcdb5 Parsing arguments with Docopt 2017-04-11 09:22:35 +02:00
Dennis Schwerdel c549af635f Using Blake2 instead of Sha3 which is too slow 2017-04-11 09:22:35 +02:00
Dennis Schwerdel 231aa9fb58 First working version 2017-04-11 09:22:35 +02:00