summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-02-14 09:07:40 +0100
committerRamón M. Gómez <ramongomez@us.es>2020-02-14 09:07:40 +0100
commit2961a8de8e0204a7606fe067636106ec092ffef5 (patch)
tree188a9d64eeeddeb6fad9eba0d2ff26e7c40be735
parent180ac3c8d6597f4ae08637db24363053cc7e3659 (diff)
#956: Script `opengnsys_exports.sh`saves ogLive info file and log directory.
-rwxr-xr-xinstaller/opengnsys_export.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/installer/opengnsys_export.sh b/installer/opengnsys_export.sh
index 09f2b763..3910b78d 100755
--- a/installer/opengnsys_export.sh
+++ b/installer/opengnsys_export.sh
@@ -99,12 +99,15 @@ echo $ServidorAdm > $TMPDIR/IPSERVER.txt
echo "Creamos un archivo comprimido con los datos: $BACKUPFILE."
CUSTOMFILES=$(find $OPENGNSYS/client/scripts -name "*Custom" -exec basename {} \;)
tar -cvzf $BACKUPFILE --transform="s!^!$BACKUPPREFIX/!" \
+ --exclude "log/opengnsys_installer.log" \
-C $(dirname $MYSQLFILE) $(basename $MYSQLFILE) \
-C $TMPDIR IPSERVER.txt \
-C $DHCPDIR dhcpd.conf \
-C $OPENGNSYS/client/etc engine.cfg engine.json \
-C $OPENGNSYS/client/scripts $CUSTOMFILES \
-C $OPENGNSYS/doc VERSION.txt VERSION.json \
+ -C $OPENGNSYS/etc ogliveinfo.json \
+ -C $OPENGNSYS log \
-C $OPENGNSYS/tftpboot menu.lst grub \
-C $OPENGNSYS/www menus \
-C /etc default/opengnsys &>/dev/null