2020-05-18 17:39:43 +00:00
|
|
|
#
|
|
|
|
# Cookbook:: kosmos_gitea
|
|
|
|
# Recipe:: backup
|
|
|
|
#
|
|
|
|
# The MIT License (MIT)
|
|
|
|
#
|
2022-03-12 20:42:03 +00:00
|
|
|
|
2020-05-26 13:21:26 +00:00
|
|
|
unless node.chef_environment == "development"
|
|
|
|
# backup the data dir and the config files
|
2022-11-26 12:05:07 +00:00
|
|
|
node.override["backup"]["archives"]["gitea"] = [node["gitea"]["working_directory"]]
|
2020-05-26 13:21:26 +00:00
|
|
|
include_recipe "backup"
|
|
|
|
end
|