Kodi Community Forum
[Release] Backup (formerly XBMC Backup) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [Release] Backup (formerly XBMC Backup) (/showthread.php?tid=129499)



RE: [Release] Backup (formally XBMC Backup) - Madchester312 - 2015-04-02

Hey rob


Thanks for the reply thsts good news

So
I have tried it an set remote path to type path

Added my details http://blah blah.com/blah/

Should the file be a zip or just the folder. As I have tried an I just get black screen saying backup-backup folder name

It just sit there then untill I back out.


RE: [Release] Backup (formally XBMC Backup) - 03397 - 2015-04-03

I would like to backup another folder namely scripts which lies under the usedata folder of kodi.
I have enter this directory under the custom directory settigns of the plugin.
Unfortunately the directory is never backup.

Any thought?


RE: [Release] Backup (formally XBMC Backup) - Madchester312 - 2015-04-03

(2015-04-03, 08:20)03397 Wrote: I would like to backup another folder namely scripts which lies under the usedata folder of kodi.
I have enter this directory under the custom directory settigns of the plugin.
Unfortunately the directory is never backup.

Any thought?

Do you get a empty folder

If I set the custom to suowr favourites folder only it gets the folder but the my are all empty. Maybe it's a bug or we are doing something wrong


RE: [Release] Backup (formally XBMC Backup) - 03397 - 2015-04-03

(2015-04-03, 09:42)Madchester312 Wrote:
(2015-04-03, 08:20)03397 Wrote: I would like to backup another folder namely scripts which lies under the usedata folder of kodi.
I have enter this directory under the custom directory settigns of the plugin.
Unfortunately the directory is never backup.

Any thought?

Do you get a empty folder

If I set the custom to suowr favourites folder only it gets the folder but the my are all empty. Maybe it's a bug or we are doing something wrong

I cannot even find the folder in my zip file.


RE: [Release] Backup (formally XBMC Backup) - Madchester312 - 2015-04-03

(2015-04-03, 10:40)03397 Wrote:
(2015-04-03, 09:42)Madchester312 Wrote:
(2015-04-03, 08:20)03397 Wrote: I would like to backup another folder namely scripts which lies under the usedata folder of kodi.
I have enter this directory under the custom directory settigns of the plugin.
Unfortunately the directory is never backup.

Any thought?

Do you get a empty folder

If I set the custom to suowr favourites folder only it gets the folder but the my are all empty. Maybe it's a bug or we are doing something wrong

I cannot even find the folder in my zip file.

Yeh I seem to have same problem. Well I get my folder just no contents. If u select userdata it should do the whole file then maybe remove any u don't need


RE: [Release] Backup (formally XBMC Backup) - Madchester312 - 2015-04-04

Rob

I tried to do the tenote path restore it wouldn't work mate it just give blank screen. Could u guide me through it sgsin

In setting I add remote path http://blah.net/blah is it . Zip or just folder then when I press restore it just has black screen

Any help would be great.


RE: [Release] Backup (formally XBMC Backup) - 03397 - 2015-04-04

(2015-04-04, 09:46)Madchester312 Wrote: Rob

I tried to do the tenote path restore it wouldn't work mate it just give blank screen. Could u guide me through it sgsin

In setting I add remote path http://blah.net/blah is it . Zip or just folder then when I press restore it just has black screen

Any help would be great.



If u use a folder that is outside the kodi folder will work just fine.
I try that and it worked.


RE: [Release] Backup (formally XBMC Backup) - robweber - 2015-04-05

Just a few notes that may help some of you out.

1) If you are backing up a custom folder the addon creates a directory in the backup archive called "custom_xxxxxx". The x's are a hash created from the directory path. Your files should be in there. If they aren't I need a debug log. I will not speculate on some particular thing that might be happening without looking at the details of what is actually happening.

2) Regarding the http paths. I got mine to work by just moving the restore points in to a directory on the webserver. As an example the URL was "http://domain.com/backups/". Under the "backups" folder are the folders created by the backup addon like 201504040400. When you go to restore within the addon you should see a list of restore points like normal. If your web server does not support directory listing you'll see nothing. Try looking at the directory in a browser and make sure you aren't getting an http error.


RE: [Release] Backup (formally XBMC Backup) - Madchester312 - 2015-04-05

Hi rob

Yes that's perfect that worked. I was typing he actual file name in also. Once I just hat http://blah/201504051155 It worked. My only issue is now is has added a addon_dataplugin.program.super.favourites instead of adding plugin.program.super.favourites lol

