Backup Strategy Questions

I was the same as you a few months ago, I wanted Btrfs support for ARM installs. So I had to do a lot of research on my own and got help from dalto to accomplish it. I had to do lot of experimentation too. Tinkering and experimenting along with reading documentation is the best way to learn in my opinion.

I will certainly do it especially @dalto called for testers Btrfs Assistant 1.0 is coming, testers needed, but as of tomorrow or after tomorrow (to give myself some time to read/ask). This is the least I can do to return something to him.

Well, my bad… may be I am a bit enthusiastic. I am ready to do it NOW! I just had a look at “the BTRFS Assistant at GitLab
After reading the link I can understand that BTRFS Assistant, can work with TimeShift (which I have), and does not really require TimeShift or Sanapper. (am I right?)

So, can I just install only BTRFS Assistant in my current situation and try it and play with it? (TimeShift installed, have a few snapshots of system and @home )

Do I need to uninstall TimeShift or disable it’s snapshoting?
I do not need to install Snapper?

Just did

yay -Syyu snapper

and now…

yay -S btrfs-assistant

It depends how you want to use it. Btrfs Assistant will work with timeshift and without snapper. However, you will not have most of the snapshot functionality because it is provided by snapper.

The same is true of Btrfs Maintenance. If you don’t install that, the scheduled maintenance functionality will be missing.

Yes, you can.

While you could install both snapper and timeshift, you probably shouldn’t. It makes more sense to use one or the other.

The whole story of me - as you noticed - I was asking lots of questions about BTRFS, Baloo problems… Recoll… all these threads I mainly needed:

  • system snapshots I can boot to and restore in case I break my system.
  • wold be even better to snapshot my /home folder and data (incremental or whatever you call it), so I can copy/paste any or some of my /home data files (not necessarily restore /home)

So, I better install Snapper as well.

More sense! I agree… there is no point in installing 2 apps or whatever that do the same thing.
My understanding of “more sense” is:

  • no need for wasted processing power snapshoting twice.
  • no need for the waste of disk space.

If I am right, and ther is no “technical” conflict between TimShift and Snapper, I would install Snapper + BTRFS Assitant and test them. When I feel comfortable with them, I will uninstall TimeShift and delete the snapshots it took.

Soing now to install both:

  • BTRFS Assistant
  • Snapper
    Till I do, and reboot I hope you tell me… what next?

If you want everything setup for you, you can install snapper-support and btrfs-assistant.

This will probably remove timeshift but you can always reinstall it again if you want to switch back.

The alternative is to set everything up manually which is a bit of effort.

1 Like

I googled it… nothing instant or instantly straight to it… my fast reading!
This is to remove TimeShift and its snapshots? If so, I will do later or do it manually (hopefully I can)

You mean that

will help me configure snapper and BTRFS Assistant? Remove TimeShift (or has nothing to do with TimeShift?)

snapper-support will auto configure snapper, snap-pac and grub-btrfs for snapper. It will also remove timeshift.

1 Like

this is great…

mmm… maybe I better copy the latest snapshots (system and /home) somewhere in my /home?
Or not really necessary?

 yay -Syyu snapper
yay -S btrfs-assistant


You didn’t install snapper-support.

Also, stop using -Syyu. That puts extra load on the mirrors for no purpose.

I did it by mistake. Second command was just -S
I will install snapper-support now…


(4/5) Updating the desktop file MIME type cache...
(5/5) Performing snapper post snapshots for the following configurations...
==> root: 1
[limo@lenovo ~]$ yay -S snapper-support

During installation I removed TimeShift and timeshift-autosnap
Does it look OK now?
What is that

(5/5) Performing snapper post snapshots for the following configurations...
==> root: 1

What next?

I just did

yay -S ocrmypdf

as it was out of date.
I noticed

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                      [--------------------------] 100%
(1/1) checking package integrity                    [--------------------------] 100%
(1/1) loading package files                         [--------------------------] 100%
(1/1) checking for file conflicts                   [--------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 4
:: Processing package changes...
(1/1) reinstalling ocrmypdf                         [--------------------------] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Checking which packages need to be rebuilt
(3/3) Performing snapper post snapshots for the following configurations...
==> root: 5

So, I can conclude Snapper already took a snapshot of the system? What about my /home?
Should I update Grub? What command… I can’t remember!
What next. I did not reboot yet.

I recommend you to try, test and study Snapper setup, layout and Btrfs-assistant in VM (e.g VirtualBox) first.

You can create a new VM disk 20 GB enough and install Endeavours OS with Btrfs in VM like your system.

VirtualBox supports its own snapshot-feature, you should take a new snapshot of VM after installing Endeavous OS, then you can try Snapper setup, layout and restoring in boot in VM, no matter much what you want to try. If it works, then you can setup it in your system same as in VM.

I am already on BTRFS.
A few days ago I tried VB but I have a problem with my BIOS. Only 32 bit (a bit old laptop 10 yrs - but its 64 bit)
I have installed snapper, BTRFS assistant, so I am enjoying the challenge of testing in my actual machine.

I will now update Grub, just in case then reboot and play with it.

Thank you @Zesko for your advice and care.

I hope @dalto is not busy so he can guide me on what to test. He called for testers for the BTRFS Assistant. This is the main reason I installed snapper and BTRFS Assistant.

1 Like

sudo update-grub

Looks fine to me @limotux

Ahh…this isn’t manjaro or ubuntu…

1 Like

not sudo grub-mkconfig -o /boot/grub/grub.cfg as How To: GRUB-BTRFS Snapshot Booting on Arch Linux Systems - #2 by smokey ?
What is the difference? Just curious?

This is correct.

One works, one returns an error.

Yes it is for manjaro. Oh I do not notice, Endeavous does not have it,

Well… I did it! :tada:
Rebooted and I noticed I have like 5 Sanapper sanapshots and a lot of previous TimeShift snapshots (though it was uninstalled during installing snapper-support

Now I have a few questions just to start:

  • is my /home sanpshotted already? Where? How can I see my files in snapshots?
  • now, what next?

I feel OK now i can boot to an earlier snapshot… just want to be sure about my /home.