backups: Add atomic backups with restic
This commit is contained in:
		
							parent
							
								
									ab5e088016
								
							
						
					
					
						commit
						87dd9daa4f
					
				
					 9 changed files with 316 additions and 5 deletions
				
			
		|  | @ -231,4 +231,14 @@ in { | |||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   services.backups.conduit = { | ||||
|     user = "root"; | ||||
|     paths = [ | ||||
|       "/var/lib/private/matrix-conduit/" | ||||
|     ]; | ||||
|     # Other services store their data in conduit, so no other services | ||||
|     # need to be shut down currently. | ||||
|     pauseServices = ["conduit.service"]; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue