Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #262026

btrfs snapshots (of root file system)?

From hw <hw@adminart.net>
Newsgroups linux.debian.user
Subject btrfs snapshots (of root file system)?
Date 2023-10-01 02:40 +0200
Message-ID <HjSF3-cGEx-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

btrfs snapshots (of root file system)? hw <hw@adminart.net> - 2023-10-01 02:40 +0200
  Re: btrfs snapshots (of root file system)? debian-user@howorth.org.uk - 2023-10-01 12:00 +0200
    Re: btrfs snapshots (of root file system)? hw <hw@adminart.net> - 2023-10-01 21:30 +0200
  Fwd: btrfs snapshots (of root file system)? Keith Bainbridge <keithrbau@gmail.com> - 2023-10-02 11:40 +0200
  Re: btrfs snapshots (of root file system)? Keith Bainbridge <keithrbau@gmail.com> - 2023-10-02 11:40 +0200
  Re: btrfs snapshots (of root file system)? Anders Andersson <pipatron@gmail.com> - 2023-10-02 21:40 +0200
    Re: btrfs snapshots (of root file system)? hw <hw@adminart.net> - 2023-10-04 21:40 +0200

csiph-web