Bug 26836 - Automatic snapshots
Summary: Automatic snapshots
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL: https://en.opensuse.org/Portal:Snapper
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-20 13:24 CEST by Morgan Leijström
Modified: 2023-04-22 21:04 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Morgan Leijström 2020-06-20 13:24:00 CEST
It would be great if automatic snapshots could be selected at install
(or later), like in Suse, for supported configurations, in diskdrake and installer.

Snapshots each x hours, x days, x month... plus before and after package updates.  Like in Suse.
 
This would help
§ Returning systems after havocs caused by failures by hardware, software or operator ;-)
§ QA testing


Also see:
Bug 26835 - GUI for snapper, for managing filesystem snapshots
Bug 21319 - Packagekit and plasma-pk-updates on btrfs don't create snapshots with snapper
Bug 26834 - snapper update
Comment 1 Morgan Leijström 2020-06-20 13:26:58 CEST
Really the integration is into diskdrake, and also used by installer i presume.

Assignee: bugsquad => mageiatools

Comment 2 Morgan Leijström 2020-06-20 13:57:52 CEST
I also read it have an addon for grub2, so an old snapshot can be booted if the current do not.
Comment 3 Neal Gompa 2020-07-11 16:29:39 CEST
This requires a fair bit of work, and would likely necessitate a new manatool to provide the interface for this.

From the GRUB perspective, if we're already pulling the patch set from Fedora, we should at least have basic functionality there, and would more or less need to automate the setup process as described here[1].

There's also some work that has to be done to migrate the snapper plugin to libdnf (so that PackageKit uses it automatically), which should be pretty easy but hasn't been done yet.

[1]: https://dustymabe.com/2019/12/29/fedora-btrfs-snapper-the-fedora-31-edition/

CC: (none) => anaselli, ngompa13

Comment 4 Nikolay Sabelnikov 2023-04-22 21:04:52 CEST
(In reply to Morgan Leijström from comment #0)
> It would be great if automatic snapshots could be selected at install
> (or later), like in Suse, for supported configurations, in diskdrake and
> installer.
> 
> Snapshots each x hours, x days, x month... plus before and after package
> updates.  Like in Suse.
>  
> This would help
> § Returning systems after havocs caused by failures by hardware, software or
> operator ;-)
> § QA testing
> 
> 
> Also see:
> Bug 26835 - GUI for snapper, for managing filesystem snapshots
> Bug 21319 - Packagekit and plasma-pk-updates on btrfs don't create snapshots
> with snapper
> Bug 26834 - snapper update

I once created a package from a single source. This is called grub-btrfs. This helps to load the snapshot from the grub menu.

https://github.com/Antynea/grub-btrfs

CC: (none) => 79625490833


Note You need to log in before you can comment on or make changes to this bug.