Forum

Full Version: XBian-backup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Hmmm, having absolutely no idea what's going wrong with your RPi's HuhHuhHuh

Updated three Devices (1x Hummingboard, 1x RPi1, 1x RPi3) with package xbian-package-config-shell and -config-xbmc without any issue
Those commands you hsd me run a few post back wouldn't have had anything to do with it would they?

Anyway, all is put back to normal now and we'll see how it goes until the weekend.
(29th Jun, 2016 06:10 PM)Skywatch Wrote: [ -> ]Those commands you hsd me run a few post back wouldn't have had anything to do with it would they?

No, don't think so. Those commands I posted were token from cron job which is executed daily.

Quote:Anyway, all is put back to normal now and we'll see how it goes until the weekend.

Yeah, let's wait and drinking tea Shy

Btw, found small bug in backup scripts, but does not affect your issue (Automatic remove of old images files did not work if image backup was started manually from Kodi GUI)
So far so good.

All pi made a backup to the server today and all pi deleted old backups to leave only last 7 daily backups, so looking good for now but not time to open the champagne yet.....Will see how it goes from here.....
Just to say that after 4 weeks no more issues have occured and all update/upgrade packages have installed fine. Also, the snapshots are all being made with the last 7 daily snaps only being kept.

Smile
Thanks for reporting, same here. Works since weeks in different configurations.
(13th Jun, 2016 05:03 AM)Nachteule Wrote: [ -> ]
(13th Jun, 2016 03:46 AM)IriDium Wrote: [ -> ]I think we have done everything that is possible.

Agree Smile

Quote:Could we implement something like a "Toast" pop up box on /First Boot/boot/periodic interval that says something like.

"Have you backed up your device recently?"
"Backups are important in case problems occur."
"See http://www.wiki.xbian.org/how-to/backups and restore" or whatever the URL will be.
"Click here [ ] to disregard this notice."

Unfortunately those toast messages can not displayed until click to respond, only timeout is possible. So, IMO makes no sense

Don't know if addons can put message boxes on screen if not running in foreground

Got it, added hint's to XBian's config GUI. Currently three hints are implemented:
  1. System backup not done for a long time (currently 33 days)
  2. Home backup not done for long time (currently 33 days)
  3. New updates are available

All hints are displayed until manually close and can be disabled. And or course, an 'Enable all Hints' function has also been added to Preferences section Dodgy

Will put to devel repo next days for testing
What is the difference between 'system' backup and 'home' backup? If I do 'system' backup every day, is there a reason to also do a 'home' backup? ???
The difference is:

System backup does a backup of complete sd-card, home backup only /home subvolume, you can say system backup includes home backup.

That means, if you are running system backup every day, home backup is useless Smile (and no home backup hint will be ever displayed)
BUT:

most changes are usually done in /home, so IMO it makes sense doing a system backup weekly (or monthly) and home backup daily (or weekly) Dodgy

That's what I'm doing in the future
(24th Jul, 2016 09:04 PM)Nachteule Wrote: [ -> ]The difference is:

System backup does a backup of complete sd-card, home backup only /home subvolume, you can say system backup includes home backup.

That means, if you are running system backup every day, home backup is useless Smile (and no home backup hint will be ever displayed)
And what is Auto snapshot?

When we choose the destination file, in system backup, does it mean that every backup will be done with that name, overwriting the previous one?
(25th Jul, 2016 10:41 PM)Peiote Wrote: [ -> ]And what is Auto snapshot?

Auto snapshots are stored locally on your sd-card. This is NOT a backup.

You can get a list of your snapshots by typing the command sudo btrfs-auto-snapshot list

Quote:When we choose the destination file, in system backup, does it mean that every backup will be done with that name, overwriting the previous one?

No, if you're using default file name. This has variable $(date +%F), it means that file name always contains current date (YYYY-MM-DD)
Ah! OK - Thanks for the clarification.
(25th Jul, 2016 11:13 PM)Nachteule Wrote: [ -> ]
(25th Jul, 2016 10:41 PM)Peiote Wrote: [ -> ]And what is Auto snapshot?

Auto snapshots are stored locally on your sd-card. This is NOT a backup.

You can get a list of your snapshots by typing the command sudo btrfs-auto-snapshot list

Quote:When we choose the destination file, in system backup, does it mean that every backup will be done with that name, overwriting the previous one?

No, if you're using default file name. This has variable $(date +%F), it means that file name always contains current date (YYYY-MM-DD)
Great, set. Thank you.

Do you use snapshot? Advisable?

Transmission settings, resume, etc are in home backups?

Best regards, thanks for your work and help.
(26th Jul, 2016 03:02 AM)Peiote Wrote: [ -> ]Do you use snapshot? Advisable?

Sure, I do. It is always better to have snapshots than to have no snaps Big Grin

Quote:Transmission settings, resume, etc are in home backups?

If you're using xbian-package-transmission package, yes - everything is in /home. But if the files you're leeching and seeding are in /home also, it would be better to make separate subvolume under /home and exclude this volume from snapshotting. Means your sd-card does not running full by snapshots and your leeching and seeding files are not in /home backup (supposing it does not make sense to backup them)
Pages: 1 2 3 4
Reference URL's