129dda4729 
					 
					
						
						
							
							src/bin/pxar.rs: add --files-from parameter to pxar extract  
						
						... 
						
						
						
						Allows to pass a list of match pattern to the pxar extract call by reading them
from file.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-07-17 12:20:29 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fa7e957ca3 
					 
					
						
						
							
							pxar: Adapt SequentialDecoder::restore() calls to pass empty match pattern for full restore  
						
						... 
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-07-17 12:19:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bdf0d82ced 
					 
					
						
						
							
							src/bin/pxar.rs: Make pxar extract target optional  
						
						... 
						
						
						
						In order to improve usablity, the target on archive extraction will be the
current working directory by default.
A different target can be provided via the optional --target <PATH> parameter.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-07-17 09:40:02 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						34a816cc7b 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: add output-fromat options, implement status api  
						
						
						
						
					 
					
						2019-07-16 13:35:25 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						aad2ee4947 
					 
					
						
						
							
							src/bin/pxar.rs: only print archive name in verbose mode  
						
						
						
						
					 
					
						2019-07-16 08:38:02 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6b9a071028 
					 
					
						
						
							
							src/bin/pxar.rs: add --verbose parameter to list (replace dump)  
						
						
						
						
					 
					
						2019-07-16 08:31:40 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2665cef703 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: make repository parameter optional  
						
						... 
						
						
						
						And allow to read it from $ENV{PBS_REPOSITORY} 
						
						
					 
					
						2019-07-16 07:30:04 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9eae781ab8 
					 
					
						
						
							
							src/bin/pxar.rs - extract: allow to read from stdin  
						
						
						
						
					 
					
						2019-07-05 12:39:25 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c6c9e093d0 
					 
					
						
						
							
							src/bin/pxar.rs - dump: allow to read from stdin  
						
						
						
						
					 
					
						2019-07-05 12:32:15 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bf1252619a 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs - restore: allow to pipe output to stdout  
						
						
						
						
					 
					
						2019-07-05 12:14:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f8100e9623 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: remove download cli, do everything in restore  
						
						
						
						
					 
					
						2019-07-05 11:36:45 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f4bf7dfcc7 
					 
					
						
						
							
							src/client/remote_chunk_reader.rs: implement simple caching  
						
						
						
						
					 
					
						2019-07-05 10:42:46 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						afb4cd28be 
					 
					
						
						
							
							src/backup/fixed_index.rs: implement BufferedFixedReader  
						
						
						
						
					 
					
						2019-07-05 09:19:56 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7dcbe051e9 
					 
					
						
						
							
							pxar: Refactor SequentialDecoder to store the callback function within the struct  
						
						... 
						
						
						
						Reduces the number of arguments for the function calls within the decoder.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-07-05 06:38:22 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						86eda3eb0d 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: implement restore using BackupReader  
						
						
						
						
					 
					
						2019-07-03 15:45:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6d1f61b208 
					 
					
						
						
							
							use hyper/tokio-openssl instead of hyper/tokio-tls  
						
						... 
						
						
						
						This exposes the complete SSL setup. And download is much faster
