39478aa52c 
					 
					
						
						
							
							prune sim: correctly keep track of already included backups  
						
						... 
						
						
						
						This needs to happen in a separate loop, because some time intervals are not
subsets of others, i.e. weeks and months. Previously, with a daily backup
schedule, having:
* a backup on Sun, 06 Dec 2020 kept by keep-daily
* a backup on Sun, 29 Nov 2020 kept by keep-weekly
would lead to the backup on Mon, 30 Nov 2020 to be selected for keep-monthly,
because the iteration did not yet reach the backup on Sun, 29 Nov 2020 that
would mark November as being covered.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com > 
						
						
							
						
					 
					
						2020-12-15 14:03:18 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6a99b930c4 
					 
					
						
						
							
							followup: use arrow function for sorting  
						
						... 
						
						
						
						Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
							
						
					 
					
						2020-12-15 13:45:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f6ce45b373 
					 
					
						
						
							
							prune sim:  fix   #3192 : by fixing usage of sort()  
						
						... 
						
						
						
						Signed-off-by: Fabian Ebner <f.ebner@proxmox.com > 
						
						
							
						
					 
					
						2020-12-15 13:45:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						205e187613 
					 
					
						
						
							
							tape: add MediaCatalog implementation  
						
						
						
						
							
						
					 
					
						2020-12-15 13:40:49 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a78348acbb 
					 
					
						
						
							
							tape: rename DriveLabel to MediaLabel  
						
						
						
						
							
						
					 
					
						2020-12-14 17:37:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						410611b4f2 
					 
					
						
						
							
							tape: improve file format docu  
						
						
						
						
							
						
					 
					
						2020-12-14 17:29:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						af07ec8f29 
					 
					
						
						
							
							tape: minor code cleanup  
						
						
						
						
							
						
					 
					
						2020-12-14 16:56:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3f803af00b 
					 
					
						
						
							
							tape: scan - print more debug info  
						
						
						
						
							
						
					 
					
						2020-12-14 13:16:18 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ac461bd651 
					 
					
						
						
							
							tape: implement scan command (useful for debug)  
						
						
						
						
							
						
					 
					
						2020-12-14 12:55:49 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ce955e1635 
					 
					
						
						
							
							tape: implement eod cli command (debug tool)  
						
						
						
						
							
						
					 
					
						2020-12-14 09:56:59 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e20d008c6a 
					 
					
						
						
							
							tape: rename cli 'media media-destroy' toö 'media destroy'  
						
						
						
						
							
						
					 
					
						2020-12-14 09:30:32 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fb657d8ee5 
					 
					
						
						
							
							tape: implement destroy_media  
						
						
						
						
							
						
					 
					
						2020-12-14 08:58:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fba0b77469 
					 
					
						
						
							
							tape: add media api  
						
						
						
						
							
						
					 
					
						2020-12-14 07:55:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b5c1296eaa 
					 
					
						
						
							
							tape: make changer get_status async  
						
						
						
						
							
						
					 
					
						2020-12-14 07:14:24 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						065df12872 
					 
					
						
						
							
							tape: split api type definitions for changers into extra file  
						
						
						
						
							
						
					 
					
						2020-12-13 09:31:02 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7e1d4712b8 
					 
					
						
						
							
							tape: rename CHANGER_ID_SCHEMA to CHANGER_NAME_SCHEMA  
						
						
						
						
							
						
					 
					
						2020-12-13 09:22:08 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						49c965a497 
					 
					
						
						
							
							tape: rename DRIVE_ID_SCHEMA to DRIVE_NAME_SCHEMA  
						
						
						
						
							
						
					 
					
						2020-12-13 09:18:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6fe9aedd0b 
					 
					
						
						
							
							tape: correctly call Async handler in proxmox-tape  
						
						
						
						
							
						
					 
					
						2020-12-12 09:58:47 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						42cb9bd6a5 
					 
					
						
						
							
							tape: avoid executor blocking in changer api  
						
						
						
						
							
						
					 
					
						2020-12-12 09:45:08 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						66dbe5639e 
					 
					
						
						
							
							tape: avoid executor blocking in drive API  
						
						... 
						
						
						
						By using tokio::task::spawn_blocking(). 
						
						
							
						
					 
					
						2020-12-12 09:20:04 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2d87f2fb73 
					 
					
						
						
							
							bump version to 1.0.6-1  
						
						... 
						
						
						
						Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
							
 
						
					 
					
						2020-12-11 14:19:28 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4c81273274 
					 
					
						
						
							
							debian: just install whole images directory  
						
						... 
						
						
						
						fixes build for recently added tape icon (and includes it for real)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
							
						
					 
					
						2020-12-11 14:19:28 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						73b8f6793e 
					 
					
						
						
							
							tape: add svg icon  
						
						
						
						
							
						
					 
					
						2020-12-11 13:02:23 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						663ef85992 
					 
					
						
						
							
							tape: use WorkerTask for erase and rewind  
						
						
						
						
							
						
					 
					
						2020-12-11 11:19:33 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e92c75815b 
					 
					
						
						
							
							tape: split inventory api  
						
						... 
						
						
						
						inventory: sync, list labels with uuids,
