Jump to content


Photo

BackupSuite


  • Please log in to reply
1308 replies to this topic

Re: BackupSuite #541 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 29 December 2015 - 14:39

I don't know this receiver so I don't know the right parameters for this receiver.

However with tomorrows update you will be able to build an own lookuptable.txt in the folder /etc (or download the file backupsuite.sh from the github if you can't wait :) )
If the BackupSuite detects the file lookuptable.txt in /etc then this file will be used to create the backup.

Ask the image maker of the image you are running on your receiver for the right parameters which you can fill in the file lookuptable.txt in the folder /etc
The file lookuptable.txt in the folder /etc won't be overwritten by an update of the BackupSuite.

Maybe not the news you're hoped for but your receiver can be supported if the image maker is willing to provide you with the needed parameters.

I simply don't have the time to monitor the market for enigma2 receivers and the needed parameters to support these receivers



Re: BackupSuite #542 Giankarlo

  • Member
  • 2 posts

0
Neutral

Posted 29 December 2015 - 16:56

Thanks anyway for the swift response.
I will try to make do if I can.



Re: BackupSuite #543 Moonwalker

  • Senior Member
  • 198 posts

0
Neutral

Posted 30 December 2015 - 10:37

I am trying Backup siute on DM500HD but as soon as I install it I get a green screen and enigma restarting in a loop. Is there a particular version that works with this model?



Re: BackupSuite #544 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 30 December 2015 - 10:53

green screen = crashlog

 

post it here!


on the Glassfibre 1GB DVB-C...


Re: BackupSuite #545 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 30 December 2015 - 10:54

The Dreambox models are not supported by the BackupSuite. Instead use the plugin automatic full-backup by Dimitrij. This plugin supports the Dreambox models.



Re: BackupSuite #546 fankoosh

  • Senior Member
  • 198 posts

+6
Neutral

Posted 30 December 2015 - 15:58

@moonwalker search google for ( dflash_13.8_all ) it should do backup for DM boxes



Re: BackupSuite #547 Moonwalker

  • Senior Member
  • 198 posts

0
Neutral

Posted 3 January 2016 - 01:27

Thanks auto full backup works fine.



Re: BackupSuite #548 tension

  • Senior Member
  • 119 posts

+4
Neutral

Posted 7 February 2016 - 17:10

Hi Pedro

When time to clean-ups .... this patch enables blue key for deleting no more wanted backups. It presumes to find imageversion and BS.log into main backup dir (date_time),  perhaps a better place for that files. If you do not want to move that files, code must be modified to look for them down the tree...

--- a/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/plugin.py
+++ b/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/plugin.py
@@ -54,6 +54,8 @@
 BACKUP_HDD = "/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/backuphdd.sh en_EN"
 BACKUP_USB = "/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/backupusb.sh en_EN"
 ofgwrite_bin = "/usr/bin/ofgwrite"
+LOGFILE = "BackupSuite.log"
+VERSIONFILE = "imageversion"
 
 def backupCommandHDD():
     cmd = BACKUP_HDD
@@ -90,7 +92,7 @@
         self.session = session
         self.setup_title = _("Make a backup or restore a backup")
         Screen.__init__(self, session)
-        self["key_red"] = Button(_("Cancel"))
+        self["key_red"] = Button(_("Close"))
         self["key_green"] = Button(_("Backup > HDD"))
         self["key_yellow"] = Button(_("Backup > USB"))
         self["key_blue"] = Button(_("Restore backup"))
@@ -211,6 +213,7 @@
         self["key_red"] = StaticText("Close")
         self["key_green"] = StaticText("")
         self["key_yellow"] = StaticText("")
+        self["key_blue"] = StaticText("")
         self["curdir"] = StaticText(_("current:  %s")%(curdir or ''))
         self.founds = False
         self.filelist = FileList(curdir, matchingPattern=matchingPattern, enableWrapAround=True)
@@ -222,6 +225,7 @@
                 "green": self.keyGreen,
                 "red": self.keyRed,
                 "yellow": self.keyYellow,
+                "blue": self.KeyBlue,
                 "ok": self.keyOk,
                 "cancel": self.keyRed
             })
@@ -249,6 +253,7 @@
     def __selChanged(self):
         self["key_yellow"].setText("")
         self["key_green"].setText("")
+        self["key_blue"].setText("")
         self["curdir"].setText(_("current:  %s")%(self.getCurrentSelected()))
         file_name = self.getCurrentSelected()
         try:
@@ -258,6 +263,8 @@
                     self["key_yellow"].setText(_("Unzip"))
             elif self.filelist.canDescent() and file_name != '' and file_name != '/':
                 self["key_green"].setText(_("Run flash"))
+                if os.path.isfile(file_name + LOGFILE) and os.path.isfile(file_name + VERSIONFILE):
+                    self["key_blue"].setText(_("Delete"))
         except:
             pass
 
@@ -403,6 +410,21 @@
             if filename and filename.endswith(".zip"):
                 self.session.openWithCallback(self.doUnzip, MessageBox, _("Do you really want to unpack %s ?") % filename, MessageBox.TYPE_YESNO)
 
