Autobackup


#1

Hi, please,

I had almost lost my all backups on a corrupted microSD so not any backup would have been useful a few days ago :slight_smile: Fortunately I had a backup on my notebook.

So would be super useful to have a possibility to:

  1. set auto backup

  2. set a location of the backups
    (*not so important

  3. an option to exclude thumbnails (or make 2 backups optionally)

  4. an option to create also a Kodi backup (independent from the operating system for an easier migration across platforms, so maximally 3 kinds of backup, 3 files)
    )

  5. a button “create the backups right now” of course too :slight_smile:

  6. and have NO worry about anything wrong that could happen any time :slight_smile:

What do you think?

edit: not talking about Kodi but about the whole CoreElec as is done by the CE settings of course :slight_smile:
added just Kodi backup possibility


#2

That would be a great and very useful feature :slight_smile:


#3

It looks like there could be an existing kodi addon to do this:-

I haven’t tried it myself but it looks as though it does what you are looking for. You can specify the backup location, select which file types to backup and run the backup on a schedule.


#4

I dont know how to skip the thumbnails, but i have a backup solution. I run the following command and a backup is created:

tar cpf /your/path/here/$(date +%Y%m%d%H%M%S).tar /storage

You could have this command run everyday automatically at 4:00 am by adding this line to cron:

0 4 * * * tar cpf /your/path/here/$(date +%Y%m%d%H%M%S).tar /storage

Though, this will accumulate backups over time. Maybe someone with better linux knowledge can tell you of a command that will delete old backups.


#5

Is this “Backup” add-on working exactly as the CoreElec backup ?
It’s been years since the last time I’ve used it, but I do remember abandoning it because restoring from a backup never worked reliably for me.
CoreElec backup, on the other hand seems to work perfectly.


#6

but maybe the possible settings could take into account even a creation also a Kodi settings to make a migration to a completely different system easier, so two files could be created acc to the user :slight_smile:


#7

I might give it a go later and report my findings.


#8

From memory , I think you have to force close Kodi when the restore backup is at the end.
I Haven’t used it with CE but that is what i do on Android.


#9

Thanks for the feedback.
I think it’s time to try again that Backup add-on.
I will also keep a CoreElec backup to be on the safe side, before I try with the add-on.