Commit Graph

  • 50ea43962e make map_struct functions public Dietmar Maurer 2018-12-28 08:04:46 +0100
  • d2b03f2397 catar/encoder.rs: improve error handling Dietmar Maurer 2018-12-28 07:45:15 +0100
  • 0ff559990c cleanups, avoid compiler warnings Dietmar Maurer 2018-12-28 07:14:12 +0100
  • 45281d4927 catar/encoder: detect symlink and regular files Dietmar Maurer 2018-12-27 14:24:31 +0100
  • fb8365b79f catar/encoder.rs: first try Dietmar Maurer 2018-12-27 13:15:10 +0100
  • fba3437f1e timer: setup_timeout_handler cannot fail Wolfgang Bumiller 2018-12-27 10:36:05 +0100
  • bcd879cfb3 backup-client: allow to specify directories (prepare for catar backup) Dietmar Maurer 2018-12-27 10:11:11 +0100
  • b62b6cadf4 start implementing catar Dietmar Maurer 2018-12-27 09:22:23 +0100
  • dc3de618ed new helper map_struct and map_struct_mut Dietmar Maurer 2018-12-27 09:20:17 +0100
  • a198d74fc0 cleanup: reduce compiler warnings Dietmar Maurer 2018-12-25 13:29:27 +0100
  • 991de6007b remove outdated comment Dietmar Maurer 2018-12-25 13:24:50 +0100
  • 7ee2aa1b94 touch_chunk: use libc::lutimensat Dietmar Maurer 2018-12-25 11:59:02 +0100
  • 2c32fdde86 move lookup_datastore() to backup/datastore.rs Dietmar Maurer 2018-12-22 17:37:25 +0100
  • 64e53b2835 gather usage statistics during garbage collection Dietmar Maurer 2018-12-22 16:58:16 +0100
  • 28b96b56e1 open_file_locked: improve error message Dietmar Maurer 2018-12-22 15:59:55 +0100
  • 176e4af964 sweep_used_chunks: print percentage Dietmar Maurer 2018-12-22 15:39:05 +0100
  • 7b2b40a893 use openssl for faster hashing Dietmar Maurer 2018-12-22 14:31:59 +0100
  • e95950e40a chunk_store: reduce number of directories Dietmar Maurer 2018-12-22 14:04:05 +0100
  • 15e9b4ed60 src/api3/datastore.rs: new file Dietmar Maurer 2018-12-21 13:38:41 +0100
  • 3c140f60cd use return value (avoid compiler warning) Dietmar Maurer 2018-12-21 12:44:20 +0100
  • 03e4753d8e fix mutability for chunk store Dietmar Maurer 2018-12-21 12:15:26 +0100
  • 2d9d143a8f backup-client: add optional chunk-size parameter Dietmar Maurer 2018-12-21 11:18:08 +0100
  • f0819fe5a5 backup-client: do not start garbage collection after backup Dietmar Maurer 2018-12-21 09:24:55 +0100
  • d62e6e2264 backup-client: use 1M chunks, make chunk_size configurable Dietmar Maurer 2018-12-21 08:36:57 +0100
  • c34eb16651 backup-clinet: specify target file name Dietmar Maurer 2018-12-20 14:09:31 +0100
  • c2d9b3914a add test code to access static global state Dietmar Maurer 2018-12-20 14:03:42 +0100
  • fe0e04c69c use proxmox-backup as package name Dietmar Maurer 2018-12-20 10:32:49 +0100
  • f7dd683b46 fix tests Dietmar Maurer 2018-12-19 13:54:22 +0100
  • 277fc5a3ce try to improve error messages Dietmar Maurer 2018-12-19 13:40:26 +0100
  • eae8aa3aa9 cleanups: avoid compiler warnings Dietmar Maurer 2018-12-19 12:49:23 +0100
  • 6c20a13d3c cleanup - avoid too much indentation Dietmar Maurer 2018-12-19 12:40:26 +0100
  • 1c43c56b06 cleanup Dietmar Maurer 2018-12-19 12:30:37 +0100
  • 2bf5f6b220 ChunkStore::sweep_used_chunks - use openat to speedup directory walks Dietmar Maurer 2018-12-19 12:20:01 +0100
  • 1628a4c731 use timers with a signal for file locking Wolfgang Bumiller 2018-12-19 11:08:57 +0100
  • 8cf6e764ad add tools::timer module Wolfgang Bumiller 2018-12-19 11:07:43 +0100
  • 2aea95210e add rust standard .gitignore file Wolfgang Bumiller 2018-12-19 11:06:40 +0100
  • 365bb90f17 move lock_file to tools.rs Dietmar Maurer 2018-12-19 10:02:24 +0100
  • 08481a0b60 impl sweep_used_chunks, first try Dietmar Maurer 2018-12-19 09:51:33 +0100
  • 6ea3a0b7fc move sweep_used_chunks to chunk_store Dietmar Maurer 2018-12-18 11:18:55 +0100
  • 3d5c11e5d2 start impl garbage collection Dietmar Maurer 2018-12-18 11:06:03 +0100
  • 529de6c7a3 start implementing DataStore Dietmar Maurer 2018-12-17 13:00:39 +0100
  • 4818c8b6f7 start implementing ImageIndexReader Dietmar Maurer 2018-12-16 14:44:44 +0100
  • a27a3ee4ba avoid compiler warnings Dietmar Maurer 2018-12-16 13:57:59 +0100
  • af3e7d7551 fix chunk store file paths Dietmar Maurer 2018-12-16 13:52:16 +0100
  • 0cd9d4206f improve error messages Dietmar Maurer 2018-12-16 13:43:19 +0100
  • 4fbb72a8b4 image_index.rs: implement atomic write/rename Dietmar Maurer 2018-12-16 13:39:21 +0100
  • 798881a68a rebane ImageIndex to ImageIndexWriter Dietmar Maurer 2018-12-16 11:51:16 +0100
  • 5e5b7f1c2d use u64 to store time Dietmar Maurer 2018-12-16 11:48:03 +0100
  • d13e3745b3 image_index.rs: write header Dietmar Maurer 2018-12-15 17:05:49 +0100
  • 606ce64bb0 image_index.rs:write idx of chunks (use mmap) Dietmar Maurer 2018-12-15 14:51:05 +0100
  • f8838fe913 backup-client: add bash completion for datastore names Dietmar Maurer 2018-12-15 11:24:39 +0100
  • 445ebe0ec8 install backup-client binary Dietmar Maurer 2018-12-15 11:22:22 +0100
  • e2f93d4fd4 add backup-client bash completion Dietmar Maurer 2018-12-15 11:19:04 +0100
  • 5f0c2d5652 remove debug println Dietmar Maurer 2018-12-15 11:16:27 +0100
  • 43eeef28d1 move file_chunker to tools Dietmar Maurer 2018-12-15 11:14:41 +0100
  • 48e8689505 file_chunker: use Read trait Dietmar Maurer 2018-12-15 11:08:49 +0100
  • fc8b19368a backup-client: pass chunk_size as parameter to file_chunker Dietmar Maurer 2018-12-15 10:58:48 +0100
  • a914a77448 backup-client: read file by chunks root 2018-12-14 13:39:41 +0100
  • ff5d37074d bin/backup-client.rs: nbew tool to play with chunk store root 2018-12-14 08:28:56 +0100
  • 15b64d4606 api3/config/datastore.rs: create datastore files root 2018-12-13 14:41:14 +0100
  • 7f4e639b37 improve completion Dietmar Maurer 2018-12-12 13:00:58 +0100
  • e3d40bb8cd complete_datastore_name: write more compact code Dietmar Maurer 2018-12-12 12:41:59 +0100
  • 30d2e99c77 implement completion functions Dietmar Maurer 2018-12-12 12:18:28 +0100
  • 91643d9012 section_config.rs: remove debug output Dietmar Maurer 2018-12-12 12:18:49 +0100
  • d64d80d20a add comment Dietmar Maurer 2018-12-12 11:23:04 +0100
  • 5ba6968922 add comment to make intensions more clear Dietmar Maurer 2018-12-12 11:21:00 +0100
  • ca9caffa23 cleanup parameter types Dietmar Maurer 2018-12-12 10:37:03 +0100
  • 38555b5072 implement completion for enums Dietmar Maurer 2018-12-12 08:33:50 +0100
  • 2f0258959b improve completion Dietmar Maurer 2018-12-12 08:18:38 +0100
  • d769db43f5 do not use default completion Dietmar Maurer 2018-12-12 07:58:07 +0100
  • f46403cc65 improve bash completion Dietmar Maurer 2018-12-12 07:51:43 +0100
  • b6e8dd39aa impl bash completion: first try Dietmar Maurer 2018-12-11 14:21:05 +0100
  • c21de379ed install bash completion scripts Dietmar Maurer 2018-12-11 12:54:10 +0100
  • 6460764dbb cli/command.rs: add new type CliCommandMap Dietmar Maurer 2018-12-11 11:31:36 +0100
  • bf7f103944 implement builder pattern for CliCommand Dietmar Maurer 2018-12-11 11:12:13 +0100
  • baed30b702 cli/command.rs: implement prefix match Dietmar Maurer 2018-12-10 18:13:55 +0100
  • 8f62336b0f impl From for CommandLineInterface Dietmar Maurer 2018-12-10 13:51:10 +0100
  • 9f6ab1fc58 rename CmdDef to CommandLineInterface Dietmar Maurer 2018-12-10 13:40:10 +0100
  • b7329c8a1a src/cli/command.rs: move code into separate file Dietmar Maurer 2018-12-10 13:36:52 +0100
  • 211fabd795 try to support nested cli command definitions Dietmar Maurer 2018-12-10 13:28:38 +0100
  • 34d3ba52eb api3/config/datastore.rs: implement delete Dietmar Maurer 2018-12-09 16:52:32 +0100
  • 1a7bc3dd5e file_set_contents: correctly use perm parameter Dietmar Maurer 2018-12-09 16:41:54 +0100
  • f12f8ff1a6 implement tools::file_set_contents Dietmar Maurer 2018-12-09 16:37:48 +0100
  • 652c11900d api3/config/datastore.rs: impl create Dietmar Maurer 2018-12-09 12:51:31 +0100
  • ea0b8b6ec0 bin/pbs-datastore.rs: start implementing cli commands Dietmar Maurer 2018-12-09 11:59:32 +0100
  • 5b34c2607d rename entry to item Dietmar Maurer 2018-12-09 10:25:56 +0100
  • b65eaac62d api3/config/datastore.rs: return real data Dietmar Maurer 2018-12-09 10:23:19 +0100
  • 6349ed60b4 config/datastore.rs - open file for reading Dietmar Maurer 2018-12-09 10:22:39 +0100
  • 926fc18687 create config dir Dietmar Maurer 2018-12-09 10:21:54 +0100
  • ce55dbbcc6 simplify code Dietmar Maurer 2018-12-09 09:42:17 +0100
  • 461e62fcdf remove some compiler warnings Dietmar Maurer 2018-12-08 14:55:54 +0100
  • 567713b4c3 rename data_store to datastore Dietmar Maurer 2018-12-08 14:51:08 +0100
  • 6ce50400c5 cleanup api3 structure Dietmar Maurer 2018-12-08 14:44:55 +0100
  • 678d72df6b add data_store configuration Dietmar Maurer 2018-12-08 13:58:45 +0100
  • 391a2e43ff chunk_store.insert_chunk: return information about existing chunks Dietmar Maurer 2018-12-08 11:25:11 +0100
  • 12bb93b3ad code cleanup Dietmar Maurer 2018-12-08 11:20:02 +0100
  • 022fb421b2 lock with timeout Dietmar Maurer 2018-12-08 10:57:09 +0100
  • 2989f6bf20 improve error messages Dietmar Maurer 2018-12-08 08:38:42 +0100
  • b8d4766a4d code cleanup Dietmar Maurer 2018-12-08 08:21:20 +0100
  • 45773720ab depend on nix, use flock Dietmar Maurer 2018-12-07 18:14:07 +0100