| 
						
					 | 
					
						
						
							
						
						e18a6c9ee5
					 | 
					
						
						
							
							update to nix 0.14, use code from proxmox:tools
						
						
						
						
						
						
					 | 
					
						2019-08-03 13:05:38 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						47651f9530
					 | 
					
						
						
							
							pxar: cleanup: move feature flags to src/pxar/flags.rs and omit CA_FORMAT prefix on all of them
						
						
						
						
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com> 
						
						
					 | 
					
						2019-08-03 08:51:06 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b335f5b713
					 | 
					
						
						
							
							src/bin/proxmox-backup-client.rs: sign index.json
						
						
						
						
						
						
					 | 
					
						2019-08-02 10:00:15 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						2c3891d1c3
					 | 
					
						
						
							
							src/bin/proxmox-backup-client.rs: upload backup index.json
						
						
						
						
						
						
						
						The plan is to use this file to verify the backup content. 
						
						
					 | 
					
						2019-08-01 12:39:02 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ca5d0b61ca
					 | 
					
						
						
							
							src/api2/backup.rs: new required backup-time parameter
						
						
						
						
						
						
						
						The client should pass the time as parameter. 
						
						
					 | 
					
						2019-07-25 13:44:01 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						04512d3068
					 | 
					
						
						
							
							src/client/http_client.rs: allow upload with parameters
						
						
						
						
						
						
					 | 
					
						2019-07-25 12:17:35 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5b72c9b4f7
					 | 
					
						
						
							
							src/pxar/encoder.rs: add new skip_lost_and_found parameter
						
						
						
						
						
						
					 | 
					
						2019-07-24 12:21:25 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						6c3c9bceb5
					 | 
					
						
						
							
							pxar_backup_stream.rs: limit lock scope to avoid blocking forever
						
						
						
						
						
						
					 | 
					
						2019-07-24 11:30:43 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						684233aa3b
					 | 
					
						
						
							
							remove debug output
						
						
						
						
						
						
					 | 
					
						2019-07-24 09:33:52 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5be106eeae
					 | 
					
						
						
							
							src/client/pxar_backup_stream.rs: correctly pass errors to stream
						
						
						
						
						
						
					 | 
					
						2019-07-24 09:24:35 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						2eeaacb974
					 | 
					
						
						
							
							src/pxar/encoder.rs: allow to pass list of devices
						
						
						
						
						
						
						
						For better mount point include control... 
						
						
					 | 
					
						2019-07-24 08:11:59 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						fa5d6977dd
					 | 
					
						
						
							
							Revert previous, commit, use UTC RFC3339 without timezone (Z)
						
						
						
						
						
						
						
						We now have human readable data/time, and names are still sortable. 
						
						
					 | 
					
						2019-07-22 11:49:30 +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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f4bf7dfcc7
					 | 
					
						
						
							
							src/client/remote_chunk_reader.rs: implement simple caching
						
						
						
						
						
						
					 | 
					
						2019-07-05 10:42:46 +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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9cc88a7c00
					 | 
					
						
						
							
							src/client/http_client.rs - finish: hold reference to avoid early connection close
						
						
						
						
						
						
					 | 
					
						2019-07-04 15:11:23 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						99168f43e6
					 | 
					
						
						
							
							src/client/http_client.rs: s/set_recv_buf_size/set_recv_buffer_size/
						
						
						
						
						
						
					 | 
					
						2019-07-04 10:51:18 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b2a6897982
					 | 
					
						
						
							
							src/client/remote_chunk_reader.rs: remove dead code
						
						
						
						
						
						
					 | 
					
						2019-07-03 14:56:24 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7f99bf691a
					 | 
					
						
						
							
							src/client/remote_chunk_reader.rs: implement remote chunk reader
						
						
						
						
						
						
					 | 
					
						2019-07-03 14:39:13 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4f6aaf542c
					 | 
					
						
						
							
							src/client/http_client.rs: avoid compiler warning
						
						
						
						
						
						
					 | 
					
						2019-07-03 14:36:02 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3467cd91e9
					 | 
					
						
						
							
							src/client/http_client.rs: return Arc<Self>
						
						
						
						
						
						
						
						Avoid to call canceller for each clone on drop ... 
						
						
					 | 
					
						2019-07-03 14:26:07 +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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8fad30a4b1
					 | 
					
						
						
							
							use latest hyper master branch to include socket buffer size fix
						
						
						
						
						
						
					 | 
					
						2019-07-02 07:09:46 +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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a2b29b68d4
					 | 
					
						
						
							
							src/client/http_client.rs: use maximal h2 window sizes
						
						
						
						
						
						
					 | 
					
						2019-06-29 11:05:36 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						fcf5dea56d
					 | 
					
						
						
							
							src/client/http_client.rs: increase h2 window size, set tcp nodelay option
						
						
						
						
						
						
						
						To increase h2 download speed. 
						
						
					 | 
					
						2019-06-28 16:00:58 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						984a7c3502
					 | 
					
						
						
							
							src/client/http_client.rs - h2 download: implement flow control
						
						
						
						
						
						
					 | 
					
						2019-06-28 07:02:43 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						dd066d28e2
					 | 
					
						
						
							
							src/api2/reader.rs: implement backup reader protocol
						
						
						
						
						
						
					 | 
					
						2019-06-27 09:01:41 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						fb0470837b
					 | 
					
						
						
							
							src/client/http_client.rs: split out code to start new h2 connections
						
						
						
						
						
						
					 | 
					
						2019-06-26 12:09:18 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c2b945341c
					 | 
					
						
						
							
							src/client/http_client.rs - download: use generic Write type, return writer.
						
						
						
						
						
						
						
						Make it possible to write int Vec<u8>. 
						
						
					 | 
					
						2019-06-26 09:17:13 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						81820b0d4d
					 | 
					
						
						
							
							src/client/http_client.rs - download: fix error handling
						
						
						
						
						
						
					 | 
					
						2019-06-25 12:43:55 +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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						bffd40d6b7
					 | 
					
						
						
							
							src/tools.rs: move hex_to_digest and digest_to_hex to proxmox::tools
						
						
						
						
						
						
					 | 
					
						2019-06-14 11:40:04 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f98ac774ee
					 | 
					
						
						
							
							backup: Add support for client side encryption
						
						
						
						
						
						
						
						first try ... 
						
						
					 | 
					
						2019-06-13 11:47:23 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						bd0e3c7cfa
					 | 
					
						
						
							
							src/backup/data_chunk.rs: Moved ChunkInfo from merge_known_chunks.rs
						
						
						
						
						
						
					 | 
					
						2019-06-13 07:35:02 +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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						986bef16be
					 | 
					
						
						
							
							src/backup.rs; use a macro to define PROXMOX_BACKUP_PROTOCOL_ID_V1
						
						
						
						
						
						
						
						So that we can include it in static doc strings. 
						
						
					 | 
					
						2019-06-05 08:41:20 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c9ec0956cf
					 | 
					
						
						
							
							src/backup.rs: define const PROXMOX_BACKUP_PROTOCOL_ID_V1
						
						
						
						
						
						
					 | 
					
						2019-06-05 08:12:13 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7773ccc11f
					 | 
					
						
						
							
							src/api2.rs: move backup api to /backup
						
						
						
						
						
						
					 | 
					
						2019-06-05 07:23:21 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ef39bf95b3
					 | 
					
						
						
							
							src/client/http_client.rs - upload_config: improve error message
						
						
						
						
						
						
					 | 
					
						2019-06-03 10:53:09 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ec8a9bb953
					 | 
					
						
						
							
							src/bin/proxmox-backup-client.rs: implement upload_config
						
						
						
						
						
						
					 | 
					
						2019-06-03 10:39:44 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						39d6846e1e
					 | 
					
						
						
							
							src/api2/admin/datastore/backup.rs: implement config file upload
						
						
						
						
						
						
					 | 
					
						2019-06-03 09:45:14 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						642322b433
					 | 
					
						
						
							
							src/api2/admin/datastore/backup.rs: use separate api entry points for chunk upload
						
						
						
						
						
						
						
						So that we can provide better statistics (patches follows). 
						
						
					 | 
					
						2019-05-30 09:21:19 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						39e60bd6fa
					 | 
					
						
						
							
							src/api2/admin/datastore/backup.rs: improve debug logging
						
						
						
						
						
						
					 | 
					
						2019-05-29 10:17:38 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3dc5b2a203
					 | 
					
						
						
							
							src/client/http_client.rs: use start of chunk as offset
						
						
						
						
						
						
					 | 
					
						2019-05-28 09:21:31 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8de20e5c1f
					 | 
					
						
						
							
							src/client/http_client.rs: code cleanup
						
						
						
						
						
						
					 | 
					
						2019-05-28 08:53:27 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a42fa400ee
					 | 
					
						
						
							
							src/api2/admin/datastore/backup.rs: implement fixed sized chunk upload api
						
						
						
						
						
						
					 | 
					
						2019-05-28 06:18:55 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |