Re: btrfs snapshots (of root file system)?

2023-10-04 Thread hw
e a snapshot of the root file system so that I could roll back after software updates. Unfortunately, that won't work because there won't be snapshots of the MBR and of the UEFI partition, and using clonezilla to copy the volume didn't seem to be a very idea because it's on hardwar

Re: btrfs snapshots (of root file system)?

2023-10-02 Thread Anders Andersson
ack 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.) Everything in btrfs is a suvolume, including the

Fwd: btrfs snapshots (of root file system)?

2023-10-02 Thread Keith Bainbridge
Try ext4 All the best Keith BAINBRIDGE +61 (0)447 667 468 keithr...@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

Re: btrfs snapshots (of root file system)?

2023-10-02 Thread Keith Bainbridge
; 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

Re: btrfs snapshots (of root file system)?

2023-10-01 Thread hw
> > > > 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 Z

Re: btrfs snapshots (of root file system)?

2023-10-01 Thread debian-user
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? H

btrfs snapshots (of root file system)?

2023-09-30 Thread hw
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

btrfs: snapshots of directories?

2022-11-19 Thread hw
Hi, I want to make a snapshot of a directory which resides on a btrfs file system. So I was reading this guide: https://www.linux.com/training-tutorials/how-create-and-manage-btrfs-snapshots-and-rollbacks-linux-part-2/ IIUC it requires that what you want to make a snapshot of must be a

Re: Explaining snapshots (for backup)

2022-11-16 Thread Curt
On 2022-11-16, David Christensen wrote: > > Of course, a reverse operation is desirable -- e.g. "restore". Very, very desirable.

Re: Explaining snapshots (for backup)

2022-11-15 Thread David Christensen
On 11/15/22 10:32, to...@tuxteam.de wrote: [1] https://btrfs.wiki.kernel.org/images-btrfs/6/68/Btree_TOS.pdf Thank you for the link. Thank you IBM for making that paper public (and not behind a pay wall). David

Re: Explaining snapshots (for backup)

2022-11-15 Thread David Christensen
suppose it wouild be possible to do something like this at a block level, that is copying only blocks of a file which have changed. (Not sure which commands might help me do that, but I don't think I'd really be interested in doing that.) I also hear (i.e., read) statements from which

Re: Explaining snapshots (for backup)

2022-11-15 Thread tomas
ut I now see the explanation > that filesystems that can do snapshots are COW and now things make sense. The underlying mechanism for all that is, most of the time, some variant of a B-tree, where you just build up a modified B-tree up from the leaves up to the root. The new root is just the ne

Re: Explaining snapshots (for backup)

2022-11-15 Thread Dan Ritter
pa...@quillandmouse.com wrote: > On Tue, 15 Nov 2022 09:40:11 -0500 > Dan Ritter wrote: > > > rhkra...@gmail.com wrote: > > > I'm not really clear on the concept of a snapshot (for backup) -- > > > I've done a little googling but haven't found an explanation that > > > "satisfies" me. > > > >

Re: Explaining snapshots (for backup)

2022-11-15 Thread debian-user
vering the state of a system. > > Let's assume, as the OP says, you do an original full backup. A > snapshot ought to record either the contents of all the files which > have changed, or record the delta of each file which has changed. > Thus, you'd be able to recover a fil

Re: Explaining snapshots (for backup)

2022-11-15 Thread Joe
I don't think I'd > really be interested in doing that.) > > I also hear (i.e., read) statements from which I infer that some > snapshots included only the metadata of the files (or blocks???), but > I'm not sure of the value of either of those to me -- how can you >

Re: Explaining snapshots (for backup)

2022-11-15 Thread rhkramer
Intentionally top-posting; Thanks to all who replied, I think I have a pretty good understanding and I think the biggest thing I was missing was how a file could be reconstructed using only the metadata, but I now see the explanation that filesystems that can do snapshots are COW and now

Re: Explaining snapshots (for backup)

