As I messed up the Latte Panel in the KDE desktop and cannot find out how to get the Garuda Latte layout back, I wanted to try and restore a snapshot from before the mess up. I followed the guide on the wiki.
After this, when I login to the desktop, a window pops up saying:
Admin Access Required
Admin access is required to backup and restore system files.
Please re-run the application as admin (using ‘sudo’ or ‘su’)
I’m not sure where this message comes from nor what I can do about it.
I’m also not sure whether a snapshot restore will revert to an earlier version of the Latte panel, as this is probably saved in the home directory?
Well you can set timeshift to backup your @home, but that is not a good idea for most people. If you use your home for storage of documents or music, videos the new stuff will be lost when you restore to an older date. Say you were working on a big project that you put a ton of effort into, all your work since your last snapshot would be lost.
That would upset many people, as well as potentially increasing the size of your snapshots by a vast amount (depending on what you store @home).
I actually do backup my home because I store very little there. My documents, music and videos are all stored on multiple external platter drives for an extra margin of safety.
Timeshift also has a setting to backup your dot (.) files in @home. This backs up your configuration files in your home directory and that is probably what you'd want to use with timeshift.
This of course is a double edged sword because if you messed a program configuration up and want it back as before that's great. However, say you had a bad update and your only choice was to roll back your system. Now you will lose all your configuration changes since your last snapshot.
The moral of the story is snapshots are not a replacement for a proper backup regimen. Most users never do proper backups until after they've experience a catastrophic data loss. Don't be "that" guy, get a proper backup strategy in place before you live to regret it.
(Edit)
I hope you don't mind too much, but I edited your title. It was not a "failure" on timeshift's part, it was an issue with your misunderstanding how the program actually works.
I fully understand the backup strategy outlined by you, using timeshift.
My documents, pictures & Videos are backed up from pc to a NAS and from there to a cloud service. All good, no need to include @home in the snapshots.
Your discourse however still does not explain the original Admin Access Required error message.
I'm not willingly trying to access folders outside my permissions as per the procedure described in the garuda wiki, i presume
Can you elaborate on this maybe?
Check your current autostarting applications, mainly in ~/.config/autostart, or use kde settings utility. Also, verify you (your user account) are still in the wheel group, as you may have restored a snap version, where system files were not including the proper user groups (/etc/group).
If this is a bug, we should trace it, so it is fixed.
❯ id
uid=1000(eljejer) gid=1000(eljejer) groups=1000(eljejer),3(sys),90(network),98(power),976(plugdev),977(jottad),986(video),991(lp),993(input),995(audio),998(wheel),1001(odroid),1002(media)
Just now, I initiated a snapshot restore and get this “Admin access is required…” again.
I cannot find out where this message originates.
Please advise.
The error message appears in a window on the desktop, so when you ask me where the message appears, in grub, terminal or in timeshift gui, I cannot answer this
update-grub will not delete the 'Before restoring snapshot...' I presume?
I have experienced before that this ' Before restoring snapshot...' is automatically deleted after a successful restore. So when will this be deleted then?
sudo timeshift --list
[sudo] Passwort für sgs:
/dev/sda2 is mounted at: /run/timeshift/backup, options: rw,relatime,compress=zstd:3,ssd,space_cache,autodefrag,commit=120,subvolid=5,subvol=/
Device : /dev/sda2
UUID : 4aed908c-1db5-4744-b4f7-928ea01e5bed
Path : /run/timeshift/backup
Mode : BTRFS
Status : OK
6 snapshots, 181.3 GB free
Num Name Tags Description
------------------------------------------------------------------------------
0 > 2020-10-08_11-45-35 O Before restoring '2020-10-08 11:34:12'
1 > 2020-10-21_12-50-27 O {timeshift-autosnap} {created before upgrade}
2 > 2020-10-21_23-06-11 O {timeshift-autosnap} {created before upgrade}
3 > 2020-10-22_10-18-14 O {timeshift-autosnap} {created before upgrade}
4 > 2020-10-22_23-51-52 O {timeshift-autosnap} {created before upgrade}
5 > 2020-10-23_13-39-52 O {timeshift-autosnap} {created before upgrade}
If I start timeshift GUI I will ask for password.
That seems the problem for you.
With me, when I start the timeshift gui, in my case from krunner, I will be asked for the root password as well.
Anyway, here is the terminal output of timeshift-launcher