now (600MB/s instead of 130MB/s)! 
						
						
					 
					
						2019-07-02 13:36:28 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						74d0a6bc23 
					 
					
						
						
							
							src/bin/proxmox-backup-proxy.rs: set socket options for max. performance  
						
						
						
						
					 
					
						2019-07-02 10:48:58 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						93f8bb0445 
					 
					
						
						
							
							src/bin/h2s-client.rs: avoid compiler warnings  
						
						
						
						
					 
					
						2019-07-02 08:59:33 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dc9775d1b0 
					 
					
						
						
							
							src/bin/h2s-client.rs: increase tokio tcp stream read buffer size  
						
						... 
						
						
						
						This improves download speed by factor 10. 
						
						
					 
					
						2019-06-29 18:09:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						34f7131160 
					 
					
						
						
							
							src/bin/h2s-client.rs: avoid hyper, use h2 directly  
						
						... 
						
						
						
						But performance is still bad. 
						
						
					 
					
						2019-06-29 15:58:18 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5ed2277f0e 
					 
					
						
						
							
							src/bin/h2s-server.rs: test to reproduce slow h2 download  
						
						... 
						
						
						
						Simplified code, use with h2s-client.rs. 
						
						
					 
					
						2019-06-29 14:57:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						17243003b3 
					 
					
						
						
							
							src/bin/download-speed.rs: h2 download speedtest for our server  
						
						... 
						
						
						
						I get about 30MB/s (much too slow) 
						
						
					 
					
						2019-06-29 13:43:10 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						872debdefa 
					 
					
						
						
							
							src/bin/h2client.rs: tune h2 client parameters to get reasonable speed  
						
						... 
						
						
						
						We now get about 2.5GB/s (not really good, but better) 
						
						
					 
					
						2019-06-29 10:41:24 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fded1f3154 
					 
					
						
						
							
							add code to test H2 speed  
						
						... 
						
						
						
						I currently get about 1MB/s, which is ways too slow (must be a bug)? 
						
						
					 
					
						2019-06-29 10:08:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b208da8393 
					 
					
						
						
							
							src/backup/data_{chunk,blob}.rs: add verify_crc method  
						
						
						
						
					 
					
						2019-06-26 09:54:25 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fef44d4f78 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: decode blobs on download  
						
						... 
						
						
						
						No more need for that clumsy blob cli (removed). 
						
						
					 
					
						2019-06-26 09:18:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bb8231409e 
					 
					
						
						
							
							src/backup/crypt_config.rs -  generate_rsa_encoded_key: store as json  
						
						... 
						
						
						
						Use the KeyConfig serialization with kdf = None. 
						
						
					 
					
						2019-06-26 07:32:34 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3031e44c58 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: remove stale download file, start blob cli  
						
						
						
						
					 
					
						2019-06-25 13:00:37 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						45db6f89e1 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: implement download command  
						
						
						
						
					 
					
						2019-06-25 11:17:24 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6899dbfb47 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: strip .blob extension  
						
						
						
						
					 
					
						2019-06-25 07:11:02 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						045e8a568d 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: change key name to rsa-encrypted.key  
						
						
						
						
					 
					
						2019-06-25 07:00:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9f46c7de4b 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: upload rsa encoded key after backup  
						
						
						
						
					 
					
						2019-06-24 13:56:37 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cb08ac3efe 
					 
					
						
						
							
							src/api2/backup.rs: replace upload_config with upload_blob  
						
						
						
						
					 
					
						2019-06-23 11:44:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a7f67a9a9c 
					 
					
						
						
							
							depend on crc32fast  
						
						... 
						
						
						
						We can use this to compute fast checksums to test file integrity (not crypto safe). 
						
						
					 
					
						2019-06-21 15:58:00 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3ea8bfc9c0 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: add import-master-pubkey command  
						
						
						
						
					 
					
						2019-06-21 07:34:17 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						37c5a17505 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: helper to generate RSA master key  
						
						
						
						
					 
					
						2019-06-21 07:12:19 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ab44acff57 
					 
					
						
						
							
							src/backup/key_derivation.rs: add modified field to key file  
						
						
						
						
					 
					
						2019-06-20 07:58:33 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6d0983dbe1 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: add keyfile parameter for backup  
						
						
						
						
					 
					
						2019-06-19 17:16:41 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						181f097af9 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs - key API: pass kdf parameter  
						
						... 
						
						
						
						Allow to store keys without password. 
						
						
					 
					
						2019-06-18 18:21:01 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9b06db4563 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: use file system path to reference keys  
						
						
						
						
					 
					
						2019-06-18 17:38:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						091540298e 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs - create_key: always read password from tty  
						
						
						
						
					 
					
						2019-06-18 17:27:52 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						826f309bf5 
					 
					
						
						
							
							src/backup/key_derivation.rs: move kdf code into separate file  
						
						
						
						
					 
					
						2019-06-18 11:17:22 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ac71623483 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: implement "key change-passphrase"  
						
						
						
						
					 
					
						2019-06-17 13:10:00 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f2401311b0 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: start key management  
						
						
						
						
					 
					
						2019-06-17 10:33:24 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0f37577092 
					 
					
						
						
							
							src/bin/cipherbench.rs: add test for zstd compression  
						
						
						
						
					 
					
						2019-06-13 17:24:57 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9399c98f82 
					 
					
						
						
							
							src/bin/cipherbench.rs: cipher speed test with large blocks  
						
						
						
						
					 
					
						2019-06-13 17:16:43 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f98ac774ee 
					 
					
						
						
							
							backup: Add support for client side encryption  
						
						... 
						
						
						
						first try ... 
						
						
					 
					
						2019-06-13 11:47:23 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dd5495d6dc 
					 
					
						
						
							
							tree-wide: use 'dyn' for all trait objects  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-06-07 13:13:48 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4247fccb0f 
					 
					
						
						
							
							src/client/http_client.rs: automatically close connection in finish  
						
						
						
						
					 
					
						2019-06-05 11:41:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cb4426b348 
					 
					
						
						
							
							make h2 client connection cancellable  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-06-05 09:45:59 +02:00