Jump to content


Photo

BackupSuite


  • Please log in to reply
1308 replies to this topic

Re: BackupSuite #661 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 16 July 2016 - 07:48

Fine, thanks!



Re: BackupSuite #662 Frenske

  • Forum Moderator
    PLi® Core member
  • 27,494 posts

+397
Excellent

Posted 16 July 2016 - 08:48

I wasn't 100% sure but, as expected, it is et7000mini. ;)


Mijn schotel is een T90 met 10 LNB's. Daarnaast voor de fun nog een draaibaar systeem met een Triax TD 78.

Dreamboxen heb ik niet meer echt actief. Verder heb ik ook nog een een VU+ duo2 met 500Gb harddisk + een VU+ Uno, Zero, Solo 4K, Ultimo 4K, Zero 4K, Uno 4Kse. + ook nog een Xtrend ET7x00. Daarnaast heb ik ook nog diverse andere modellen w.o. een Formuler F4, ET8500, ET7500, Mut@nt 2400HD, Xsarius Fusion HD se en verder nog wel het e.e.a. waarmee op verzoek vanalles wordt getest. Iemand moet het tenslotte doen. ;) :)
Los van de eerder genoemde modellen heb ik nog wel een rits aan testsamples als Mut@nt 2400HD, HD60, GB UE4K, GB Trio4K, Maxitec Multibox combo en Twin, Octagon sf8008, sf8008 mini en last but nog least enkele modellen van het Grieks Duitse Edision.

Voor centrale opslag van media gebruik ik een Qnap 219P 
met tweemaal 2 Tb harddisks + een Synology DS414 met 12 Tb Totale opslag.

-------------------------------------------------------------------------------------------
Many answers to your question can be found in our wiki: Just one click away from this "solutioncentre".

Als ik alles al wist hoefde ik ook niets te vragen. If I had all the knowledge I had no questions at all.


Re: BackupSuite #663 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 16 July 2016 - 08:59

Thanks, I will add the GI et7000 mini tonight



Re: BackupSuite #664 Frenske

  • Forum Moderator
    PLi® Core member
  • 27,494 posts

+397
Excellent

Posted 16 July 2016 - 09:46

Thank you, on behalf of the users. ;)


Mijn schotel is een T90 met 10 LNB's. Daarnaast voor de fun nog een draaibaar systeem met een Triax TD 78.

Dreamboxen heb ik niet meer echt actief. Verder heb ik ook nog een een VU+ duo2 met 500Gb harddisk + een VU+ Uno, Zero, Solo 4K, Ultimo 4K, Zero 4K, Uno 4Kse. + ook nog een Xtrend ET7x00. Daarnaast heb ik ook nog diverse andere modellen w.o. een Formuler F4, ET8500, ET7500, Mut@nt 2400HD, Xsarius Fusion HD se en verder nog wel het e.e.a. waarmee op verzoek vanalles wordt getest. Iemand moet het tenslotte doen. ;) :)
Los van de eerder genoemde modellen heb ik nog wel een rits aan testsamples als Mut@nt 2400HD, HD60, GB UE4K, GB Trio4K, Maxitec Multibox combo en Twin, Octagon sf8008, sf8008 mini en last but nog least enkele modellen van het Grieks Duitse Edision.

Voor centrale opslag van media gebruik ik een Qnap 219P 
met tweemaal 2 Tb harddisks + een Synology DS414 met 12 Tb Totale opslag.

-------------------------------------------------------------------------------------------
Many answers to your question can be found in our wiki: Just one click away from this "solutioncentre".

Als ik alles al wist hoefde ik ook niets te vragen. If I had all the knowledge I had no questions at all.


Re: BackupSuite #665 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 16 July 2016 - 09:57

Your welcome, the change is just committed.

 

I may have to get/need some help with the new 4K models with arm processors as the mutant hd51 and others.

 

If any of the users know the exact way to make a backup and can embed it in the backupsuite (athoik maybe?) they are welcome to show me the way ;)



Re: BackupSuite #666 ROMAN42

  • Senior Member
  • 137 posts

0
Neutral

Posted 16 July 2016 - 10:57

Hello , i want change my HDD in my Duo 2 and want to back- up only channels and bouqets and do clear instalation of newer image PLI and how to do this easy and fast ! ? Please help !!! :)


