Path: csiph.com!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Keith Bainbridge Newsgroups: linux.debian.user Subject: Fwd: btrfs snapshots (of root file system)? Date: Mon, 02 Oct 2023 11:40:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-user-request@lists.debian.org Mon Oct 2 09:33:33 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-4.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, GMAIL=1, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-yb1-xb35.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 X-Gm-Message-State: AOJu0YzBRMDGD0S3bwhReKfGMZ20qjdTqJAhUJZ9KIO48UDVOLIYQour 0sc/n898AvbXTIRC+sQyQMuR/I3kDLQqjz6uXczz05CcCcE= X-Google-SMTP-Source: AGHT+IGeFQ/0uEqFHhpVLJZvfpsmWfppXKsRpfM1XKST5wF7cIGUlKeFTdbaZvnrUMwoAc0w1VfDIhe1GmlRsur95bw= X-Received: by 2002:a25:4ec5:0:b0:d2c:32cb:c631 with SMTP id c188-20020a254ec5000000b00d2c32cbc631mr9325760ybb.27.1696239190652; Mon, 02 Oct 2023 02:33:10 -0700 (PDT) MIME-Version: 1.0 Reply-To: keithrbau@gmail.com Content-Type: multipart/alternative; boundary="00000000000069be130606b8765b" X-Mailing-List: archive/latest/803754 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CANLvssO=Zqsao5AtQC39asj2d1s+Cx5+1t-UAGBxQqxjC+G_NQ@mail.gmail.com Approved: robomod@news.nic.it Lines: 114 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 2 Oct 2023 20:32:59 +1100 X-Original-Message-ID: X-Original-References: <8eae6f3c0ec0060c6456f53e11ceeed8a9258ed5.camel@adminart.net> Xref: csiph.com linux.debian.user:262085 --00000000000069be130606b8765b Content-Type: text/plain; charset="UTF-8" Try ext4 All the best Keith BAINBRIDGE +61 (0)447 667 468 keithrbau@gmail.com UTC + 10 >From my Apad ---------- Forwarded message --------- From: Keith Bainbridge Date: Mon, 2 Oct 2023, 20:32 Subject: Re: btrfs snapshots (of root file system)? To: debian-user@lists.debian.org I use timeshift for this. It claims to use btrfs as an option. I've only used rsync on extra, and that has saved my bacon a few times All the best Keith BAINBRIDGE +61 (0)447 667 468 keithrbau@gmail.com UTC + 10 >From my Apad On Sun, 1 Oct 2023, 15:10 hw, wrote: > Hi, > > with btrfs, how do I make a snapshot of the root file system? The > purpose is to update software and being able to go back to a previous > state if necessary. > > There doesn't seem to be a command to create snapshots but only > subvolumes? How does a subvolume turn into a snapshot? (The root > file system is, of course, not on a subvolume.) > > How do I merge snapshots? IIRC, when you remove a ZFS snapshot, the > older state is merged to the state the snapshot is in. Apparently > btrfs can only delete snapshots --- and it seems like a bad idea to > delete the root file system. How would I boot from it when it's been > deleted? > > Can I make a snapshot on a different volume? The manpage doesn't say > that the destination of a subvolume must be on the same volume, and in > any case, I should be able to do that. > > --00000000000069be130606b8765b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Try ext4=C2=A0

All the best

Keith BAINBRIDGE

+61 (0)447 667 468
keithrbau@gmail.com

UTC + 10=

From my Apad

---------- Forwarded message ---------
From: = Keith Bainbridge <= span dir=3D"auto"><keithrbau@gmai= l.com>
Date: Mon, 2 Oct 2023, 20:32
Subject: Re: btrfs = snapshots (of root file system)?
To: debian-user@lists.debian.org <debian-user@lists.debian.org>

I use timeshift for this. It claims to use btrfs a= s an option. I've only used rsync on extra, and that has saved my bacon= a few times

All the best
Keith BAINBRIDGE

+61 (0)447 667 468
= keithrbau@gmail.com

UTC + 10

From my Apad

On Sun, 1 Oct 2= 023, 15:10 hw, <hw@adminart.net> wrote:
Hi,

with btrfs, how do I make a snapshot of the root file system?=C2=A0 The
purpose is to update software and being able to go back to a previous
state if necessary.

There doesn't seem to be a command to create snapshots but only
subvolumes?=C2=A0 How does a subvolume turn into a snapshot?=C2=A0 (The roo= t
file system is, of course, not on a subvolume.)

How do I merge snapshots?=C2=A0 IIRC, when you remove a ZFS snapshot, the older state is merged to the state the snapshot is in.=C2=A0 Apparently
btrfs can only delete snapshots --- and it seems like a bad idea to
delete the root file system.=C2=A0 How would I boot from it when it's b= een
deleted?

Can I make a snapshot on a different volume?=C2=A0 The manpage doesn't = say
that the destination of a subvolume must be on the same volume, and in
any case, I should be able to do that.

--00000000000069be130606b8765b--