update_inventory: WorkerTask, updates database 
						
						
							
						
					 
					
						2020-12-11 10:42:29 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6dbad5b4b5 
					 
					
						
						
							
							tape: run label commands as WorkerTask (threads)  
						
						
						
						
							
						
					 
					
						2020-12-11 09:10:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bff7e3f3e4 
					 
					
						
						
							
							tape: implement barcode-label-mdedia  
						
						
						
						
							
						
					 
					
						2020-12-11 07:50:19 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						83abc7497d 
					 
					
						
						
							
							tape: implement inventory command  
						
						
						
						
							
						
					 
					
						2020-12-11 07:39:28 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8bc5eebeb8 
					 
					
						
						
							
							depend on package mt-st  
						
						... 
						
						
						
						We do not use the mt utility directly, but the package also provides
an udev helper to correctly initialize tape drives (stinit). Also,
the mt utility is helpful for debugging tap issues. 
						
						
							
						
					 
					
						2020-12-11 06:38:45 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1433b96ba0 
					 
					
						
						
							
							control.in: fix indentation  
						
						... 
						
						
						
						Signed-off-by: Oguz Bektas <o.bektas@proxmox.com > 
						
						
							
						
					 
					
						2020-12-11 06:31:30 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						be1a8c94ae 
					 
					
						
						
							
							fix build: add missing file  
						
						
						
						
							
						
					 
					
						2020-12-10 13:40:20 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4606f34353 
					 
					
						
						
							
							tape: implement read-label command  
						
						
						
						
							
						
					 
					
						2020-12-10 13:20:39 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7bb720cb4d 
					 
					
						
						
							
							tape: implement label command  
						
						
						
						
							
						
					 
					
						2020-12-10 12:30:27 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c4d8542ec1 
					 
					
						
						
							
							tape: add media pool handling  
						
						
						
						
							
						
					 
					
						2020-12-10 11:41:35 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9700d5374a 
					 
					
						
						
							
							tape: add media pool cli  
						
						
						
						
							
						
					 
					
						2020-12-10 11:13:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						05e90d6463 
					 
					
						
						
							
							tape: add media pool config api  
						
						
						
						
							
						
					 
					
						2020-12-10 10:52:27 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						55118ca18e 
					 
					
						
						
							
							tape: correctly sort drive api subdir  
						
						
						
						
							
						
					 
					
						2020-12-10 10:09:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f70d8091d3 
					 
					
						
						
							
							tape: implement option changer-drive-id  
						
						
						
						
							
						
					 
					
						2020-12-10 09:09:06 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a3c709ef21 
					 
					
						
						
							
							tape: cli cleanup - avoid api redefinition  
						
						
						
						
							
						
					 
					
						2020-12-10 08:35:11 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4917f1e2d4 
					 
					
						
						
							
							tape: implement delete property for drive update command  
						
						
						
						
							
						
					 
					
						2020-12-10 08:25:46 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						93829fc680 
					 
					
						
						
							
							tape: cleanup load-slot api  
						
						
						
						
							
						
					 
					
						2020-12-10 08:04:55 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5605ca5619 
					 
					
						
						
							
							tape: cli cleanup - rename scana-for-* into scan  
						
						
						
						
							
						
					 
					
						2020-12-10 07:58:45 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e49f0c03d9 
					 
					
						
						
							
							tape: implement load-media command  
						
						
						
						
							
						
					 
					
						2020-12-10 07:52:56 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0098b712a5 
					 
					
						
						
							
							tape: implement eject  
						
						
						
						
							
						
					 
					
						2020-12-09 17:50:48 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5fb694e8c0 
					 
					
						
						
							
							tape: implement rewind  
						
						
						
						
							
						
					 
					
						2020-12-09 17:43:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						583a68a446 
					 
					
						
						
							
							tape: implement erase media  
						
						
						
						
							
						
					 
					
						2020-12-09 17:35:31 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e6604cf391 
					 
					
						
						
							
							tape: add command line interface proxmox-tape  
						
						
						
						
							
						
					 
					
						2020-12-09 13:00:20 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						43cfb3c35a 
					 
					
						
						
							
							tape: do not remove changer while still used  
						
						
						
						
							
						
					 
					
						2020-12-09 12:55:54 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8a16c571d2 
					 
					
						
						
							
							tape: add changer property to drive create api  
						
						
						
						
							
						
					 
					
						2020-12-09 12:55:10 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						314652a499 
					 
					
						
						
							
							tape: set protected flag for configuration change api methods  
						
						
						
						
							
						
					 
					
						2020-12-09 12:02:55 +01:00