From: Michael Marley Date: Wed, 2 Mar 2016 11:22:12 +0000 (-0500) Subject: config: Exclude timeshift buffer from configuration backup X-Git-Tag: v4.2.1~953 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b444a6cef5245efb0451d47a89dd213b5a36fd5;p=thirdparty%2Ftvheadend.git config: Exclude timeshift buffer from configuration backup This fixes the issue where if TVHeadend was streaming live TV with timeshift turned on and suffered an unclean shutdown followed immediately by an upgrade, it would try to put the entire timeshift buffer into the configuration backup. --- diff --git a/src/config.c b/src/config.c index a81060b46..b1a716249 100644 --- a/src/config.c +++ b/src/config.c @@ -1413,6 +1413,7 @@ dobackup(const char *oldver) const char *argv[] = { "/usr/bin/tar", "cjf", outfile, "--exclude", "backup", "--exclude", "epggrab/*.sock", + "--exclude", "timeshift/buffer", ".", NULL }; const char *root = hts_settings_get_root();