[09/13] gerbera: Add backup definitions
Commit Message
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
config/backup/includes/gerbera | 2 ++
lfs/gerbera | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
create mode 100644 config/backup/includes/gerbera
Comments
Hello Stefan,
> +/etc/gerbera/config.xml
> +/var/lib/gerbera/*
See my comment on the config file: the home directory in config.xml is
/var/ipfire/gerbera, so this will not include the database.
Does the database get large (it contains the metadata of the whole media
library)? If so, we might not want to put it in the backup, because it can be
rebuilt by re-scanning.
-Michael
new file mode 100644
@@ -0,0 +1,2 @@
+/etc/gerbera/config.xml
+/var/lib/gerbera/*
@@ -116,8 +116,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
$(call INSTALL_INITSCRIPTS,$(SERVICES))
#install backup definition
- #install -v -m 644 ${DIR_SRC}/config/backup/includes/minidlna \
- # /var/ipfire/backup/addons/includes/minidlna
+ install -v -m 644 ${DIR_SRC}/config/backup/includes/gerbera \
+ /var/ipfire/backup/addons/includes/gerbera
@rm -rf $(DIR_APP)
@$(POSTBUILD)