13 lines
		
	
	
		
			289 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			289 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| #
 | |
| # Cookbook:: kosmos_gitea
 | |
| # Recipe:: backup
 | |
| #
 | |
| # The MIT License (MIT)
 | |
| #
 | |
| 
 | |
| unless node.chef_environment == "development"
 | |
|   # backup the data dir and the config files
 | |
|   node.override["backup"]["archives"]["gitea"] = [node["kosmos_gitea"]["working_directory"]]
 | |
|   include_recipe "backup"
 | |
| end
 |