Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

Image backup and flashing. Settings backup and restores

Status
Not open for further replies.

abu baniaz

Moderator
Joined
Sep 16, 2010
Messages
24,106
Reaction score
175
Points
63
Location
East London
Just in case you you want create a copy of the image including options you have set as well as plugins, you can create an image backup. 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 in case something goes wrong.

This is covered in section 8 of the Vix Manual
http://openvix.co.uk/openvix-builds/Guides and Tutorials/VIX Manual Vs 1.1.pdf
As well as this PDF guide
http://openvix.co.uk/openvix-builds.../How to make a image backup using ViX 3.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)

Create image backup.gif


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.


This step is optional, skip this step if you do not want to create an image backup.
 
Last edited:
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)

Create settings backup.gif


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 (can be changed to off)
If you intend to flash using Image Manager, you do no need to create a settings backup as it will be done automatically for you. Skip this step
 
Last edited:
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) > Select the image distro (Vix/ATV/PLI etc) > Expand the image number series > Select the image number

Download image using Image Manager.gif

Note: The most recently downloaded image will be highlighted for usage in the next step.
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.
 
Last edited:
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/***Guides and Tutorials***/VIX Manual Vs 1.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
 
Last edited:
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:
Manually restore settings

This step is for information only, it is not required for most people.

For benefit of people not using Vix or using a very old image of vix (lower than 4.2) you can manually save things and restore them into the newer 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/showthread.php?47588-Flashing-Settings-backup-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/showthread.php?40948-How-to-use-Putty-for-Unix-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/guides-and-tutorials/receiver-usb-flashing-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.
 

Attachments

Last edited:
Status
Not open for further replies.

OpenViX Feeds Status

Back
Top