c8449217dc 
					 
					
						
						
							
							rename TaskState to WorkerTaskContext  
						
						
						
						
					 
					
						2021-09-24 10:33:49 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b9700a9fe5 
					 
					
						
						
							
							move worker_task.rs into proxmox-rest-server crate  
						
						... 
						
						
						
						Also moved pbs-datastore/src/task.rs to pbs-tools, which now depends on 'log'. 
						
						
					 
					
						2021-09-24 10:28:17 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						049a22a3a3 
					 
					
						
						
							
							src/server/worker_task.rs: Avoid using pbs-api-type::Authid  
						
						... 
						
						
						
						Because we want to move worker_task.rs into proxmox-rest-server crate. 
						
						
					 
					
						2021-09-23 11:59:25 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bfa942c0cf 
					 
					
						
						
							
							api: make some workers log on CLI  
						
						... 
						
						
						
						some workers did not log when called via cli
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2021-09-21 15:10:37 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ccc3896ff3 
					 
					
						
						
							
							avoid type re-exports  
						
						
						
						
					 
					
						2021-09-14 08:35:43 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						048b43af24 
					 
					
						
						
							
							split tape code into new pbs_tape workspace  
						
						
						
						
					 
					
						2021-09-13 12:54:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6227654ad8 
					 
					
						
						
							
							more api type cleanups: avoid re-exports  
						
						
						
						
					 
					
						2021-09-10 12:25:32 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e7d4be9d85 
					 
					
						
						
							
							move datastore config to pbs_config workspace  
						
						
						
						
					 
					
						2021-09-10 08:40:58 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ba3d7e19fb 
					 
					
						
						
							
							move user configuration to pbs_config workspace  
						
						... 
						
						
						
						Also moved memcom.rs and cached_user_info.rs 
						
						
					 
					
						2021-09-10 07:09:04 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8cc3760e74 
					 
					
						
						
							
							move acl to pbs_config workspaces, pbs_api_types cleanups  
						
						
						
						
					 
					
						2021-09-09 10:50:08 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5af3bcf062 
					 
					
						
						
							
							changer config cleanup: use Updater  
						
						
						
						
					 
					
						2021-09-08 09:29:01 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cdc83c4eb2 
					 
					
						
						
							
							tape job cleanup: user Updater  
						
						
						
						
					 
					
						2021-09-08 08:55:55 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ffa403b5fd 
					 
					
						
						
							
							verify job cleanup: use Updater/flatten  
						
						
						
						
					 
					
						2021-09-08 08:40:32 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5bd77f00e2 
					 
					
						
						
							
							sync job cleanup: use Updater/flatten  
						
						
						
						
					 
					
						2021-09-08 08:28:09 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						802189f7f5 
					 
					
						
						
							
							move verify.rs to pbs_config workspace  
						
						
						
						
					 
					
						2021-09-08 08:01:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a4e5a0fc9f 
					 
					
						
						
							
							move sync.rs to pbs_config workspace  
						
						
						
						
					 
					
						2021-09-08 06:57:23 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e3619d4101 
					 
					
						
						
							
							moved tape_job.rs to pbs_config workspace  
						
						
						
						
					 
					
						2021-09-07 12:40:15 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5839c469c1 
					 
					
						
						
							
							move tape_encryption_keys.rs to pbs_config workspace  
						
						
						
						
					 
					
						2021-09-07 10:37:08 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bbdda58b35 
					 
					
						
						
							
							moved key_derivation.rs from pbs_datastore to pbs-config/src/key_config.rs  
						
						... 
						
						
						
						Also moved pbs-datastore/src/crypt_config.rs to pbs-tools/src/crypt_config.rs.
We do not want to depend on pbs-api-types there, so I use [u8;32] instead of
Fingerprint. 
						
						
					 
					
						2021-09-07 10:12:17 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						45d5d873ce 
					 
					
						
						
							
							move Kdf and KeyInfo to pbs_api_types workspace  
						
						
						
						
					 
					
						2021-09-07 09:59:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						aad2d162ab 
					 
					
						
						
							
							move media_pool config to pbs_config workspace  
						
						
						
						
					 
					
						2021-09-06 08:56:04 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1ce8e905ea 
					 
					
						
						
							
							move drive config to pbs_config workspace  
						
						... 
						
						
						
						Also moved the tape type definitions to pbs_api_types. 
						
						
					 
					
						2021-09-03 09:10:18 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6afdda8832 
					 
					
						
						
							
							move remote config into pbs-config workspace  
						
						
						
						
					 
					
						2021-09-02 14:25:15 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2121174827 
					 
					
						
						
							
							start new pbs-config workspace  
						
						... 
						
						
						
						moved src/config/domains.rs 
						
						
					 
					
						2021-09-02 12:58:20 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b2065dc7d2 
					 
					
						
						
							
							cleanup proxmox_backup::backup module  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-08-30 14:14:04 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						97dfc62f0d 
					 
					
						
						
							
							remote config: derive and use Updater  
						
						... 
						
						
						
						Defined a new struct RemoteConfig (without name and password). This makes it