2022-11-15 Thread Thomas Schmitt
sired, then the affected old block loses its active job to a copy which is created in a previously unused block. The write operation then happens on the new block, while the old block remains valid only in the snapshot. > I also hear (i.e., read) statements from which I infer that some snapshots &

Re: Explaining snapshots (for backup)

2022-11-15 Thread paulf
On Tue, 15 Nov 2022 09:40:11 -0500 Dan Ritter wrote: > rhkra...@gmail.com wrote: > > I'm not really clear on the concept of a snapshot (for backup) -- > > I've done a little googling but haven't found an explanation that > > "satisfies" me. > > > > Starting from a beginning, I suppose I could c

Re: Explaining snapshots (for backup)

2022-11-15 Thread Dan Ritter
rhkra...@gmail.com wrote: > I'm not really clear on the concept of a snapshot (for backup) -- I've done a > little googling but haven't found an explanation that "satisfies" me. > > Starting from a beginning, I suppose I could copy the entire contents of > whatever I wanted to make a snapshot o

Re: Explaining snapshots (for backup)

2022-11-15 Thread DdB
Am 15.11.2022 um 15:27 schrieb rhkra...@gmail.com: > I'm not really clear on the concept of a snapshot (for backup) -- I've done a > little googling but haven't found an explanation that "satisfies" me. I am familiar with snapshots on zfs. There might be different

Explaining snapshots (for backup)

2022-11-15 Thread rhkramer
omething like this at a block level, that is copying only blocks of a file which have changed. (Not sure which commands might help me do that, but I don't think I'd really be interested in doing that.) I also hear (i.e., read) statements from which I infer that some snapshots inclu

Re: Debian Buster: Is it safe to use on autodefrag on a Btrfs filesystem that is used for (Restic) backup only with no Btrfs snapshots or subvolumes?

2019-07-31 Thread Judah Richardson
This. From the Btfrs Gotchas page: Files with a lot of random writes can become heavily fragmented (1+ > extents) causing thrashing on HDDs and excessive multi-second spikes of CPU > load on systems with an SSD or large amount a RAM. > >- On servers and workstations this affects databases

Re: Debian Buster: Is it safe to use on autodefrag on a Btrfs filesystem that is used for (Restic) backup only with no Btrfs snapshots or subvolumes?

2019-07-31 Thread Mart van de Wege
Stefan Monnier writes: >> Is it safe to use autodefrag for my use case? > > It sounds like it might be "safe" (the text doesn't actually say it's > unsafe, but just that it has downsides). > > I do wonder why you'd want to do that, tho. Fragmentation is typically > something that clueless Window

upgrade from stretch to buster killed my KVM snapshots

2019-07-29 Thread Gary Dale
Apparently internal snapshots of a qcow2-based vm are problematic when the vm boots from UEFI. I found that out when my nightly snapshots stopped working after I upgraded a server from stretch to buster. Testing the effective line of the script with actual values, I got this result

Re: Debian Buster: Is it safe to use on autodefrag on a Btrfs filesystem that is used for (Restic) backup only with no Btrfs snapshots or subvolumes?

2019-07-29 Thread Stefan Monnier
> Btrfs is not my thing, but I looked at the reference that was posted, > and the Gotchas referred to within, and they mention log files having > tens of thousands of extents. Doesn't sound very good. Maybe it doesn't sound very good, but except for very specific circumstances, it makes no visible

Re: Debian Buster: Is it safe to use on autodefrag on a Btrfs filesystem that is used for (Restic) backup only with no Btrfs snapshots or subvolumes?

2019-07-29 Thread David Wright
On Mon 29 Jul 2019 at 14:07:25 (-0400), Stefan Monnier wrote: > > Is it safe to use autodefrag for my use case? > > It sounds like it might be "safe" (the text doesn't actually say it's > unsafe, but just that it has downsides). > > I do wonder why you'd want to do that, tho. Fragmentation is ty

Re: Debian Buster: Is it safe to use on autodefrag on a Btrfs filesystem that is used for (Restic) backup only with no Btrfs snapshots or subvolumes?

