From bf3a5756ab2da3afe6eff11b46b047a2d32b7aca Mon Sep 17 00:00:00 2001 From: Michael Marley Date: Wed, 2 Mar 2016 06:22:12 -0500 Subject: [PATCH] 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. --- src/config.c | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.47.3