Index: ipk/source/system_addonmanager_2_0/usr/lib/enigma2/python/Plugins/Extensions/AddonManager/backup.sh
===================================================================
--- ipk/source/system_addonmanager_2_0/usr/lib/enigma2/python/Plugins/Extensions/AddonManager/backup.sh	(revision 3758)
+++ ipk/source/system_addonmanager_2_0/usr/lib/enigma2/python/Plugins/Extensions/AddonManager/backup.sh	(revision 3758)
@@ -0,0 +1,90 @@
+#!/bin/sh
+# Backupscript nach Methode niovs
+# wird vom Addon-Manager aufgerufen
+
+
+DIR="/media/hdd/backup_vu"
+
+echo -e "***********************************************************"
+echo -e "**************Sicherung VU Plus oder Dreambox**************"
+echo -e "***********************************************************\n"
+
+echo -e "\nLege Ordner und die Sicherungsdatei an"
+mkdir -p $DIR/
+rm -f $DIR/backup.log ; touch $DIR/backup.log
+
+# all settings are saved, but the restore is defined in the AM-Menu
+settings=y
+camconfig=y
+plugins=y
+network=y
+samba=y
+bilder=y
+sonstige=y
+
+#. /var/etc/restore.cfg   # read config from Addon-Manager, when you wish only saved defined Settings
+
+if [ "$settings" = "y" ]
+	then
+		tar -cvf $DIR/settings.tar /etc/enigma2/* /etc/tuxbox/* >> $DIR/backup.log
+		echo -e "******** Settings gesichert ********\n"
+	else
+	echo "******** Settings NICHT gesichert ********\n"
+fi
+
+if [ "$camconfig" = "y" ]
+  then
+   tar -cvf $DIR/camconfig.tar /var/keys/* /usr/scce/* /etc/CC* /usr/scam/* >> $DIR/backup.log
+   echo -e "******** Camconfig gesichert ********\n"
+  else
+   echo "******** Camconfig NICHT gesichert ********\n"
+fi
+
+if [ "$plugins" = "y" ]
+  then
+		ipkg list_installed |grep enigma2-plugin > /tmp/ipkg.list
+		cut -f 1 -d " " /tmp/ipkg.list > $DIR/ipkg.list
+		echo -e "******** Plugins gesichert ********\n"
+  else
+    echo -e "******** Plugins NICHT gesichert ********\n"
+fi
+
+if [ "$network" = "y" ]
+  then
+ 		tar -cvf $DIR/network.tar /etc/hostname /etc/resolv.conf /etc/wpa_supplicant.conf /etc/network/interfaces >> $DIR/backup.log
+		echo -e "******** Netzwerkkonfiguration gesichert ********\n"
+  else
+    echo -e "******** Netzwerkkonfiguration NICHT gesichert ********\n"
+fi
+
+if [ "$samba" = "y" ]
+  then
+    tar -cvf $DIR/samba.tar /etc/samba/smb.conf >> $DIR/backup.log
+		echo -e "******** Sambakonfiguration gesichert ********\n"
+  else
+    echo -e "******** Sambakonfiguration NICHT gesichert ********\n"
+fi
+
+if [ "$bilder" = "y" ]
+  then
+    tar -cvf $DIR/bilder.tar /usr/share/enigma2/*.mvi /usr/share/*.mvi >> $DIR/backup.log
+		echo -e "******** Bootbilder und Radiobild gesichert ********\n"
+  else
+    echo -e "******** Bootbilder und Radiobild NICHT gesichert ********\n"
+fi
+
+if [ "$sonstige" = "y" ]
+  then
+		if [ -e /etc/inadyn.conf ]
+    	then
+       tar -cvf $DIR/sonstige.tar /etc/fstab /etc/localtime /etc/inadyn.conf /etc/videomode /etc/ntpserver /etc/passwd>> $DIR/backup.log
+		   echo -e "******** sonstige Konfigurationsdateien gesichert inkl. DynDNS-Config ********\n"
+	 	  else
+       tar -cvf $DIR/sonstige.tar /etc/fstab /etc/localtime /etc/videomode /etc/ntpserver /etc/passwd>> $DIR/backup.
+       echo -e "******** sonstige Konfigurationsdateien gesichert ********\n"
+    fi
+     else
+       echo -e "******** sonstige Konfigurationsdateien NICHT gesichert ********\n"
+fi
+
+exit 0
Index: ipk/source/system_addonmanager_2_0/usr/lib/enigma2/python/Plugins/Extensions/AddonManager/restore.sh
===================================================================
--- ipk/source/system_addonmanager_2_0/usr/lib/enigma2/python/Plugins/Extensions/AddonManager/restore.sh	(revision 3758)
+++ ipk/source/system_addonmanager_2_0/usr/lib/enigma2/python/Plugins/Extensions/AddonManager/restore.sh	(revision 3758)
@@ -0,0 +1,107 @@
+#!/bin/sh
+# Restorescript nach Methode niovs
+# wird vom Addon-Manager aufgerufen
+
+. /var/etc/restore.cfg   # read config from Addon-Manager
+
+DIR="/media/hdd/backup_vu"
+
+echo -e "***********************************************************"
+echo -e "**********Wiederherstellung VU Plus oder Dreambox**********"
+echo -e "***********************************************************\n"
+
+rm -f $DIR/restore.log ; touch $DIR/restore.log
+
+if [ "$plugins" = "y" ]
+ then
+ if [ -d $DIR/pakete ]
+  then
+   ipkg install  $DIR/pakete/*.ipk
+   ipkg update
+   for i in `cat $DIR/ipkg.list ` ; do ipkg install $i ; done
+     echo -e "******** Plugins wiederhergestellt ********\n"
+   elif [ -e $DIR/ipkg.list ]
+     then
+     ipkg update
+     for i in `cat $DIR/ipkg.list ` ; do ipkg install $i ; done
+        echo -e "******** Plugins wiederhergestellt ********\n"
+      else
+        echo -e "******** Kein Backup der Plugins vorhanden! ********\n"
+ fi
+fi
+
+if [ "$network" = "y" ]
+ then
+ if [ -e $DIR/network.tar ]
+  then
+      tar -xvf $DIR/network.tar -C / >> $DIR/restore.log
+      echo -e "******** Netzwerkkonfiguration wurde wiederhergestellt ********\n"
+  else
+      echo -e "******** Kein Backup der Netzwerkkonfiguration vorhanden! ********\n"
+ fi
+fi
+
+
+if [ "$samba" = "y" ]
+ then
+ if [ -e $DIR/samba.tar ]
+  then
+      tar -xvf $DIR/samba.tar -C / >> $DIR/restore.log
+      echo -e "******** Sambakonfiguration wurde wiederhergestellt ********\n"
+  else
+      echo -e  "******** Kein Backup der Sambakonfiguration vorhanden! ********\n"
+ fi
+fi
+
+if [ "$bilder" = "y" ]
+ then
+ if [ -e $DIR/bilder.tar ]
+  then
+      tar -xvf $DIR/bilder.tar -C / >> $DIR/restore.log
+      echo -e "******** Bootbilder und das Radiobild wurde wiederhergestellt ********\n"
+  else
+      echo -e "******** Kein Backup der Bootbilder und des Radiobildes vorhanden! ********\n"
+ fi
+fi
+
+if [ "$sonstige" = "y" ]
+ then
+ if [ -e $DIR/sonstige.tar ]
+  then
+      tar -xvf $DIR/sonstige.tar -C / >> $DIR/restore.log
+      echo -e "******** sonstige Konfigurationsdateien wurden wiederhergestellt ********\n"
+  else
+      echo -e "******** Kein Backup der sonstigen Konfigurationsdateien vorhanden! ********\n"
+ fi
+fi
+
+if [ "$camconfig" = "y" ]
+ then
+ if [ -e $DIR/camconfig.tar ]
+	then
+     	tar -xvf $DIR/camconfig.tar -C / >> $DIR/restore.log
+			echo -e "******** Camconfig wurde wiederhergestellt ********\n"
+  else
+	  	echo -e "******** Kein Backup der Camconfig vorhanden! ********\n"
+ fi
+fi
+
+if [ "$settings" = "y" ]
+ then
+ if [ -e $DIR/settings.tar ]
+  then
+
+      echo -e "******** Settings und Automounts wiederhergestellt ********\n"
+      echo -e "********************************************"
+      echo -e "******** Box wird nun neu gestartet ********\n"
+      echo -e "********************************************"
+      sleep 3
+      init 4 # kill enigma
+      tar -xvf $DIR/settings.tar -C / >> $DIR/restore.log
+      reboot -f  # reboot, make the settings resistant
+  else
+      echo -e "******** Kein Backup der Settings vorhanden! ********\n"
+  fi
+fi
+
+exit 0
