Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mamarley authored and perexg committed Mar 6, 2016
1 parent 592c142 commit 9b444a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.c
Expand Up @@ -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();
Expand Down

0 comments on commit 9b444a6

Please sign in to comment.