2019-07-29 Thread Stefan Monnier
> Is it safe to use autodefrag for my use case? It sounds like it might be "safe" (the text doesn't actually say it's unsafe, but just that it has downsides). I do wonder why you'd want to do that, tho. Fragmentation is typically something that clueless Windows users worry about (a left over fro

Debian Buster: Is it safe to use on autodefrag on a Btrfs filesystem that is used for (Restic) backup only with no Btrfs snapshots or subvolumes?

2019-07-29 Thread Judah Richardson
single subvolume, no Btrfs snapshots *Goal:* To store rotating snapshots of some folders in /home/MyUsername/ (located on SSD) on the Btrfs filesystem located on the 2 HDDs. I've chosen Restic <https://restic.net/> for this since rsnapshot's developer switched to Borg and Borg does

Re: LVM setup with snapshots

2018-05-12 Thread Eduardo M KALINOWSKI
On 11-05-2018 21:46, Forest Dean Feighner wrote: > I really didn't prepare for lvm. I never used lvm before this so had > no idea of lvm before. > > Snapshots sound like an awesome idea. > > I would like to do a configured base install, create a snapshot, and > m

Re: LVM setup with snapshots

2018-05-11 Thread Forest Dean Feighner
I really didn't prepare for lvm. I never used lvm before this so had no idea of lvm before. Snapshots sound like an awesome idea. I would like to do a configured base install, create a snapshot, and modify (fork), the base for different things. With 20/20 hindsight. The default doesn'

Re: LVM setup with snapshots

2018-05-11 Thread Forest Dean Feighner
On Fri, May 11, 2018 at 8:15 AM, Greg Wooledge wrote: > On Fri, May 11, 2018 at 09:20:32AM +0200, Pascal Hambourg wrote: > > > To me, it seems me the partition is too large to to reduce for > snapshots. > > > > What do you mean ? > > Did you allocate all the av

Re: LVM setup with snapshots

2018-05-11 Thread Greg Wooledge
On Fri, May 11, 2018 at 09:20:32AM +0200, Pascal Hambourg wrote: > > To me, it seems me the partition is too large to to reduce for snapshots. > > What do you mean ? > Did you allocate all the available space in the volume group to the logical > volumes ? Creating snapshots req

Re: LVM setup with snapshots

2018-05-11 Thread Pascal Hambourg
wi-ao 463.52g swap_1 build-vg -wi-ao 2.00g I used the default stretch of an lvm partition with the gnome. To me, it seems me the partition is too large to to reduce for snapshots. What do you mean ? Did you allocate all the available space in the volume group to the logical vo

LVM setup with snapshots

2018-05-10 Thread Forest Dean Feighner
s too large to to reduce for snapshots. I'm prolly not 'getting' lvm yet. What would be a good layout for a stretch install doing lvm snapshots? Thanks Forest "I've bin kinda lazy lately'

Re: any mirror/site where I can download Emacs snapshots?

2015-10-26 Thread Sivaram Neelakantan
On Mon, Oct 26 2015,Teemu Likonen wrote: > Sivaram Neelakantan [2015-10-27 00:04:44+05:30] wrote: > >> I don't want to clone the whole repository, would a shallow clone also >> work? > > You can use "git clone --depth 1" to get just the latest revision. Most > of the space is taken by the files, t

Re: any mirror/site where I can download Emacs snapshots?

2015-10-26 Thread Teemu Likonen
Sivaram Neelakantan [2015-10-27 00:04:44+05:30] wrote: > I don't want to clone the whole repository, would a shallow clone also > work? You can use "git clone --depth 1" to get just the latest revision. Most of the space is taken by the files, though, not the history. Depth-1 clone takes 178 MB a

Re: any mirror/site where I can download Emacs snapshots?

