Commit Graph

151 Commits

Author SHA1 Message Date
Jonas Borgström bb7b64ab8d Make verify handle failures better 2011-08-16 20:47:38 +02:00
Jonas Borgström 885dc88350 Remove store commit race condition 2011-08-16 20:40:24 +02:00
Jonas Borgström bb6e4fbd93 Rework store design to use a single namespace 2011-08-15 22:32:26 +02:00
Jonas Borgström 9e9d7c4b2b Prepare for future journal support 2011-08-14 20:06:30 +02:00
Jonas Borgström ebbab77a86 Fix cache rollback logic race condition 2011-08-14 14:50:56 +02:00
Jonas Borgström 1c207d5686 More purge improvements 2011-08-12 08:49:01 +02:00
Jonas Borgström 86a4353d32 Improved purging algorithm 2011-08-11 21:18:13 +02:00
Jonas Borgström 833baae65b Remove python 2.7 requirement for format_timedelta 2011-08-08 20:55:09 +02:00
Jonas Borgström 996fd10f8f Added fingerprint and number of files to sats/info output 2011-08-07 20:00:18 +02:00
Jonas Borgström 2c328be1b1 Ignore unix sockets 2011-08-07 19:44:13 +02:00
Jonas Borgström 8616df7f32 Added creation time stats output using the --stats flag 2011-08-07 17:10:21 +02:00
Jonas Borgström 9feef66d4e Purge improvements: New options yearly and prefix 2011-08-07 14:04:14 +02:00
Jonas Borgström e0615df187 Defer directory attr restoration to avoid permission problems 2011-08-07 12:38:43 +02:00
Jonas Borgström ddade8384c Improved utf-8 support on non darwin platforms 2011-08-07 12:37:17 +02:00
Jonas Borgström 66885c3986 Do datetime to date conversion using the local time zone 2011-08-06 23:37:44 +02:00
Jonas Borgström 5443441e3f Initial implementation of subcommand "purge" 2011-08-06 23:33:06 +02:00
Jonas Borgström bf08c09dcc Improved error handling 2011-08-06 13:14:08 +02:00
Jonas Borgström 1d0914177d Bring function tests back to life 2011-08-06 13:01:58 +02:00
Jonas Borgström 59e33ab29f Ignore IOErrors from xattr module 2011-08-05 15:53:01 +02:00
Jonas Borgström a4f61d1328 Fixed remote store upstream performance issue 2011-08-05 15:52:09 +02:00
Jonas Borgström 64a318501d More user friendly key file handling 2011-08-04 15:27:52 +02:00
Jonas Borgström 60298e1469 Restored python 2.5 compatibility 2011-08-03 17:54:03 +02:00
Jonas Borgström ed529f4d86 Updated cache regeneration logic 2011-08-03 17:39:43 +02:00
Jonas Borgström 748401e21e Deduplicate the items stream the same way as ordinary files 2011-08-02 23:20:46 +02:00
Jonas Borgström 2d6df6454e More optimizations 2011-08-02 21:45:21 +02:00
Jonas Borgström 2d47afe368 Optimize list and verify for remote stores 2011-07-31 18:37:27 +02:00
Jonas Borgström 95a9a45604 Fixed remote store race condition 2011-07-31 18:22:58 +02:00
Jonas Borgström 8dc057a70e Remove potential busy wait for remote stores 2011-07-30 22:51:16 +02:00
Jonas Borgström 6c77ce53d9 Improved stats and delete performace on remote stores 2011-07-30 22:50:59 +02:00
Jonas Borgström b294ceba67 Switch to pure AES256 encryption and improved metadata storage 2011-07-30 21:13:48 +02:00
Jonas Borgström d130754a10 Avoid generating zero byte chunks at the end of files 2011-07-18 00:00:03 +02:00
Jonas Borgström 3f20f8ed7d Asynchronous extract and verify mode 2011-07-17 23:53:23 +02:00
Jonas Borgström 87271291a1 More remote store improvements 2011-07-17 22:31:37 +02:00
Jonas Borgström ea1c599413 Another minor cache bug 2011-07-06 22:23:41 +02:00
Jonas Borgström c125ecc2f9 Some experimental remote store optimizations 2011-07-06 22:16:07 +02:00
Jonas Borgström 1711a457f7 Fix issue with truncated file cache file 2011-07-06 22:11:01 +02:00
Jonas Borgström f7ebd19640 Improved remote upstream performance 2011-07-05 21:29:15 +02:00
Jonas Borgström 0680c0a24f Open cache/files on demand 2011-07-02 20:39:35 +02:00
Jonas Borgström 785ba396bb Fix store test case 2011-07-02 20:39:22 +02:00
Jonas Borgström 9683b2ea82 Verify object ns and id when reading bands 2011-07-02 20:14:45 +02:00
Jonas Borgström b608bf71db Remove sub command "init". Stores are now auto-created 2011-07-02 19:46:41 +02:00
Jonas Borgström e8ed99f300 Added --include/--exclude options to verify sub command 2011-07-02 19:25:29 +02:00
Jonas Borgström 0f7d5a64a1 Fix datetime parsing logic 2011-07-01 22:12:42 +02:00
Jonas Borgström 43cb73603b Python 2.5 compatible timestamp parsing 2011-07-01 22:07:36 +02:00
Jonas Borgström 5f75b41fc4 Process files in alphabetical order 2011-07-01 22:01:24 +02:00
Jonas Borgström 650bd69da5 Decode hardlink source path before linking 2011-07-01 21:54:39 +02:00
Jonas Borgström 3eb211b442 Default to 'utf-8' as stderr and stdout encoding 2011-07-01 21:53:38 +02:00
Jonas Borgström fae9433c11 Various fixes to support Python 2.5 2011-06-23 22:47:51 +02:00
Jonas Borgström 9e11ae567d Added missing path prefix strip for hard links 2011-06-23 22:41:06 +02:00
Jonas Borgström af95b7c996 Store stat data even for hard links to make file listing prettier 2011-06-19 20:34:46 +02:00
Jonas Borgström fa6a45cb1c Handle crash between commit and delete_bands 2011-06-18 11:31:49 +02:00
Jonas Borgström fc5d57ed97 Chunks cache should be cleared before sync() 2011-06-18 11:25:29 +02:00
Jonas Borgström 0629afc2dd Sort archive listing in chronological order 2011-06-16 21:55:54 +02:00
Jonas Borgström 731af5414a Fix store and cache dir auto ignore 2011-01-04 23:16:55 +01:00
Jonas Borgström 366d4ac8c1 Create ~/.darc/ directory if missing 2011-01-04 23:00:39 +01:00
Jonas Borgström 811bbb3e89 Fix paramiko password prompting 2011-01-04 22:37:27 +01:00
Jonas Borgström 0e3ba200b1 Fix hashindex_lookup corner case (infinite loop) 2010-12-29 20:18:22 +01:00
Jonas Borgström 666db4bf4f New cache implementation 2010-12-21 21:29:09 +01:00
Jonas Borgström ef032d30b1 Transaction safe band cleanup 2010-12-19 12:46:42 +01:00
Jonas Borgström 2ce45395ce _hashindex.c: Log errors to stderr 2010-12-17 22:14:36 +01:00
Jonas Borgström 9458977c62 Store crc32 hash in band headers 2010-12-17 22:13:10 +01:00
Jonas Borgström 008409c73c Rewritten and optimized chunkifier 2010-12-16 22:56:04 +01:00
Jonas Borgström 399e4f6b9e Create buffers instead of strings 2010-12-16 21:34:58 +01:00
Jonas Borgström af614665ca New hashindex implementation. 2010-12-16 20:23:22 +01:00
Jonas Borgström f9e63e302a New "bands" store index 2010-12-08 22:58:23 +01:00
Jonas Borgström a308ac8de5 Store compaction performance improvements 2010-12-07 21:45:21 +01:00
Jonas Borgström d1bd66497d HashIndex format change 2010-12-07 21:31:09 +01:00
Jonas Borgström ecc8b1e7c1 Reworked packer format again 2010-12-06 21:46:29 +01:00
Jonas Borgström 658cced886 Minor format simplification 2010-12-05 17:57:17 +01:00
Jonas Borgström a04ad26975 New filesystem based store implementation 2010-12-04 21:03:02 +01:00
Jonas Borgström c9aca63d6d Split large archive item packages into multiple smaller ones 2010-11-29 21:08:37 +01:00
Jonas Borgström 198b3f90fc Memory usage improvments 2010-11-23 14:46:53 +01:00
Jonas Borgström 84b4b08309 Fix hardlink bug and added corresponding test case 2010-11-23 12:55:42 +01:00
Jonas Borgström 231c06f0d5 Move walk_path logic into archiver.py for better error handling 2010-11-23 12:50:09 +01:00
Jonas Borgström 2a631bb3e6 Minor refactoring to reuse existing id string objects when possible 2010-11-23 12:49:09 +01:00
Jonas Borgström 9f5e029a7b Improved IncludePattern match logic 2010-11-23 12:41:04 +01:00
Jonas Borgström 81e2430f7b Only use 31 bits for chunification seed 2010-11-23 12:38:10 +01:00
Jonas Borgström 58f51f1789 Various remote store improvements 2010-11-17 22:40:39 +01:00
Jonas Borgström f300051fe4 Added support for ssh://user@host/path and file:///file locations 2010-11-17 21:28:13 +01:00
Jonas Borgström 1a9f1965d3 More tolerant remote side stderr output handling 2010-11-16 22:55:51 +01:00
Jonas Borgström 20935f809e Experimental remote store support 2010-11-16 22:30:27 +01:00
Jonas Borgström d15d57b268 Auto ignore darc cache and store directories when creating archives 2010-11-09 20:49:21 +01:00
Jonas Borgström 9f949241b0 Fixed typo 2010-11-09 20:48:20 +01:00
Jonas Borgström 480c946415 Rework the way the encryption works to make it more tamper proof 2010-11-08 22:15:54 +01:00
Jonas Borgström 6665275db1 Fix extract command verbose output 2010-11-04 23:04:09 +01:00
Jonas Borgström b8e9cf171d Removed unused exported functions 2010-11-04 23:00:50 +01:00
Jonas Borgström 4f86304437 Handle unprintable characters when printing to stdout and stderr. 2010-11-04 22:32:31 +01:00
Jonas Borgström 330315ba0d Chunkifier improvements. Including tin foil hat compliant seeding. 2010-11-04 21:19:01 +01:00
Jonas Borgström dafd75f4e6 Handle special case where RSA.encrypt returns cipher text shorter than 256 bytes. 2010-11-03 19:46:21 +01:00
Jonas Borgström 6fe6812df2 Experimental --include/exclude support 2010-11-02 22:47:39 +01:00
Jonas Borgström 9f6d2284c3 Improved keychain tests 2010-11-02 20:59:57 +01:00
Jonas Borgström bee4c86719 Various bug fixes 2010-11-02 18:33:53 +01:00
Jonas Borgström 9e35c56adb Fixed linux xattr issue 2010-11-01 23:06:56 +01:00
Jonas Borgström d70993fc83 Merge CryptoManager and KeyChain into Keychain 2010-10-31 22:21:59 +01:00
Jonas Borgström 869f720be4 Various changes 2010-10-31 21:55:09 +01:00
Jonas Borgström fe663e3232 Added xattr support 2010-10-31 20:31:56 +01:00
Jonas Borgström 68bd3d3e3d Added FIFO support and improved tests 2010-10-31 20:12:32 +01:00
Jonas Borgström b5275ca526 Remove logging usage 2010-10-31 16:34:03 +01:00
Jonas Borgström 4c178e0010 Various improvements. 2010-10-27 21:01:57 +02:00
Jonas Borgström baa0224f55 Added README and fixed time format string typo 2010-10-27 21:01:43 +02:00