Sony OLED 83' A90J  :wub: Panasonic UHD UB9000 , DENON AVC-A1H, Atmos 7.1.4 , VU+ DUO 4K SE ,VU+ Ultimo 4K Full config,  180 cm Parabolic DISH/ Dual LNB -  Full orbit 75E-45W    , 80 cm offset dish with unicable LNB for Hot Bird.  Humax Icord HD , DUNE HD Max Vision 4K.


Re: BackupSuite #667 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 16 July 2016 - 11:59

@pedro: hd51 also use ext4 rootfs, but it supports multiboot. So you need to adapt backup mechanism. Captain from Atv already has adapted their backup mechanism. So you can look at Atv code to see what he changed.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: BackupSuite #668 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 16 July 2016 - 19:32

I'm afraid this is a bit out of my league if I see the ImageBackup.py, especially the MultiBoot  part, example:

        if SystemInfo["HaveMultiBoot"] and self.list[self.selection] == "Recovery":
            GPT_OFFSET=0
            GPT_SIZE=1024
            BOOT_PARTITION_OFFSET = int(GPT_OFFSET) + int(GPT_SIZE)
            BOOT_PARTITION_SIZE=3072
            KERNEL_PARTITION_OFFSET = int(BOOT_PARTITION_OFFSET) + int(BOOT_PARTITION_SIZE)
            KERNEL_PARTITION_SIZE=8192
            ROOTFS_PARTITION_OFFSET = int(KERNEL_PARTITION_OFFSET) + int(KERNEL_PARTITION_SIZE)
            ROOTFS_PARTITION_SIZE=1048576
            SECOND_KERNEL_PARTITION_OFFSET = int(ROOTFS_PARTITION_OFFSET) + int(ROOTFS_PARTITION_SIZE)
            SECOND_ROOTFS_PARTITION_OFFSET = int(SECOND_KERNEL_PARTITION_OFFSET) + int(KERNEL_PARTITION_SIZE)
            THRID_KERNEL_PARTITION_OFFSET = int(SECOND_ROOTFS_PARTITION_OFFSET) + int(ROOTFS_PARTITION_SIZE)
            THRID_ROOTFS_PARTITION_OFFSET = int(THRID_KERNEL_PARTITION_OFFSET) + int(KERNEL_PARTITION_SIZE)
            FOURTH_KERNEL_PARTITION_OFFSET = int(THRID_ROOTFS_PARTITION_OFFSET) + int(ROOTFS_PARTITION_SIZE)
            FOURTH_ROOTFS_PARTITION_OFFSET = int(FOURTH_KERNEL_PARTITION_OFFSET) + int(KERNEL_PARTITION_SIZE)
            EMMC_IMAGE = "%s/disk.img"%self.WORKDIR
            EMMC_IMAGE_SIZE=3817472
            IMAGE_ROOTFS_SIZE=196608
            cmdlist.append('echo " "')
            cmdlist.append('echo "Create: Recovery Fullbackup disk.img"')
            cmdlist.append('echo " "')
            cmdlist.append('dd if=/dev/zero of=%s bs=1024 count=0 seek=%s' % (EMMC_IMAGE, EMMC_IMAGE_SIZE))
            cmdlist.append('parted -s %s mklabel gpt' %EMMC_IMAGE)
            PARTED_END_BOOT = int(BOOT_PARTITION_OFFSET) + int(BOOT_PARTITION_SIZE)
            cmdlist.append('parted -s %s unit KiB mkpart boot fat16 %s %s' % (EMMC_IMAGE, BOOT_PARTITION_OFFSET, PARTED_END_BOOT ))
            PARTED_END_KERNEL1 = int(KERNEL_PARTITION_OFFSET) + int(KERNEL_PARTITION_SIZE)
            cmdlist.append('parted -s %s unit KiB mkpart kernel1 %s %s' % (EMMC_IMAGE, KERNEL_PARTITION_OFFSET, PARTED_END_KERNEL1 ))
            PARTED_END_ROOTFS1 = int(ROOTFS_PARTITION_OFFSET) + int(ROOTFS_PARTITION_SIZE)
            cmdlist.append('parted -s %s unit KiB mkpart rootfs1 ext2 %s %s' % (EMMC_IMAGE, ROOTFS_PARTITION_OFFSET, PARTED_END_ROOTFS1 ))
            PARTED_END_KERNEL2 = int(SECOND_KERNEL_PARTITION_OFFSET) + int(KERNEL_PARTITION_SIZE)
            cmdlist.append('parted -s %s unit KiB mkpart kernel2 %s %s' % (EMMC_IMAGE, SECOND_KERNEL_PARTITION_OFFSET, PARTED_END_KERNEL2 ))
            PARTED_END_ROOTFS2 = int(SECOND_ROOTFS_PARTITION_OFFSET) + int(ROOTFS_PARTITION_SIZE)
            cmdlist.append('parted -s %s unit KiB mkpart rootfs2 ext2 %s %s' % (EMMC_IMAGE, SECOND_ROOTFS_PARTITION_OFFSET, PARTED_END_ROOTFS2 ))
            PARTED_END_KERNEL3 = int(THRID_KERNEL_PARTITION_OFFSET) + int(KERNEL_PARTITION_SIZE)
            cmdlist.append('parted -s %s unit KiB mkpart kernel3 %s %s' % (EMMC_IMAGE, THRID_KERNEL_PARTITION_OFFSET, PARTED_END_KERNEL3 ))
            PARTED_END_ROOTFS3 = int(THRID_ROOTFS_PARTITION_OFFSET) + int(ROOTFS_PARTITION_SIZE)
            cmdlist.append('parted -s %s unit KiB mkpart rootfs3 ext2 %s %s' % (EMMC_IMAGE, THRID_ROOTFS_PARTITION_OFFSET, PARTED_END_ROOTFS3 ))
            PARTED_END_KERNEL4 = int(FOURTH_KERNEL_PARTITION_OFFSET) + int(KERNEL_PARTITION_SIZE)
            cmdlist.append('parted -s %s unit KiB mkpart kernel4 %s %s' % (EMMC_IMAGE, FOURTH_KERNEL_PARTITION_OFFSET, PARTED_END_KERNEL4 ))
            PARTED_END_ROOTFS4 = int(EMMC_IMAGE_SIZE) - 1024
            cmdlist.append('parted -s %s unit KiB mkpart rootfs4 ext2 %s %s' % (EMMC_IMAGE, FOURTH_ROOTFS_PARTITION_OFFSET, PARTED_END_ROOTFS4 ))
            cmdlist.append('dd if=/dev/zero of=%s/boot.img bs=1024 count=%s' % (self.WORKDIR, BOOT_PARTITION_SIZE ))
            cmdlist.append('mkfs.msdos -S 512 %s/boot.img' %self.WORKDIR)
            cmdlist.append('mcopy -i %s/boot.img -v /boot/STARTUP ::' %self.WORKDIR)
            cmdlist.append('mcopy -i %s/boot.img -v /boot/STARTUP_1 ::' %self.WORKDIR)
            cmdlist.append('mcopy -i %s/boot.img -v /boot/STARTUP_2 ::' %self.WORKDIR)
            cmdlist.append('mcopy -i %s/boot.img -v /boot/STARTUP_3 ::' %self.WORKDIR)
            cmdlist.append('mcopy -i %s/boot.img -v /boot/STARTUP_4 ::' %self.WORKDIR)
            cmdlist.append('dd conv=notrunc if=%s/boot.img of=%s bs=1024 seek=%s' % (self.WORKDIR, EMMC_IMAGE, BOOT_PARTITION_OFFSET ))
            cmdlist.append('dd conv=notrunc if=/dev/%s of=%s bs=1024 seek=%s' % (self.MTDKERNEL, EMMC_IMAGE, KERNEL_PARTITION_OFFSET ))
            cmdlist.append('dd if=/dev/%s of=%s bs=1024 seek=%s count=%s' % (self.MTDROOTFS, EMMC_IMAGE, ROOTFS_PARTITION_OFFSET, IMAGE_ROOTFS_SIZE ))
        self.session.open(Console, title = self.TITLE, cmdlist = cmdlist, finishedCallback = self.doFullBackupCB, closeOnSuccess = True)

 