+    def confirmedDelete(self, answer):
+        if answer is True:
+            backup_dir = self.getCurrentSelected()
+            cmdmessage = "echo -e 'Removing backup:   %s\n'" % os.path.basename(backup_dir.rstrip('/'))
+            cmddelete = "rm -rf %s > /dev/null 2>&1" % backup_dir
+            self.session.open(Console, _("Delete backup"), [cmdmessage, cmddelete], self.filelist.refresh)
+
+    def KeyBlue(self):
+        if self["key_blue"].getText() == _("Delete"):
+            backup_dir = self.getCurrentSelected()
+            backup_info = ""
+            for line in open(backup_dir + "imageversion", "r"):
+                backup_info += line
+            self.session.openWithCallback(self.confirmedDelete, MessageBox, _("You are about to delete this backup:\n\n%s\nContinue?") % backup_info, MessageBox.TYPE_YESNO)
+
     def doUnzip(self, answer):
         if answer is True:
             dirname = self.filelist.getCurrentDirectory()
--- a/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/schermen.py
+++ b/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/schermen.py
@@ -143,10 +142,12 @@
         <ePixmap pixmap="/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/img/f_red.png"    position="187,1030" size="38,38" alphatest="on" />
         <ePixmap pixmap="/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/img/f_green.png"    position="622,1030" size="38,38" alphatest="on" />
         <ePixmap pixmap="/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/img/f_yellow.png" position="1057,1030" size="38,38" alphatest="on" />
+        <ePixmap pixmap="/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/img/f_blue.png" position="1492,1030" size="38,38" alphatest="on" />
 
         <widget source="key_red"         render="Label"     position="239,1030" size="380,36"  valign="top" halign="left" zPosition="4"  foregroundColor="#00ff0000" font="Regular;34" />
         <widget source="key_green"     render="Label"     position="674,1030" size="380,36"  valign="top" halign="left" zPosition="4"  foregroundColor="#0053b611" font="Regular;34" />
         <widget source="key_yellow"    render="Label"     position="1109,1030" size="380,36"  valign="top" halign="left" zPosition="4"  foregroundColor="#00F9C731" font="Regular;34" />
+        <widget source="key_blue"    render="Label"     position="1543,1030" size="380,36"  valign="top" halign="left" zPosition="4"  foregroundColor="#00F9C731" font="Regular;34" />
         <widget source="curdir"     render="Label"     position="780,120" size="1100,40" valign="top" halign="left" zPosition="4" foregroundColor="#00f0f0f0" font="Regular;28"  backgroundColor="#00000000" transparent="1" noWrap="1" />
         <widget name="filelist" position="780,160" size="1120,840" scrollbarMode="showOnDemand" />
     </screen>"""
@@ -171,9 +172,11 @@
         <ePixmap pixmap="/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/img/red.png" position="145,641" size="30,30" alphatest="on" />
         <ePixmap pixmap="/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/img/green.png" position="420,641" size="30,30" alphatest="on" />
         <ePixmap pixmap="/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/img/yellow.png" position="695,641" size="30,30" alphatest="on" />
+        <ePixmap pixmap="/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/img/blue.png" position="970,641" size="30,30" alphatest="on" />
         <widget source="key_red"     render="Label" position="180,643" size="220,28" valign="top" halign="left" zPosition="4" foregroundColor="#00ff0000" font="Regular;22"    />
         <widget source="key_green"     render="Label" position="455,643" size="220,28" valign="top" halign="left" zPosition="4" foregroundColor="#0053b611" font="Regular;22" />
         <widget source="key_yellow"    render="Label" position="730,643" size="220,28" valign="top" halign="left" zPosition="4" foregroundColor="#00F9C731" font="Regular;22"  />
+        <widget source="key_blue"    render="Label" position="1005,643" size="220,28" valign="top" halign="left" zPosition="4" foregroundColor="#003a71c3" font="Regular;22"  />
         <widget source="curdir"     render="Label" position="525,100" size="1000,40" valign="top" halign="left" zPosition="4" foregroundColor="#00f0f0f0" font="Regular;22"  backgroundColor="#00000000" transparent="1" noWrap="1" />
         <widget name="filelist" position="525,150" size="500,460" scrollbarMode="showOnDemand" />
     </screen>"""
@@ -185,9 +188,11 @@
         <ePixmap pixmap="skin_default/buttons/button_red.png" zPosition="1" position="10,516" size="15,16" alphatest="blend"/>
         <ePixmap pixmap="skin_default/buttons/button_green.png" zPosition="1" position="190,516" size="15,16" alphatest="blend"/>
         <ePixmap pixmap="skin_default/buttons/button_yellow.png" zPosition="1" position="370,516" size="15,16" alphatest="blend"/>
