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.0.9~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf3a5756ab2da3afe6eff11b46b047a2d32b7aca;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 02c66630f..ff48a2ca0 100644 --- a/src/config.c +++ b/src/config.c @@ -1195,6 +1195,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();