Well I wait until the Openpli image is available and see what I can do



Re: BackupSuite #669 blunt

  • Senior Member
  • 159 posts

+1
Neutral

Posted 5 August 2016 - 16:20

hi ,

 

first this app is my number one for my vuo duo2

but im not able to restore a saved image from my hdd with the blue button , i got this message "error remounting root abort flashing try to restore e2" then 30sec and it reboot e2 :P



Re: BackupSuite #670 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 5 August 2016 - 17:02

There are several things that can cause this. A special softcam for example. Stop it if you have one running. Or other processes.

 

I have made a total new version of the flashing program, which should solve this problem. I try to add it to the feeds in the next days.


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: BackupSuite #671 blunt

  • Senior Member
  • 159 posts

+1
Neutral

Posted 5 August 2016 - 17:22

ok thanks for the tips



Re: BackupSuite #672 teo1966

  • Senior Member
  • 1,112 posts

+10
Neutral

Posted 14 October 2016 - 11:55

whats the command for install backupsuite whit telnet ?


VU+ULTIMO4K/HD11/HD530C/HD51/multibox openpli 9.0


Re: BackupSuite #673 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 14 October 2016 - 12:44

opkg install enigma2-plugins-extensions-backupsuite


Verzonden vanaf mijn iPhone met Tapatalk

