Convert snapshots from pre&post

The pre&post type snapshot is two normal snapshots but YaST2-Snapper only shows the differences between two. How to make YaST-Snapper shows them as single type or two normal snapshots as pre&post type?

You can always duplicate any snapshot as a single snapshot.

tw:~ # snapper create -t single --from 380
tw:~ # snapper list
   # β”‚ Type   β”‚ Pre # β”‚ Date                     β”‚ User β”‚ Used Space β”‚ Cleanup β”‚ Description           β”‚ Userdata
─────┼────────┼───────┼──────────────────────────┼──────┼────────────┼─────────┼───────────────────────┼──────────────
...
380  β”‚ pre    β”‚       β”‚ Wed Jul  3 21:02:14 2024 β”‚ root β”‚  16.00 KiB β”‚ number  β”‚                       β”‚
...
384  β”‚ single β”‚       β”‚ Thu Jul  4 11:36:27 2024 β”‚ root β”‚  16.00 KiB β”‚         β”‚                       β”‚
tw:~ # 
1 Like

YaST2-Snapper is a GUI tool so it looks better, I want it have the function like its commandline.

Well, we all have things we want. However, yast2-snapper is a GUI tool which is set up on top of snapper as a frontend. It just doesn’t carry all features the orginal snapper provides. If you want to change that, feel free to contribute. I couldn’t. :wink:

I like Yast2 a lot, but once someone hinted me to Garuda Linux and its implementation, a software called BTRFS Assistant, I want it so badly on openSUSE. Well… can’t get everything, I guess :smiley:

Well, it seems to be available via opi (openSUSE Package Installer):

# opi btrfs-assistant
Searching repos for: btrfs-assistant
1. btrfs-assistant
2. btrfs-assistant-debuginfo
3. btrfs-assistant-debugsource
Pick a number (0 to quit): 1
You have selected package name: btrfs-assistant
1. home:Dead_Mozay !                         | 2.1.1                     | x86_64
2. home:Maddie !                             | 2.1.1                     | x86_64
3. home:MaxxedSUSE !                         | 2.1.1                     | x86_64
4. home:ahjolinna !                          | 2.1.1                     | x86_64
5. home:iDesmI:debian !                      | 1.8                       | x86_64
6. home:iDesmI:more !                        | 1.8                       | x86_64
Pick a number (0 to quit): 0

If you don’t have opi yet, just install it with zypper (or YaST).

With opi, a whole new world opens! :partying_face:

# opi -h
usage: opi [-h] [-v] [-n] [-P] [-m] [query ...]

openSUSE Package Installer
==========================

Search and install almost all packages available for openSUSE and SLE:
  1. openSUSE Build Service
  2. Packman
  3. Popular packages for various vendors

positional arguments:
  query          can be any package name or part of it and will be searched for both at the openSUSE Build Service and Packman.
                 If multiple query arguments are provided only results matching all of them are returned.
                 Please use the -m option if you want to use the query arguments as individual package queries.

options:
  -h, --help     show this help message and exit
  -v, --version  show program's version number and exit
  -n             run in non interactive mode
  -P             don't run any plugins - only search repos, OBS and Packman
  -m             use query args as space separated package queries

Also these queries (provided by plugins) can be used to install packages from various other vendors:
  anydesk           AnyDesk remote access
  atom              Atom Text Editor
  brave             Brave web browser
  chrome            Google Chrome web browser
  codecs            Media Codecs from Packman and official repo
  dotnet            Microsoft .NET framework
  freeoffice        Office suite from SoftMaker (See OSS alternative libreoffice)
  jami              Jami p2p messenger
  maptool           Virtual Tabletop for playing roleplaying games
  megasync          Mega Desktop App
  msedge            Microsoft Edge web browser
  ocenaudio         Audio Editor
  orcaslicer        Slicer and controller for Bambu and other 3D printers
  plex              Plex Media Server (See OSS alternative jellyfin)
  resilio-sync      Decentralized file sync between devices using bittorrent protocol (See OSS alternative syncthing)
  skype             Microsoft Skype
  slack             Slack messenger
  spotify           Listen to music for a monthly fee
  sublime           Editor for code, markup and prose
  teams-for-linux   Unofficial Microsoft Teams for Linux client
  teamviewer        TeamViewer remote access
  vivaldi           Vivaldi web browser
  vscode            Microsoft Visual Studio Code
  vscodium          Visual Studio Codium
  yandex-browser    Yandex web browser
  yandex-disk       Yandex.Disk cloud storage client
  zoom              Zoom Video Conference

Thank you, I don’t know why the package wasn’t found on openSUSE Software with β€œbtrfs” as a keyword. But found it now.

A word of caution using home repositories from the build service and also opi it’s not recommended as it can pull in not only unverified packages but also additional unexpected repositories. Use at your own risk, make sure you have good external backups of your important data….

Thanks for that addition. I actually am leery (cautious) when seeing home repositories in opi and I should have mentioned that in my post.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.