+        <ePixmap pixmap="skin_default/buttons/button_blue.png" zPosition="1" position="550,516" size="15,16" alphatest="blend"/>
         <widget source="key_red" render="Label" position="30,514" zPosition="1" size="150,45" font="Regular;20" foregroundColor="#00ff0000" halign="left" valign="top" />
         <widget source="key_green" render="Label" position="210,514" zPosition="1" size="150,45" font="Regular;20" foregroundColor="#0053b611" halign="left" valign="top" />
         <widget source="key_yellow" render="Label" position="390,514" zPosition="1" size="150,45" font="Regular;20" foregroundColor="#00F9C731" halign="left" valign="top" />
+        <widget source="key_blue" render="Label" position="550,514" zPosition="1" size="150,45" font="Regular;20" foregroundColor="#003a71c3" halign="left" valign="top" />
         <widget source="curdir"     render="Label" position="10,88" size="700,40" valign="top" halign="left" zPosition="4" foregroundColor="#00f0f0f0" font="Regular;18"  backgroundColor="#00000000" transparent="1" noWrap="1" />
         <widget name="filelist" position="20,120" size="690,390" scrollbarMode="showOnDemand" />
     </screen>"""
--- a/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/backupsuite.sh
+++ b/usr/lib/enigma2/python/Plugins/Extensions/BackupSuite/backupsuite.sh
@@ -449,7 +449,11 @@
 echo -n $WHITE
 cp $LOGFILE "$MAINDEST"
 if  [ $HARDDISK != 1 ]; then
-    cp $LOGFILE "$MEDIA$EXTR1$FOLDER"
+    cp $LOGFILE "$MEDIA$EXTR1"
+    mv "$MEDIA$EXTR1$FOLDER"/imageversion "$MEDIA$EXTR1"
+else
+    mv -f "$MAINDEST"/BackupSuite.log "$MEDIA$EXTR1"
+    mv -f "$MAINDEST"/imageversion "$MEDIA$EXTR1"
 fi
 if [ "$TARGET" != "XX" ] ; then
     cp $LOGFILE "$TARGET$FOLDER"

Attached File  2.jpg   54.36KB   6 downloads



Re: BackupSuite #549 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 8 February 2016 - 16:29

Sorry can't handle your patches, each segment is giving errors (prob. whitespaces vs tabs)

Also the used version of backupsuite.sh differs from the current (line 449 vs 462)

 

So I can't judge your ideas it takes too much time for me to correct it.



Re: BackupSuite #550 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 8 February 2016 - 17:14

Added support for the Zgemma range:

- Star S / Star 2S
- H5
- H.S / H.2S / H.2H

 

The others will follow (LC / H4)



Re: BackupSuite #551 WanWizard

  • PLi® Core member
  • 70,537 posts

+1,812
Excellent

Posted 8 February 2016 - 19:32

There is no image for the LC and H4 yet.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: BackupSuite #552 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 8 February 2016 - 21:05

I know but the needed information is already available. When the images are available so will be the support in the BackupSuite.



Re: BackupSuite #553 x9WznH6C9Vx#^9Jn

  • Validating
  • 11 posts

+2
Neutral

Posted 9 February 2016 - 20:27

The Dreambox models are not supported by the BackupSuite. Instead use the plugin automatic full-backup by Dimitrij. This plugin supports the Dreambox models.

 

Hi Pedro, thanks very much for a really useful plugin. Installed to my new Vu+Zero and works perfectly.



Re: BackupSuite #554 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 9 February 2016 - 21:58

Thanks!

 

Is anyone able and willing to test if the BackupSuite is properly running on the new receivers like the Golden Interstar and the Zgemma?



Re: BackupSuite #555 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 9 February 2016 - 22:00

Thanks!

 

Is anyone able and willing to test if the BackupSuite is properly running on the new receivers like the Golden Interstar and the Zgemma?

 I will get Zgamma tomorrow.

 

So happy to help

 

Cheers Colin


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: BackupSuite #556 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 9 February 2016 - 22:06

That would be nice, Thanks in advance!



Re: BackupSuite #557 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 10 February 2016 - 13:04

Hi Pedro,

 

setup Zgemma Star S this morning.

 

Backup Suite working great. But Automatic Full Backup 3.9 not working, "No supported reciever found !"


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: BackupSuite #558 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 10 February 2016 - 13:11

Thanks for the information. The Automatic Full Backup isn't my plugin but it is made by Dimitrij. I think none of the recent added receivers is supported yet by the AFB.

Re: BackupSuite #559 Dimitrij

  • PLi® Core member
  • 10,328 posts

+350
Excellent

Posted 10 February 2016 - 13:50

Hi Pedro,

 

setup Zgemma Star S this morning.

 

Backup Suite working great. But Automatic Full Backup 3.9 not working, "No supported reciever found !"

please wait (TODO)


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: BackupSuite #560 Dimitrij

  • PLi® Core member
  • 10,328 posts

+350
Excellent

Posted 13 February 2016 - 20:00

Thanks for the information. The Automatic Full Backup isn't my plugin but it is made by Dimitrij. I think none of the recent added receivers is supported yet by the AFB.

Hi.

 
Please can you help me to update the script under the new model?

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K



5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users