2015-10-26 Thread Sivaram Neelakantan
On Sun, Oct 25 2015,Teemu Likonen wrote: > Sivaram Neelakantan [2015-10-25 20:00:35+05:30] wrote: > >> Else I'll have to build from scratch I guess. > > That's a good choice and nothing to be afraid of. In Debian 8 it would > go like this: > > > sudo apt-get install git build-essential libgtk2

Re: any mirror/site where I can download Emacs snapshots?

2015-10-25 Thread Mario Castelán Castro
El 25/10/15 a las 08:30, Sivaram Neelakantan escribió: I'm running debian test and I'd like to use the latest Emacs snapshots if anyone has built them at all. Is there a canonical website where I can get deb packages of the same, please? Else I'll have to build from scratch I

Re: any mirror/site where I can download Emacs snapshots?

2015-10-25 Thread Zorian M
checkinstall would be a good idea if you want to be able to remove/upgrade the program. https://wiki.debian.org/CheckInstall On 10/25/15, Teemu Likonen wrote: > Sivaram Neelakantan [2015-10-25 20:00:35+05:30] wrote: > >> Else I'll have to build from scratch I guess. > > That's a good choice and

Re: any mirror/site where I can download Emacs snapshots?

2015-10-25 Thread Teemu Likonen
Sivaram Neelakantan [2015-10-25 20:00:35+05:30] wrote: > Else I'll have to build from scratch I guess. That's a good choice and nothing to be afraid of. In Debian 8 it would go like this: sudo apt-get install git build-essential libgtk2.0-dev \ libgnutls28-dev libfontconfig1-dev lib

any mirror/site where I can download Emacs snapshots?

2015-10-25 Thread Sivaram Neelakantan
I'm running debian test and I'd like to use the latest Emacs snapshots if anyone has built them at all. Is there a canonical website where I can get deb packages of the same, please? Else I'll have to build from scratch I guess. sivaram --

snapshots

2011-04-14 Thread Steve Kleene
y way to take and restore such snapshots from the Linux host? It sure would be useful. Thanks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/loom.20110414t154015...@post.gmane.org

backing up with rsnapshot and LVM snapshots

2010-03-04 Thread Celejar
Hi, I've been backing up using rsnapshot directly on my running system. I recently decided to begin doing this properly, and to use LVM's snapshot facility, so I wrote a basic, simple script to encapsulate the rsnapshot call with LVM snapshot creation, mounting, umounting, and removal: #! /bin/s

Re: LVM snapshots are not backups (was: Re: Virtualization - what do You recommend?)

2010-02-04 Thread Andrew Malcolmson
I believe the point of the LVM Snapshot is to make an unchanging version of your LV that can be backed up without risk of changes occurring to the volume during the backup process. You still have to do the actual backup as usual. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org

Re: LVM snapshots are not backups (was: Re: Virtualization - what do You recommend?)

2010-02-04 Thread Jon Dowland
On Tue, Feb 02, 2010 at 09:32:17AM -0600, Boyd Stephen Smith Jr. wrote: > In <20100202135559.ga5...@ra.ncl.ac.uk>, Jon Dowland wrote: > You backups should be protection against at least: (a) user error, (b) normal > hardware failure, and (c) disaster. I find the website

LVM snapshots are not backups (was: Re: Virtualization - what do You recommend?)

2010-02-02 Thread Boyd Stephen Smith Jr.
In <20100202135559.ga5...@ra.ncl.ac.uk>, Jon Dowland wrote: >On Tue, Feb 02, 2010 at 12:19:49PM +0100, Rafał Radecki >wrote: >> I plan to install Windows 2008 as a guest. I want to use >> something like LVM snapshots for backups. > >Just to pick up on this point, I

merging LVM snapshots back to origin

2009-12-10 Thread Γιώργος Πάλλας
Does anybody know the status of this wish item? For the time being, on a squeeze server, I see that lvconvert can only convert a linear volume to a snapshot and not vice versa. G. smime.p7s Description: S/MIME Cryptographic Signature

Re: slow backup using lvm snapshots and tar

