2017-01-13, 17:10
(2017-01-13, 17:04)robweber Wrote:(2017-01-12, 22:59)TaceN Wrote: Alright guys.. sorry for a lot of writing. But, I got everything to work now.
Just ONE last thing!
Since I'm not able to upload stuff from external source to my web host I'm doing it locally to my raspberry pi.
I then send the backed up file to my host. The problem is that the backed up file has the source locally which means that I have to change the source to the "ftp source".
Is there any way to change the source after the backup has been Done, in the backed up files?
Been searching through the non compressed backup files for the settings for the addon, but I can not find the source path.
Someone?
So just to make sure we're getting it all straight. You are making a backup on Kodi Instance A to a local folder. You're then restoring the backup on Kodi instance B. The problem is that the addon settings from A point to a different source folder so when you restore to B it overwrites the settings and you have to keep setting the source folder?
As long as you are backing up addon_data this will probably keep happening as it will pull in the settings.xml from the backup addon on A and put them in folder on B. If you wanted to manually hack this after the fact I would delete the settings.xml file in the addon_data/script.xbmcbackup folder in the compressed file. Would that work for you?
If you really wanted to get crazy - and had some python skills - you could script the deletion of the file, or it's exclusion entirely from the backup. Doing it from a compressed file would be a bit trickier but it could probably be done.
I'm gonna try explaining this correctly! =D
Everything works just fine. I'm able to make the backup and so on locally to the storage/backup folder.
This backup then contains information about the source storage/backup which it should find the backup files in.
My problem is when I upload the file to a host and restoring a raspberry, it after contains just that source. Not the source to my server which it does from the first beginning when setup. I need to change the source after the backup has been made so it always will be my web server instead of locally.
Sorry if I'm explaining this like a m f:er! =D