Author Topic: System Restore for Peppermint: Timeshift  (Read 10461 times)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: System Restore for Peppermint: Timeshift
« Reply #15 on: March 27, 2017, 09:27:34 am »
Can it now save backups to another drive (or NAS) ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: System Restore for Peppermint: Timeshift
« Reply #16 on: March 27, 2017, 09:45:34 am »
Okay might give it another look then .. though systemback is currently doing the "snapshot" job

BTW, I've set systemback to do a FULL backup (not set this way by default) of my SSD to an external USB3.0 HDD (formatted as EXT4) .. and damn it's fast, that fast that at first I didn't believe it could possibly have worked, but sure enough it's all there and verified :)

Maybe it's just that I'd never backed up from an SSD over USB3.0 before .. but it surprised the heck outa me.
« Last Edit: March 27, 2017, 09:48:16 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline calinb

  • Newly Subscribed
  • *
  • Posts: 8
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: System Restore for Peppermint: Timeshift
« Reply #17 on: June 25, 2017, 05:31:57 pm »
I'm looking at backup methodologies. The Timeshift dev, Teejee, recommends BackInTime for non-system files. From
http://www.teejeetech.in/p/timeshift.html:

Quote
TimeShift is similar to applications like rsnapshot, BackInTime and TimeVault but with different goals. It is designed to protect only system files and settings. User files such as documents, pictures and music are excluded. This ensures that your files remains unchanged when you restore your system to an earlier date. If you need a tool to backup your documents and files please take a look at the excellent BackInTime application which is more configurable and provides options for saving user files.

See:
https://github.com/bit-team/backintime
and
http://backintime.readthedocs.io/en/latest/

Despite Teejee's recommendation, It seems to me I could just configure Timeshift to backup my /home directory (and whatever else) in addition to the system files. I don't need major sophistication here but would like to protect myself from self-inflicted system maladies (or maladies related to updates) as well as self inflicted document loss or hard disk failure. Obviously recovery needs vary, depending of the failure. Is it possible to select a system only, non-system only, or both during a restore operation. If it's not easy to independently select from one or the other, because the recovery needs after different kinds of failures are different, then I guess it's probably worth install both Timeshift and BackInTime on my system.

My methodology would also include a bootable Clonezilla USB memory stick, which I've already used to store an image of my new Peppermint 8 system on a external USB ext4 hard disk drive. BackInTime and/or Timeshift backups could be made to the same drive much more quickly and space efficiently than making entirely new Clonezilla images. If I store a final Clonezilla image after I install and setup BackInTime and/or Timeshift, recovery from a hard disk failure should be trivial and fast (my new Pepermint 8 system still has a small disk footprint) and I don't know that I'd ever have a need to make new Clonezilla images after I install and setup the rsync based "time" utilities and run Clonezilla one last time.

Any thoughts and feedback on this strategy is appreciated!

-Cal
« Last Edit: June 25, 2017, 05:37:22 pm by calinb »

Offline calinb

  • Newly Subscribed
  • *
  • Posts: 8
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: System Restore for Peppermint: Timeshift
« Reply #18 on: June 26, 2017, 11:35:25 am »
It looks like a utility called systemback would do the job for me (enable and manage both system and home backups), but development has ceased on the project and there are also an awful lot of bug reports on the dev page (not something you want to see in backup software)!

In reviewing several timeshift tutorials, it also appears that previous version of the program provided more control and options in the restore process than the current version 17.2, which I installed.

Timeshift 17.2 almost supports the simple options I desire (simple management of home directory backup and restore options at both backup AND restore time). The timeshift filters menu is very clunky and I could not find a way to add the entire home directory or even MY home directory (~/) to the backup list. I could toggle them to a "+" in the filters GUI, but when checking the final results using the "Summary" button, I found that the home directory or directories were added for explicit exclusion, rather than inclusion (no "+" mark). I suspect that this is because the default rule to only backup home hidden files and subdirectories is overriding my attempt to add them at this level and there is no way to reorder custom home filter rules ABOVE the default rules (or at least I think something like that behavior is happening).

However, I could successfully add subdirectories within a home folder (Documents, Downloads, Videos, etc.) and the plus mark appeared in the summary. This more tedious entry method should work for me, as long as I remember that files stored directly in my home folder are not backed up. (Only files in subdirectories BELOW ~/ are backed up).

Finally, it would be nice to be able to schedule home backups but be able to deselect them during a restore operation. The latest version of timeshift does not appear to support this level or restore-time control (though previous versions appear to have it). The best workaround I could find for this feature deficiency would be to restore the home backup to another device at restore-time--say my USB backup drive itself. I could then delete the unwanted restored home files without over-writing them on my system. This would add a LOT more time to the restore process, however. Alternatively, manual snapshots could be made with or without home folders and files included or not included, but periodically manually toggling the filter settings and creating snapshots differently configured from the scheduled snapshots is also painstaking and prone to user error.

Given the above shortcomings of timeshift, I guess it does make sense to install backintime alongside timeshift and use both backintime and timeshift together to fully automate backups (after using clonezilla to create a "stake in the ground" image).

It's too bad that systemback development ended, because it can make images too (even bootable live images). Its feature set could be used to replace clonezilla, timeshift, and backintime, but I guess I'll install the full trio of CTB proggies, given that systemback would currently be an unreliable backup choice.
« Last Edit: June 27, 2017, 11:08:03 am by calinb »

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1275
  • Karma: 137
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: System Restore for Peppermint: Timeshift
« Reply #19 on: September 15, 2017, 09:27:35 pm »
Just a note, I attempted to install Timeshift on two different operating systems and on each one I got a note that either the ppa didn't have a release file or the attempt couldn't unlock dpkg files, something like that. I almost panicked because Peppermint 8 was the only system I had Timeshift on with a snapshot created and that's where I needed it. So, to try something I ran sudo apt-get upgrade after sudo apt get update and Timeshift installed okay. Peppermint 8 is back in business!  ::)
What was I thinking?