Results 1 to 7 of 7

Thread: 23.10 Snapshot backup issues

  1. #1
    Join Date
    Mar 2016
    Beans
    3

    23.10 Snapshot backup issues

    I tried to use Timeshift for a snapshot backup but when I installed it , it can not find my root partition as it is not in a shape like /@ and /@home

    How to get that ?

    It is Ubuntu 23.10.

    During installation I did manual partitioning :

    ext4 and fat32 for /boot
    / as btrfs (root)
    /home as btrfs
    Or if is easier to setup snapper or btrbk for snapshots , can someone guide me or share some good guide for noobs ? Thanks

  2. #2
    Join Date
    Mar 2016
    Beans
    3

    Re: 23.10 Snapshot backup issues

    Anyone ? Or some other suggestion for a backup ?

  3. #3
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: 23.10 Snapshot backup issues

    Both Timeshift and Snapper use BTRFS snapshots as a means to retain the filesystem's state.
    Because BTRFS snapshots must be stored in the same filesystem which contains the subvolumes they are a snapshot of, snapshots cannot be used as true backups.
    By true backup I mean that the content is stored on a different, independent device. BTRFS filesystems can span multiple hard drives, but that's not a backup solution.

    However, what you can do is use btrfs-send and btrfs-receive to backup the snapshots created by Timeshift or Snapper to a secondary device. Said device would need to have it's own independent BTRFS filesystem.
    You might need to look again, see screenshot
    Attached Images Attached Images
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  4. #4
    Join Date
    Mar 2016
    Beans
    3

    Re: 23.10 Snapshot backup issues

    Hi, thank you for this informations. I know that , at least something. Btrfs snapshots are not real backup, understand that. If something brake on my system where is the same btrfs snapshot, I can not restore it ( for example if it is not readable)
    What I want to achieve with btrfs snapshot, is to easily restore my system to the last working state. Or when i install some app, which is not good , maybe it mess my configs, settings etc and I want my system fully clean of that app.

    For data, from home, I can easily use some gui app like deya dup and transfer to hard drive.

    But what was my main question, how to correct install Ubuntu (partitioning) for Snapper/Timeshift with btrfs support.

    Because I tried it , and Timeshift didnt saw my root btrfs partition.

    Thanks

  5. #5
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: 23.10 Snapshot backup issues

    @1fallen: Smith Synnc

    Well, I found someone who "has" found a way, using 'btrbk'

    RE: Ubuntu man page btrbk
    DESCRIPTION. btrbk is a backup tool for btrfs subvolumes, taking advantage of btrfs specific capabilities to create atomic snapshots and transfer them incrementally to target volumes. It is able to perform backups from one source to multiple destinations.
    I saw where he was looking for a solution for this on StackExchange (https://unix.stackexchange.com/quest...oot-filesystem), then later came up with this solution for himself... he described how he created his on scripts it, and how to uses it in his GitHub: https://github.com/ceremcem/smith-sync
    Last edited by MAFoElffen; October 17th, 2023 at 02:05 AM.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  6. #6
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: 23.10 Snapshot backup issues

    Quote Originally Posted by MAFoElffen View Post
    @1fallen: Smith Synnc

    Well, I found someone who "has" found a way, using 'btrbk'

    RE: Ubuntu man page btrbk

    I saw where he was looking for a solution for this on StackExchange (https://unix.stackexchange.com/quest...oot-filesystem), then later came up with this solution for himself... he described how he created his on scripts it, and how to uses it in his GitHub: https://github.com/ceremcem/smith-sync
    Nice Find, I'm still reading it. Thought provoking.
    And another find: https://www.lorenzobettini.it/2022/1...rfs-in-ubuntu/
    Last edited by 1fallen; October 17th, 2023 at 02:25 AM.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  7. #7
    Join Date
    Apr 2010
    Beans
    2

    Re: 23.10 Snapshot backup issues

    For posterity and a solution to the actual problem: Ubuntu's new Flutter based installer doesn't create the "Ubuntu-style" subvolumes that Timeshift expects. See: https://discourse.ubuntu.com/t/btrfs...nstaller/39614

    In terms of modifying an installed system to have the required subvolumes, the answer for this question on Reddit gives some instructions on how to do that: https://www.reddit.com/r/Gentoo/comm..._subvolume_in/. It's a fairly involved process, however.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •