2012-05-23, 23:10
(2012-05-23, 22:59)schumi2004 Wrote: I'll check OpenELEC for you.
If incremental is hard to accomplish maybe add time stamps to the backup folders?
Just a thought
Thanks, I'll add the OpenELEC stuff before submitting to the repo, shouldn't be too hard. I got an answer on the zip file paths so that is sorted out.
What do you mean by add time stamps to the backup folders? I'd be happy to consider something but the different ways I've looked at it all require that I can gather some type of timestamp information from the backup location once the files have been sent, which I can't do. Once the files are in the backup local all I can get from them are name and full file path.
The one thing I can think of that might work would be to create a list of files and timestamps that is created locally when the backup job runs, and then saved to the addon_data folder (as a txt or xml file). Upon the next run the timestamps in the file could be used to compare the local file against what it was the last time the backup ran. The restore side would just restore everything, as I think it should. Is that more like what you were thinking? It would require the creation of a map data structure to compare against (which would eat up some processing time) but the trade off would be not transferring large files that may not have changed, which would be worth the extra overhead I think.