Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £129! 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 £179! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[VU+ Solo2] Symlink on DCC

sataday

Member
Joined
Aug 13, 2014
Messages
294
Reaction score
2
Points
18
Location
Pandora, Alpha Centauri.
I have setup 2 different symlinks up on DCC. One to take me directly to plugins, and the other to take me directly to my oscam files (etc/tuxbox/config).
Although I have them both ticked in backup manager, after updating image, only the plugin one is there. It doesn't save the oscam files one.
This is not a recent problem. I have had it on every update for a while now
Any ideas why?
Thanks.
 
Symlinks are not saved in a settings backup. They never have been. I suppose you can create a script to create them which would be saved.

Having said that, an update does not remove links. A flash does.
 
Sorry, when I said update I meant Flashing a new image. You say that symlinks are not saved yet the one I created for plugins does save.
 
You'll have to show me how you are doing so

I have these symlinks.

ln -s /usr/lib/enigma2/python/Plugins /_Plugins
ln -s /usr/lib/enigma2/python/Plugins/Extensions /_Extensions
ln -s /usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker /_ABM
ln -s /usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker/providers /_ABM_providers
ln -s /usr/lib/enigma2/python /_Python
ln -s /usr/share/enigma2/Simple_Ten_Eighty /_Simple1080
ln -s /usr/share/enigma2 /_Skins
 
Symlinks are not saved in a settings backup. They never have been.
Yes they are.

Code:
root@et8000:/media/usb/backup# tar tvf openvix-dev-5.3.008.007-20191102-2200.tar.gz | grep local
lrwxrwxrwx 0/0         0 2019-08-11 21:56:33 usr/local -> /media/hdd/GMLbits/local
lrwxrwxrwx 0/0         0 2019-08-11 21:56:33 opt/local -> /usr/local
 
….does this mean that a settings restore will bring them back as symlinks?

I guess it should.
 
….does this mean that a settings restore will bring them back as symlinks?

I guess it should.
Hmmm....should be...

The restore command (as in "initiate a restore of a backup" - enigma2/lib/python/Plugins/SystemPlugins/SoftwareManager/BackupRestore.py) appears to be made by:

Code:
["tar -xzvf " + self.path + "/" + self.sel + " -C /", "killall -9 enigma2"]

so it restores everything (self.path + "/" + self.sel is the full-path to a backup file).

A restore at Flash time is run by the the Restore Wizard (vix-core/src/RestoreWizard.py) and it runs:

Code:
"tar -xzvf " + self.fullbackupfilename + " -C /"
so should be the same...
 
Last edited:
Is the file/directory the symlink is pointing to also included in backupmanager?
 
I've just done a flash+restore.
Both of my added symlinks were restored.
 
What is symlink are you creating? Post the exact details including where you are creating it. Yes we know it points to /etc/tuxbox/config
 
Doh, I wasn't selecting the symlinks in the backups. Selecting the links I normally create restored them.

I then created this link and also added it to my backup files.
ln -s /etc/tuxbox/config /_Oscam_configs

It was also restored.
 
As mentioned in my 1st post I set the symlink with DCC called "oscam files" which takes me directly to config where all my oscam files are.
 
What do you mean by „oscam files“ in DCC because different images e.g. OpenATV store them in /usr/keys not as in OpenViX
 

OpenViX Feeds Status

Back
Top