[Kimchi-devel] [PATCH] Add /var/spool/cron to default host configuration backup paths

Zhou Zheng Sheng zhshzhou at linux.vnet.ibm.com
Tue May 27 06:57:44 UTC 2014


/var/spool/cron contains user cron jobs and ".cron.hostname". It should
be included in the default backup.

Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
---
 plugins/ginger/ginger.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/ginger/ginger.conf b/plugins/ginger/ginger.conf
index dbb2aa2..d6dce1d 100644
--- a/plugins/ginger/ginger.conf
+++ b/plugins/ginger/ginger.conf
@@ -4,7 +4,7 @@ plugin_class = "Ginger"
 uri = "/plugins/ginger"
 
 [backup]
-default_include = ['/etc', ]
+default_include = ['/etc', '/var/spool/cron']
 default_exclude = ['/etc/init.d', '/etc/rc.d', '/etc/rc?.d', ]
 
 [/]
-- 
1.9.0




More information about the Kimchi-devel mailing list