possible to bas64-encode the pasword in the config, but still allow plain
passwords with the API. 
						
						
					 
					
						2021-08-30 12:48:45 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dbda1513c5 
					 
					
						
						
							
							tape: media_pool: derive and use Updater  
						
						
						
						
					 
					
						2021-08-30 11:17:14 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c62a6acb2e 
					 
					
						
						
							
							drive config cleanup: derive and use Updater  
						
						
						
						
					 
					
						2021-08-30 10:50:20 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e4a5c072b4 
					 
					
						
						
							
							openid cleanup: derive and use Updater  
						
						
						
						
					 
					
						2021-08-30 09:48:53 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a37c8d2431 
					 
					
						
						
							
							use ApiType trait  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-08-25 10:43:58 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a8a20e9210 
					 
					
						
						
							
							use new api updater features  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-08-25 10:43:58 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						68e77657e6 
					 
					
						
						
							
							datastore config: cleanup code (use flatten attribute)  
						
						
						
						
					 
					
						2021-07-23 12:43:33 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7526d86419 
					 
					
						
						
							
							use new atomic_open_or_create_file  
						
						... 
						
						
						
						Factor out open_backup_lockfile() method to acquire locks owned by
user backup with permission 0660.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2021-07-20 18:54:23 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2b7f8dd5ea 
					 
					
						
						
							
							move client to pbs-client subcrate  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-19 12:58:43 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bbd34d70d5 
					 
					
						
						
							
							api: config: access: openid: use better Privilige Realm.Allocate  
						
						... 
						
						
						
						Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-12 09:53:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9779ad0b00 
					 
					
						
						
							
							api: config: access: openid: use correct parameter for matching  
						
						... 
						
						
						
						Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-12 09:53:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						82bdf6b5e7 
					 
					
						
						
							
							api: tfa: module path cleanup  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-12 08:43:14 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						49f44cedbf 
					 
					
						
						
							
							api: config: delete datastore: also remove tape backup jobs  
						
						... 
						
						
						
						Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-08 12:15:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eb1c59cc2a 
					 
					
						
						
							
							api: add keep-job-configs flag to datastore remove endpoint  
						
						... 
						
						
						
						Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
Suggested Fixes:
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-08 12:15:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c23192d34e 
					 
					
						
						
							
							move chunk_store to pbs-datastore  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 14:37:47 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						86fb38776b 
					 
					
						
						
							
							add pbs-api-types subcrate, move key_derivation  
						
						... 
						
						
						
						move key_derivation to pbs-datastore
pbs-api-types should only contain "basic" types which
* are usually required by clients
* don't depend on pbs-related code directly
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 09:04:09 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						85beb7d875 
					 
					
						
						
							
							tree-wide: switch to using mod.rs  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-06 12:04:52 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3b7b1dfb8e 
					 
					
						
						
							
							api: add openid redirect/login API  
						
						
						
						
					 
					
						2021-06-30 08:54:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b84d2592fb 
					 
					
						
						
							
							add API to manage openid realms  
						
						
						
						
					 
					
						2021-06-30 08:54:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2de4dc3a81 
					 
					
						
						
							
							backup/chunk_store: optionally log progress on creation  
						
						... 
						
						
						
						and enable it for the worker variants
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-06-04 09:32:09 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b90036dadd 
					 
					
						
						
							
							cleanup: factor out config::datastore::lock_config()  
						
						
						
						
					 
					
						2021-06-04 09:04:14 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4708f4fc21 
					 
					
						
						
							
							api2/config/datastore: change create datastore api call to a worker  
						
						... 
						
						
						
						so that longer running creates (e.g. a slow storage), does not
run in a timeout and we can follow its creation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com > 
						
						
					 
					
						2021-06-04 09:02:05 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						062cf75cdf 
					 
					
						
						
							
							proxmox-backup-proxy: fix leftover references on datastore removal  
						
						... 
						
						
						
						when we remove a datastore via api/cli, the proxy
has sometimes leftover references to that datastore in its
DATASTORE_MAP which includes an open filehandle on the
'.lock' file
this prevents unmounting/exporting the datastore even after removal,
only a reload/restart of the proxy did help
add a command to our command socket, which removes all non
configured datastores from the map, dropping the open filehandle
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com > 
						
						
					 
					
						2021-06-04 08:22:53 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9fe4c79005 
					 
					
						
						
							
							api: acme accounts: use name as worker ID  
						
						... 
						
						
						
						Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2021-05-11 18:07:03 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d308dc8af7 
					 
					
						
						
							
							acme: use proxmox-acme-plugins and load schema from there  
						
						... 
						
						
						
						Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2021-05-10 14:41:12 +02:00