vault backup: 2024-09-10 20:31:36
This commit is contained in:
		
							
								
								
									
										6
									
								
								software/Versioned config files.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								software/Versioned config files.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					## Solutions 
 | 
				
			||||||
 | 
					- Create a directory, eg `/etc/config` and store all of your config files there, then use a makefile to automatically generate symlinks and install them in the appropriate locations. A command is also created for removing said symlinks. (<https://forums.freebsd.org/threads/version-control-for-configuration-files.70312/>)
 | 
				
			||||||
 | 
					- Using a solution like zfs/btrfs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Notes
 | 
				
			||||||
 | 
					I think one major issue with storing configs in a solution like git, is that you need to remember to push changes after every single config change. Maybe a cronjob could be configured to commit daily/weekly?
 | 
				
			||||||
		Reference in New Issue
	
	Block a user