From: Michael Marley Date: Tue, 6 Feb 2024 21:46:23 +0000 (-0500) Subject: Add "recordings" to the backup exclude list X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bd13ca278f3826826a0eeedf9ab1bce951b4244;p=thirdparty%2Ftvheadend.git Add "recordings" to the backup exclude list Since https://github.com/tvheadend/tvheadend/pull/1540, enabled by https://github.com/tvheadend/tvheadend/pull/1535 and https://github.com/tvheadend/tvheadend/pull/1538, we have been storing the recordings in a subdirectory of the configuration directory by default. Because of this, the recordings are getting stored in the configuration backup. This causes the backups to take forever and fill the disk (see https://github.com/tvheadend/tvheadend/issues/1625). Instead, exclude the "recordings" directory from the backup to prevent this. --- diff --git a/src/config.c b/src/config.c index dfef3a125..63ddf7732 100644 --- a/src/config.c +++ b/src/config.c @@ -1486,6 +1486,7 @@ dobackup(const char *oldver) const char *argv[] = { "/usr/bin/tar", "cjf", outfile, "--exclude", "backup", + "--exclude", "recordings", "--exclude", "epggrab/*.sock", "--exclude", "timeshift/buffer", "--exclude", "imagecache/meta",