2009-11-05 Thread Berni Elbourn
Israel Garcia wrote: Hi list: I'm using this command to create s snapshot of every LV's server, mount the LV, make a TGZ to a shared folder (NFS), then umount LV image and remove snapshot LV. The problem is tar backup is extremely slow (it takes 3 hours to make backup of all servers). This is

Re: slow backup using lvm snapshots and tar

2009-11-05 Thread Tony Nelson
On 09-11-05 01:18:48, Israel Garcia wrote: > Hi list: > > I'm using this command to create s snapshot of every LV's server, > mount the LV, make a TGZ to a shared folder (NFS), then umount LV > image and remove snapshot LV. The problem is tar backup is extremely > slow (it takes 3 hours to make b

Re: Purchase weekly snapshots of testing on DVDs?

2008-11-27 Thread Douglas A. Tutty
On Thu, Nov 27, 2008 at 08:30:01AM -0700, Rick Morneau wrote: > I live in a rural area and have a dialup connection, so it's > not practical for me to download the weekly iso files for > testing. Does anyone know where I can buy a reasonably > recent copy on DVDs? From that point on I can upgrade

Purchase weekly snapshots of testing on DVDs?

2008-11-27 Thread Rick Morneau
I live in a rural area and have a dialup connection, so it's not practical for me to download the weekly iso files for testing. Does anyone know where I can buy a reasonably recent copy on DVDs? From that point on I can upgrade via my dialup connection. I suppose I could wait until lenny become

Re: Best way to find a version in snapshots depending on existing install

2007-05-04 Thread nicholas
David Goodenough said: I could simple download each version in turn from snapshots and try it, but that might be time consuming. Is there a way of forming a question to snapshots which would tell me which to install? Alternatively is there an easy way to list the dependencies of each version

Re: Best way to find a version in snapshots depending on existing install

2007-05-02 Thread Karl E. Jorgensen
not currently an option so I > want to try to do it using the existing packages. > > I could simple download each version in turn from snapshots and try it, but > that might be time consuming. Is there a way of forming a question to > snapshots which would tell me which to install?

Best way to find a version in snapshots depending on existing install

2007-05-02 Thread David Goodenough
option so I want to try to do it using the existing packages. I could simple download each version in turn from snapshots and try it, but that might be time consuming. Is there a way of forming a question to snapshots which would tell me which to install? Alternatively is there an easy way to list

Re: [Woody] Mounting LVM-snapshots with ext3 + ACL + user_xattr-Patch

2004-01-05 Thread Toens Bueker
Paul Morgan <[EMAIL PROTECTED]> wrote: > This is a well known issue. lvm snapshots don't work in the 2.4 > kernel series. The reason is that ext3 needs to lock and flush the > ext3 journal *before* taking the snapshot. Does that imply, that lvm snapshots should work with 2.6

RE: [Woody] Mounting LVM-snapshots with ext3 + ACL + user_xattr-P atch

2004-01-05 Thread Oliver Schade
Hi Toens, > -Original Message- > From: Toens Bueker [mailto:[EMAIL PROTECTED] > Sent: Monday, January 05, 2004 6:58 PM > To: [EMAIL PROTECTED] > Subject: Re: [Woody] Mounting LVM-snapshots with ext3 + ACL + > user_xattr-Patch > > For XFS the LVM-Howto sugges

Re: [Woody] Mounting LVM-snapshots with ext3 + ACL + user_xattr-Patch

2004-01-05 Thread Paul Morgan
58, 9 Jan 5 15:20 /dev/RAID5/TEMP1500 > > However, mounting this snapshot fails: > > fsb01:~# mount -o ro /dev/RAID5/TEMP1500 /mnt/berlin/Snapshots/TEMP > mount: wrong fs type, bad option, bad superblock on /dev/RAID5/TEMP1500, >or too many mounted file systems >

Re: [Woody] Mounting LVM-snapshots with ext3 + ACL + user_xattr-Patch

2004-01-05 Thread Toens Bueker
Oliver Schade <[EMAIL PROTECTED]> wrote: > However, mounting this snapshot fails: > > fsb01:~# mount -o ro /dev/RAID5/TEMP1500 /mnt/berlin/Snapshots/TEMP > mount: wrong fs type, bad option, bad superblock on /dev/RAID5/TEMP1500, >or too many mounted file systems

[Woody] Mounting LVM-snapshots with ext3 + ACL + user_xattr-Patch

2004-01-05 Thread Oliver Schade
eated The special device has been successfully created: fsb01:~# ls -la /dev/RAID5/TEMP1500 brw-rw1 root disk 58, 9 Jan 5 15:20 /dev/RAID5/TEMP1500 However, mounting this snapshot fails: fsb01:~# mount -o ro /dev/RAID5/TEMP1500 /mnt/berlin/Snapshots/TEMP mount: wrong fs type,

Re: snapshots

2003-07-18 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jul 17, 2003 at 12:15:55AM +0100, Antony Gelberg wrote: > Any deb packages out there that will enable me to take a screenshot? I > don't have kde, and don't fancy installing kdelibs just to use > ksnapshot. And xv doesn't appear to be package

Re: snapshots

2003-07-17 Thread Javier Kohen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shawn Lamson wrote: | On Wed, July 16 at 11:27 PM EDT | Tim <[EMAIL PROTECTED]> wrote: | | |>>Any deb packages out there that will enable me to take a screenshot? |> |>I> don't have kde, and don't fancy installing kdelibs just to use |> |>>ksnapshot. A

Re: snapshots

2003-07-16 Thread Jeremy Brooks
> > >> Any deb packages out there that will enable me to take a screenshot? > >I> don't have kde, and don't fancy installing kdelibs just to use > >> ksnapshot. And xv doesn't appear to be packaged, which I assume is a > >> licencing issue. > >> > >> Antony > >> > >> > > > >GIMP-->File-->Acqu

Re: snapshots

2003-07-16 Thread Shawn Lamson
On Wed, July 16 at 11:27 PM EDT Tim <[EMAIL PROTECTED]> wrote: >> Any deb packages out there that will enable me to take a screenshot? >I> don't have kde, and don't fancy installing kdelibs just to use >> ksnapshot. And xv doesn't appear to be packaged, which I assume is a >> licencing issue. >>

Re: snapshots

2003-07-16 Thread Jeremy Brooks
> > Any deb packages out there that will enable me to take a screenshot? I > don't have kde, and don't fancy installing kdelibs just to use > ksnapshot. And xv doesn't appear to be packaged, which I assume is a > licencing issue. If you have the gimp installed, just click File/Acquire/Screen S

Re: snapshots

2003-07-16 Thread Antony Gelberg
On Wed, Jul 16, 2003 at 11:27:20PM +0100, Tim wrote: > Antony Gelberg wrote: > >Hi all, > > > >My migration is complete! I'm now using Debian for everything possible, > >and my Windows development has been relegated to a bare-bones standalone > >box! :D > > > >Any deb packages out there that will

Re: snapshots

2003-07-16 Thread Mark Ferlatte
Antony Gelberg said on Thu, Jul 17, 2003 at 12:15:55AM +0100: > Hi all, > > My migration is complete! I'm now using Debian for everything possible, > and my Windows development has been relegated to a bare-bones standalone > box! :D > > Any deb packages out there that will enable me to take a s

Re: snapshots

2003-07-16 Thread Tim
Antony Gelberg wrote: Hi all, My migration is complete! I'm now using Debian for everything possible, and my Windows development has been relegated to a bare-bones standalone box! :D Any deb packages out there that will enable me to take a screenshot? I don't have kde, and don't fancy installin

snapshots

2003-07-16 Thread Antony Gelberg
Hi all, My migration is complete! I'm now using Debian for everything possible, and my Windows development has been relegated to a bare-bones standalone box! :D Any deb packages out there that will enable me to take a screenshot? I don't have kde, and don't fancy installing kdelibs just to use