Re: BackupSuite #674 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 13 November 2016 - 14:47

Probably there will be Backupsuite support for the Mutant HD51.
@WTE provided me with a Mutant HD51 (Big Thanks!) and I'm experimenting with it. Because of the lack of time it could take some time before the BackupSuite supporting the HD51 is released, but I'm sure at the end there will be a proper working version.

At the moment I'm able to create a complete backup under the 10 seconds, this backup can be flashed back to a working version (only via USB at the moment), online flashing using the BackupSuite with the blue button doesn't work, I'm not sure it will be supported in the future.

I must first thoroughly test it all before it will be released

 

A small taste of the current situation (watch the needed time :) )

backupsuite_english.png

I'm only testing for a standard situation with Openpli WITHOUT multiboot!
 



Re: BackupSuite #675 bril

  • Senior Member
  • 204 posts

+2
Neutral

Posted 13 November 2016 - 18:48

Very nice. This box is very fast. What concerning the backup to harddisk, maybe you have to add in the fstab a mount of the harddisk because otherwise it is mounted as an usb device.

 

I have,

 

/dev/sda1            /media/hdd          ext4 rw,relatime,barrier=1,data=ordered 0 0


Edited by bril, 13 November 2016 - 18:49.

Mut@ntHD51 STB 4K 2x,  Openpli 7.1 release  , 60 cm schotel 2x duo-lnb, 19.2/23.5 vaste opstelling, Panasonic TXL55DT50E


Re: BackupSuite #676 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 16 November 2016 - 22:19

Tomorrow the HD51 is supported in the BackupSuite. Please bear in mind: This is still work in progress but you should be able to make a complete backup of your HD51

This version is not suitable in a system with a multiboot configuration, so if you're running such a configuration please do not use it to make a complete backup of all your partitions!



Re: BackupSuite #677 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 16 November 2016 - 22:31

Only backup or also flashing?
Do you create rootfs.tar.bz2 or disk image file?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: BackupSuite #678 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 16 November 2016 - 22:42

Only backup, no flashing, it is in disk.img format

 

I tried flashing with kernel1.bin and rootfs1.bin after adapting the plugin.py but I got an error message from ofgwrite (don't know it exactly now but it was about the kernel)

Can't reproduce it now because I call it a day, the alarm clock is going again in about 6 hrs.



Re: BackupSuite #679 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 17 November 2016 - 00:06

Ofgwrite only supports rootfs.tar.bz2 backups. It cannot use disk.img backups.
I hope some day mutant will also support rootfs.tar.bz2 flashing via usb stick. Disk.img is an ugly format when it's cut off at the end which is done in all images (Pli, ATV,...).

Good night.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: BackupSuite #680 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 20 November 2016 - 12:39

I reworked the BackupSuite for the Mutant HD51.
Betacentauri pointed me at possibly problems with the chosen approach, now the backup is made in (compressed) tar.bz2 format.

The downside is that the made backup can only be restored via the BackupSuite via the Blue button (Restore backup) and the time needed for making a backup is increased to 1 - 2 minutes.
The upside is you have always a working backup!

It's still work in progress!

Thanks Betacentauri for your guidance

backupsuite_new.png


2 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


    Bing (1)