Can I ask firstly does it over write or just add files. I tried to back up a folder of images an then added a few extra see if it would overwrite and restore my originals folder it just seems to add my file to the original.

Also anyway you could add a print message so when it complete we can be notified it was successful ?

Thanks for the reply


RE: [Release] Backup (formally XBMC Backup) - ed_davidson - 2015-04-06

Hi Rob,

Any idea which FTP clients will work to save the backups to. Dropbox, gdrive, media fire, mega etc?

Regards


RE: [Release] Backup (formally XBMC Backup) - robweber - 2015-04-06

(2015-04-05, 13:27)Madchester312 Wrote: Hi rob

Yes that's perfect that worked. I was typing he actual file name in also. Once I just hat http://blah/201504051155 It worked. My only issue is now is has added a addon_dataplugin.program.super.favourites instead of adding plugin.program.super.favourites lol

Can I ask firstly does it over write or just add files. I tried to back up a folder of images an then added a few extra see if it would overwrite and restore my originals folder it just seems to add my file to the original.

Also anyway you could add a print message so when it complete we can be notified it was successful ?

Thanks for the reply

Did you put a slash at the end of the directory path? Not sure if that would produce what you are seeing but it might.

Also, what do you mean by a "print message". Like just a popup saying "it's done" at the end? This is probably something I could add to the main running mode but if you're in "silent" mode or using the background progress bar it still won't display. The point with those modes is to be transparent so anything that prompts the user is a distraction.

(2015-04-06, 03:13)ed_davidson Wrote: Hi Rob,

Any idea which FTP clients will work to save the backups to. Dropbox, gdrive, media fire, mega etc?

Regards

Do you mean FTP client or "cloud storage"? Just asking because I checked to see if Dropbox was an FTP site and found this:

Code:
WebDAV, email attachments, and FTP access is not on the current feature roadmap, and likely won't be for the foreseeable future.

Did the same with GDrive, no native FTP access there either. I guess there might be third party apps that do it, you'd have to try them. If you just mean generic cloud storage; right now Dropbox is the only one baked in to the app. I've been working on a Google Drive implementation but don't have it ready for mainline yet. It is working but just in a test branch on git. Hopefully soon.


RE: [Release] Backup (formally XBMC Backup) - Madchester312 - 2015-04-06

Hi rob

Yeh mate a message say it's done would be good. I understand what you mean by the background bar bit if on the normal view it could pop olio thsts would be good

Ref to the slash.

Yeh I put the slash it does work now I have managed to make it install. It's just when I do it from
Local storage it installs ok. If I do it from my webspace it install the file in user_data but adds addon data.user_data before the normal plugin.program.super favourites

Is it possible to make it overwrite any files. So if I restore a file an it has changed to the files that are in my machine it would overwrite them not just add them.


Thanks mate


RE: [Release] Backup (formally XBMC Backup) - robweber - 2015-04-07

The program only overwrites/adds files. It's just a straight copy, no comparison is done. Whatever exists in the restore folder gets copied to the system. If there is an existing file it gets replaced. Does this make sense?

As far as your other issue I can't determine what is happening there without a debug log. Definitely seems like an issue with the file path being created but I haven't seen this happen before in any of my tests. The fact that it's an http source really shouldn't matter but maybe it is doing something wierd.


RE: [Release] Backup (formally XBMC Backup) - Madchester312 - 2015-04-07

Hi rob

Thanks for your reply again

Ha ha yeh it's defo doing weird things I can take screen shot if u can post or maybe I can add it somewhere post a link. I will try do a debug log file for u too.

I've no idea why it's doing it I agree with u shouldn't matter as I have another tool that does similar run from my website seems ok. That tool only adds to a current list your see. So if I have a super favourites list an I install a backup an a file name has changed mine will only add to the list not over write. I fully understand what you mean an hopefully if I can sort this small issue it should be ideal.

Again thanks for your time to reply it's much appreciated


RE: [Release] Backup (formally XBMC Backup) - avtr212 - 2015-04-07

I manually back up my entire firetv kodi setup. I use the llama / classic tv method for launching kodi on the firetv. I'm trying to back up my llama event settings but can't seem to find that file. Anybody know where the llama event settings file is located?

As an aside, find and grep doesn't work in adb shell. Is there an easier method for locating files in adb?

Thanks.