Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 6 of 6

Thread: Image backup and flashing. Settings backup and restores

  1. #1
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,010
    Thanks
    5,906
    Thanked 8,638 Times in 5,826 Posts

    Image backup and flashing. Settings backup and restores

    It is possible to create a complete copy of an image. You then then re-flash it by USB or Image Manager. This is handy if you want to try another image and want to be able to revert back to your old image without having to set everything up again. Or just want to have a copy that you can flash back incase something goes wrong.

    This is covered in section 8 of the Vix Manual
    http://openvix.co.uk/openvix-builds/...20Vs%201.1.pdf
    As well as this PDF guide
    http://openvix.co.uk/openvix-builds/...0ViX%203.0.pdf

    You must have a storage device connected to the receiver. The image uses the device mounted as /media/hdd as the default. (It does not matter whether it is a USB stick or normal HDD, we are talking about mounts)

    A brief guide to the process.
    Blue Button > Vix > Image Manager > Green Button (New Backup)



    If you have more than one storage device connected and want to change where you save an image to
    Blue Button > Vix > Image Manager > Menu
    Highlight the backup location and scroll left/right.

  2. The Following 22 Users Say Thank You to abu baniaz For This Useful Post:

    + Show/Hide list of the thanked

    aldo2332 (27-11-15),argolis (17-11-19),carrier (06-02-16),colheath (27-11-15),earthman (18-02-16),fiegeman (26-11-15),franta (06-12-15),gavla (18-12-15),gemelli47 (12-12-15),Grml4D (24-03-19),HeRmAN (18-07-16),imtiaz_2007 (13-02-18),joes (01-12-15),MikeH (19-11-17),ptt54 (13-12-15),ryszard (05-12-19),satdreamboxhd (10-02-16),Sicilian (25-08-15),stanhi8g (23-03-16),Toja60 (12-04-16),urk53 (11-04-17)

  3. #2
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,010
    Thanks
    5,906
    Thanked 8,638 Times in 5,826 Posts

    Create a Settings Backup

    We all have different preferences and like to customise how certain features in the image work/appear. You can save your preferences as well as any other files on receiver to be restored later. Your channel data and cam files will already be backed up.

    Blue Button > Vix > Backup Manager > Green Button (New Backup)


    The default location where the files are saved to is /media/hdd/backup/
    If you have more than one storage device connected and want to change where you save an image to
    Blue Button > Vix > Backup Manager > Menu
    Highlight the backup location and scroll left/right

    If you want to select additional files/folders to save
    Blue Button > Vix > Backup Manager > Menu > Yellow (choose files)
    Note:
    If you have just flashed an OpenVix image and it finds a settings restore file in the default location, you will be asked if you want to restore it during the setup process (First Install Wizard, FIW for short).

    You can manually restore at anytime too.

    Note:
    Since 16 Feb 2016, when flashing using Image Manager, a settings backup is created automatically. This function can be switched off. If you intend to flash using Image Manager, you no need to create a settings backup as it will be done automatically for you.

  4. The Following 9 Users Say Thank You to abu baniaz For This Useful Post:

    argolis (17-11-19),colheath (27-11-15),earthman (18-02-16),gavla (18-12-15),HeRmAN (18-07-16),MPEGMAN (24-07-16),Sicilian (25-08-15),trackandplay (22-12-19),urk53 (11-04-17)

  5. #3
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,010
    Thanks
    5,906
    Thanked 8,638 Times in 5,826 Posts

    Download an Image from server using Image Manager

    You can use the Image Manager to download an image and then flash it (Couch flashing).

    Blue > Vix > Image Manager > Yellow (Downloads) >



    The image will be downloaded to the default location: /media/hdd/imagebackups/

    You can also download the latest image from www.openvix.co.uk and can transfer the zipped image file to the same location using FTP.


    Edit:
    OpenViX allows you to select a different images (OpenATV, OpenPLI) to download and then flash.

  6. The Following 6 Users Say Thank You to abu baniaz For This Useful Post:

    argolis (17-11-19),colheath (27-11-15),desmond tutu (06-08-16),earthman (18-02-16),gavla (18-12-15),HeRmAN (18-07-16)

  7. #4
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,010
    Thanks
    5,906
    Thanked 8,638 Times in 5,826 Posts

    Flash an image using Image Manager

    You can flash an image using Image manager. This appies to official images or a backup image you had tried too.

    This is covered in section 8 of the Vix Manual
    http://openvix.co.uk/openvix-builds/...20Vs%201.1.pdf

    A brief guide to the process.
    Blue Button > Vix > Image Manager > Select image > Blue (Restore)
    Any images you have in the default backup location will be listed. Select the one you want and press Blue or OK



    The USB flashing methods are listed here:
    Click here for flashing guides

  8. The Following 5 Users Say Thank You to abu baniaz For This Useful Post:

    argolis (17-11-19),earthman (18-02-16),gavla (18-12-15),HeRmAN (18-07-16),urk53 (11-04-17)

  9. #5
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,010
    Thanks
    5,906
    Thanked 8,638 Times in 5,826 Posts

    Restore settings

    After the first few steps of the First Install Wizard, (language, video) you will be asked if you want to restore your settings.



    If there are unexplained problems after flashing the new image, try again without a restore.


    You can also restore a settings backup at any time

    Blue > Vix > Backup Manager > (Highlight/Select desired backup) > Yellow (Restore)
    Last edited by abu baniaz; 12-10-18 at 22:42. Reason: Manually restore

  10. The Following 18 Users Say Thank You to abu baniaz For This Useful Post:

    + Show/Hide list of the thanked

    argolis (17-11-19),desmond tutu (28-10-16),dmgp (23-11-15),earthman (18-02-16),fouldup (03-01-16),franta (06-12-15),gavla (18-12-15),hassan56 (31-03-17),HeRmAN (18-07-16),joe2419 (23-11-15),joes (01-12-15),Newtix (10-02-16),posi (20-11-17),redsi72 (30-01-17),roybach (23-11-15),Talks (26-01-16),The Jazzman (20-02-16),tvr4ever (13-02-16)

  11. #6
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    22,010
    Thanks
    5,906
    Thanked 8,638 Times in 5,826 Posts

    Manually restore settings

    The lowest settings backup that ViX currently accepts is 4.2. If your current image is newer than 4.2 you can restore the settings backup into current image.

    Code:
    def isRestorableSettings(imageversion):
        minimum_version = 4.2
        try:
            imageversion = float(imageversion)
        except:
            return False
        return imageversion >= minimum_version
    
    def isRestorablePlugins(imageversion):
        minimum_version = 4.2
        try:
            imageversion = float(imageversion)
        except:
            return False
        return imageversion >= minimum_version
    Code:
    https://github.com/OpenViX/vix-core/blob/master/src/BackupManager.py#L72:L86

    Details below are for the benefit of those who have images older than 4.2 and are weary over spending "hours and hours" setting up their receiver how they like it or those who want something specific


    1. Firstly make an image backup so that you can flash it if things go wrong. Save the image to on your PC or somewhere else safe

    Blue > Vix > Image Manager > Green (New Backup)

    2. It is handy to make a settings backup too as we can easily extract files from there if we need to.

    Blue > Vix > Backup Manager > Green (New Backup)

    See this guide if needed
    http://www.world-of-satellite.com/sh...-and-Restores/

    3. Backup your personalised bouquets (skip this if you will be using ABM)
    Simplest way is to use settings editors like E-Channelizer, Dreamset, DreamboxEdit

    You can also do this manually. The files are located in /etc/enigma2/ Backup the following files
    • lamedb
    • Everything ending in .tv
    • Everything ending in .radio


    4. Now backup your timers and autotimers The files are located in /etc/enigma2/ Backup the following files
    • timers.xml
    • autotimers.xml


    5. Backup and then update the settings file. This includes your customisations of many things and tuner configuration.
    Note: Some items will still need to be set again. As an example, we use different entries for timezone and terrestrial tuner configs.

    The file is called "settings" and also located in /etc/enigma2/
    Using a linux compatible editor, like Notepad++ (please don't confuse with windows notepad)!

    If your image is older than 4.2
    • Change all entries of "true" to "True"
    • Change all entries of "false" to "False"


    There is a replace function in Notepad++ so this is simple.

    6. Backup your cam config files. You should really have these saved anyway.

    For mgcamd
    newcamd.list in /usr/keys/
    cccamd.list in /usr/keys/
    mg_cfg in usr/keys

    For CCcam
    CCcam.cfg in /etc

    For Oscam
    The oscam files are in /etc/tuxbox/config

    7. Backup your softcams. They are located in /usr/softcams/

    8. List installed plugins. This is a bit involved. You will only be able to restore the plugins that are on the plugin server. If they are not, you will undoubtedly have the ipks.



    Download the attached python script by Huevos, unzip/extract it
    Transfer to "pluginslist.py" the /tmp directory of your receiver
    Using Putty or your chosen terminal client. Issue the following commands one by one

    Code:
    cd /tmp
    python pluginslist.py
    You will then have a file in the /tmp directory. If you do not see it, refresh the view. Transfer the "ExtraInstalledPlugins_YYYY-MM-DD_HH-MM-SS.zip" file to your PC and extract/unzip it.The text file will list items installed by the user. As an example

    Code:
    dvbsnoop
    enigma2-plugin-drivers-dvb-usb-it913x
    enigma2-plugin-drivers-exfat
    enigma2-plugin-drivers-ntfs-3g
    enigma2-plugin-skins-openvix-vixbmc-1080
    enigma2-plugin-softcams-oscam-latest
    enigma2-plugin-systemplugins-satelliteequipmentcontrol

    When you flash your new image, you can re-install them by issuing following commands:

    Code:
    opkg install dvbsnoop
    opkg install enigma2-plugin-drivers-dvb-usb-it913x
    opkg install enigma2-plugin-drivers-exfat
    opkg install enigma2-plugin-drivers-ntfs-3g
    opkg install enigma2-plugin-extensions-autobouquets
    opkg install enigma2-plugin-skins-openvix-vixbmc-1080
    opkg install enigma2-plugin-softcams-oscam-latest
    opkg install enigma2-plugin-systemplugins-satelliteequipmentcontrol
    Guide to Putty if you need it
    http://www.world-of-satellite.com/sh...Linux-commands


    That should be all the files you need. They are actually in the settings backup file, you can use 7zip to extract it if you want.

    You also have an image backup that you can flash back if it goes pear shaped.

    9.
    Download and then flash the most recent image from openvix.co.uk. It is far easier to use Image Manager to do this. Link to guide further up. Otherwise, USB flashing guides can be found here:
    http://www.openvix.co.uk/index.php/g...ashing-guides/

    10.
    Once you have flashed the image and get to the First Install Wizard (setup screen), don't go any further.

    Issue the following command to stop enigma2
    Code:
    init 4
    11.
    Transfer all the relevant files back to receiver

    /etc/enigma2
    • timers.xml
    • autotimers.xml
    • settings
    • lamedb
    • *.tv
    • *.radio



    /usr/softcams/
    • Whatever applies to you.
    • You must also chmod 755 the binary files


    Do the same for the cam config files, use correct file paths mentioned above

    Issue the commands to install your plugins. Examples are above. This will only install plugins that are on the plugin server.

    12. Restart the receiver with the following command
    Code:
    init 3
    Almost everything will be set as it was before. You will have to manually set the odd things that have changed. For example, timezone, tuner configuration for terrestrial/cable
    I have not mentioned network mounts etc as the people who do that type of stuff are experts and don't need this guide.

    Hopefully that is it. If you get stuck, start a thread. There are lots of people happy to help. Be as descriptive as possible.
    Attached Files Attached Files
    Last edited by abu baniaz; 15-07-20 at 13:28. Reason: make it not specific to older than 4.2

  12. The Following 15 Users Say Thank You to abu baniaz For This Useful Post:

    + Show/Hide list of the thanked

    Andy_Hazza (22-06-17),Bangord30 (22-06-17),ccs (22-06-17),diverted (19-06-19),Joe_90 (22-06-17),malcolmp (22-06-17),mujtba67 (22-04-20),rimas (22-06-17),Sabrina2005 (04-09-17),sprozzy (07-12-17),twol (22-06-17),Valiant (23-06-17),widar (22-06-17),Willo3092 (02-10-17)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.