Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [snapshot]

The tag has no usage guidance.

0
votes
0answers
10 views

Upgrade Ubuntu without btrfs snapshot

On every do-release-upgrade Ubuntu does a btrfs snapshot. What sounds like a good idea is quite annoying if you don't have enough disk space. The update requires the same amount of space as currently ...
2
votes
1answer
21 views

Restore single files from a btrfs snapshot without doing a full copy

Background I maintain a series of hourly snapshots on my btrfs filesystem using btrbk. The subvolume and snapshots are stored like this (names shortened to make it easier to follow): /@vol ...
0
votes
0answers
30 views

snapshot in linux

Does creating a snapshot by Snapper in Linux also back up the kernel? If the server crashes after updates I have the option to do recovery in recovery mode when a server crashed ?
0
votes
0answers
35 views

Block systemd-udevd from probing volume snapshot

We have a driver which creates volume snapshot. However, on RHEL 7.2 systemd-udevd is crashing RANDOMLY after removing the snapshot device, say /dev/volsnap001. The crash dump says: unable to ...
1
vote
1answer
35 views

Difference in openjdk-6, openjdk-7, and openjdk-8 in terms of SLOC count?

I'm calculating SLOC (Source Lines of Code) count of some of the packages for my research purposes. I'm downloading source of packages for different years from Debian snapshots. For most of the ...
0
votes
1answer
38 views

Zfs send snapshot to different server with different layout

So i am eother missing this use case, or its never come up, or it works fine and i havent treid it yet. But i have two servers, and i want one to be the backup server of main server. I moved disks ...
2
votes
2answers
57 views

Source of Debian packages older than 2005

I want to download packages for years 2000, 2001, 2002, 2003 and 2004 but Debian snapshots are maintained from March 2005 only. How can I get the source of packages before 2005?
0
votes
0answers
22 views

Best recovery options from snapshot

I have a situation where I started the deletion of a valid NetApp qtree (don't ask) containing 18TB of user files. The job was stopped, but after the system had about 5 minutes of deleting data. I'...
1
vote
1answer
55 views

How to keep my system clean?

When I work on a project I often need to install a bunch of packages and libraries/tools. Often these packages create logs files and other kind of useless files that I will not need when the project ...
-1
votes
1answer
114 views

How do I avoid booting into BusyBox when reverting from LVM snapshot?

I'm developing on-premise migration flow based on Ubuntu 14.04. The steps are: taking snapshot of / using LVM (/sbin/lvcreate -s -n ...) executing migration scripts on success committing the ...
0
votes
0answers
275 views

CentOS fs (or folder) snapshot without LVM

I do not have an LVM volume in my CentOS7 setup, since RAID1 on XFS with LVM on top = possibly sub-optimal performance (as stated here, have a look at Andres719's comment) However, I want to take a ...
2
votes
1answer
686 views

How to configure AppArmor so that KVM can start guest that has a backing file chain

I'm playing around with using Qemu external snapshots for KVM (because they are so fast!) on Ubuntu 16.04 and have the following setup: All files for the VM are within a single directory (named after ...
0
votes
0answers
19 views

how to move a file from btrfs snapshot to the top-volume?

I accidenally deleleted a large file but thanks to btrfs CoW feature, the copy of my file is keeping in the snapshot subvolume, thus I try the recovering from it. I set the btrfs snapshot writable (...
0
votes
1answer
120 views

Doesn't the existence of LVM snapshots slows down writing a file system wich doesn't support them natively?

As far as understand snapshots in LVM (please, do correct me if I'm wrong): since they are not persistent and work even with a file system which doesn't itself support snapshots => I suppose it must ...
0
votes
0answers
38 views

can I copying some files from the Btrfs snapshot subvolume?

I took a snapshot of /home which separats from /, and then later after SUSE got reinstalled so snapper (yast2-snapper - YaST - file system snapshots review) is disabled for /home, if I reenable the ...
3
votes
1answer
95 views

Will writing identical data to blocks of a file under ZFS use space in snapshots?

I have a 16M file. I take a snapshot of the ZFS filesystem which contains it. If I overwrite the file with the same data, will ZFS need to store two copies of all of the blocks of the file?
0
votes
1answer
76 views

Snapper has recently started performing duplicate snapshots each hour

For the last two years Snapper has been working flawlessly to perform hourly snapshots (on the hour). A few days ago I noticed two snapshots are being taken every hour. One on the hour (HH:00), and ...
1
vote
1answer
380 views

Are BtrFS snapshots killing my SSD?

As I know, BtrFS snapshots don't actually copy data. I suppose, actual copying executes on every change of snapshoted data. So is it right that BtrFS partition on SSD with enabled Snapshots doubles ...
0
votes
0answers
103 views

How to snapshot a subvolume in btrfs

I'm struggling with btrfs subvolume snapshot command. It seems my understanding of btrfs subvolumes is flawed. List of subvolumes: # btrfs subvolume list / ID 257 gen 5621 top level 5 path @ ID 258 ...
0
votes
0answers
162 views

What exactly does the `snapshot-origin` device mapper target accomplish?

I've been working with device-mapper snapshot support recently, and while I seem to have things working to my satisfaction I am left slightly confused as to the purpose of the snapshot-origin target. ...
-1
votes
1answer
27 views

Is it better to wait for Snapper to finish before rebooting?

I run various openSUSE systems with btrfs file systems. On these setups, openSUSE uses Snapper to manage filesystem snapshots. Every time I finish updating the system using Zypper or the YaST ...
1
vote
1answer
1k views

Change btrfs default subvolume in order to delete snapshot

I have used snapper with Fedora 26 to create snapshots of my btrfs system, and I am trying to start fresh (i.e. remove snapper and anything it has done) but I have one snapshot I cannot remove as it ...
0
votes
1answer
114 views

Test-boot hard drive in QEMU, without writing to it

I remember reading a cool command to use QEMU, to test-boot a hard drive, but without writing anything back to it. (Even if the system is EFI-booted, I think it should be able to work for Linux if ...
0
votes
1answer
211 views

Can't create persistent snapshot device with `dmsetup`

I am trying to create a dmsetup snapshot device be able to rollback changes made by fsck. I think I'm calling dmsetup incorrectly. Here's an example: $ truncate -s 4096 real snapshot $...
4
votes
1answer
59 views

Can a user-defined “destroy-after” property be set on a ZFS snapshot?

I know that (almost) arbitrary user-created properties can be added to a ZFS dataset on FreeBSD. But if I take snapshots of a dataset (or pool), can I set a user-defined property on an individual ...
4
votes
2answers
704 views

LVM snapshots vs. filesystem

I have a Linux system (Opensuse leap, but it's not that important) installed on a logical volume (and the ext4 filesystem). I want to upgrade it to a newer version, but to be on the safe side, I want ...
2
votes
3answers
1k views

Unable to zfs send | zfs receive datasets in same zpool

I have two environments Staging (staging) and Development (choang). I am unable to replicate (including snapshots) from dataset zfs/staging.assets to another dataset zfs/choang.assets within the same ...
2
votes
3answers
2k views

Merge changes to upper filesystem to lower filesystem in Linux Overlay (OverlayFS) mount

I would like to be able to merge changes from the upper filesystem of an overlay mount to a lower filesystem. I am interested both online (i.e. merge while the overlay is mounted) and offline (...
0
votes
0answers
78 views

How to merge one VG splitted on two partitions /dev/sda1 /dev/sda2 (same physical) onto another disk (no split) [duplicate]

On the same disk /dev/sda but on two partitions /dev/sda1, /dev/sda2, I have one VG hxe_guest_lvm with two Logical Volumes: lv_hxe_base (/dev/hxe_guest_lvm/lv_hxe_base)(BLcOol-kyzX-SMeb-VwBg-X3Gx-...
1
vote
1answer
382 views

How to change snap user directory?

I use Fedora. I wonder how I can configure snap to store all snapshots not in ~/snap/... but rather in ~/X/snap/... Sorry, I have already tried looking at various documentation of snapd but could ...
0
votes
1answer
230 views

Hide btrfs .snapshots when mounting from other Linux

I am mounting an old btrfs volume in a newer Linux. The mount point is /mnt/linux2. However, btrfs's internal snapshots are shown as directories on the mounted disk, e.g. /mnt/linux2/.snapshots/189/...
0
votes
1answer
420 views

Btrfs automatically bitrot correction with snapshots?

I want to set up a notebook (debian) with 1 SSD and 1 HDD each with Luks and Btrfs on it. Because the SSD and the HDD doesn't have the same speed, i don't want to use Btrfs' Raid-1 on it, but i also ...
2
votes
1answer
923 views

Never ending “Run configure hook of core snap if present”

I am using Debian 9 with KDE Plasma for work and fun, I just wanted to install Krita graphics app. It became an opportunity to tryout new instalation system called "snap". So I installed snapd and ...
0
votes
1answer
261 views

Can we make snapshot to the physical machine? [closed]

All we know we can snapshot(store the current system and disk information) the VM in the VMware workstation easily. But I don't know if we can snapshot to the physical machine (CentOS 7.2). Or use ...
2
votes
2answers
60 views

How might I create a completely discardable build environment?

Suppose I have a fresh install of a common Linux distribution. I download a tarball containing the source code of a web application I'd like to build and host. The project is somewhat modern, so it ...
3
votes
0answers
117 views

Revert to snapshot at boot

Can I take a snapshot of a physical machine and revert to that stage every time the machine boots? This can be done with virtual machines, but I want to do it for a physical machine. Background I ...
0
votes
0answers
23 views

Exclude attached storage from snapshot

I'm trying to setup nightly snapshots of our VMs that exclude our attached storage. I've been looking into lvcreate but can't figure out how to make it pass over certain directories. Is this possible ...
1
vote
0answers
354 views

remount boot partition as readonly

I am working on a snapshot driver for the block devices on RHEL 6 and RHEL7 and there is some problem during snapshot specific to boot on RHEL 7, which i am suspecting due to COW related. When I ...
3
votes
1answer
175 views

How to test if two btrfs snapshots are identical or not?

As far as I know, in order to determine if a snapshot is identical with another one or not, we should check if Received UUID of destination is equal to UUID of source snapshot or not. But this time, ...
3
votes
0answers
524 views

How can I mount a VDI with snapshot?

Working on Linux Mint 18.1, VirtualBox 5.0.40_Ubuntu. I have a VDI file from a VirtualBox VM: ~/VirtualBox\ VMs/Win10x64/Win10x64.vdi I've taken a Snapshot: ~/VirtualBox\ VMs/Win10x64/Snapshots/{...
3
votes
1answer
1k views

KVM - live external snapshots and appropriate disk names

If I wish to take an external snapshot of a running KVM guest, I would run a command like below: # create the directory for the snapshot data mkdir /vms/$DOMAIN/snapshots/$SNAPSHOT_NAME # create the ...
1
vote
0answers
514 views

FreeNAS: Snapshots on replicated datasets disappear

I am running 2 FreeNAS boxes (let's call them A and B). A is the production server which contains multiple datasets on mirrored/striped ZFS volumes for sharing via cifs, nfs, etc. A is configured to ...
1
vote
0answers
386 views

create a device-mapper snapshot of an lvm volume multiple linear device with cow data outside of volume group

I need to make an in-memory snapshot of a running mounted root filesystem. The filesystem itself is on an lvm device, but there is zero free space in the VG and there is no way to expand it. However ...
4
votes
1answer
2k views

ZFS on Linux send/receive resume on poor/bad ssh connection

I am using ZFS on Linux, and trying to setup remote replication. But I have bad ssh connection, and zfs send/receive over ssh restarts again. I know there is a issue on ZoL, but I don't know when it ...
1
vote
2answers
580 views

ZFS on Linux snapshot recursively volume and subvolumes

I am using ZFS on Linux, and have some question regarding snapshots. I have following structure mypool/HOME mounts /home mypool/HOME/root mounts /root mypool/ROOT mounts none mypool/ROOT/rootfs ...
1
vote
1answer
50 views

Software reccomendation: diff based restore points

i'm looking for software that lets me create multiple restore points that allow me to go back to these points and have my system be in the exact same state as when these restore points were taken. I ...
3
votes
1answer
2k views

btrfs revert snapshot of root FS

Before upgrading to Fedora 25 I did a btrfs subvolume snapshot / /f24. I hat to little free space, so the update failed. Now the question is, how to revert the snapshot? I already booted into the ...
1
vote
0answers
359 views

KVM - List snapshots in order of creation

I've only just realized that KVM snapshots default to being listed in alphabetical order, rather than chronological. This can be confusing if you sometimes use the command virsh snapshot-create-as $ID ...
4
votes
3answers
4k views

Linux alternative to file history/shadow copies for internal backup?

I am looking for (good) backup alternatives to the time machine of MacOS/OS X devices or file history on Windows machines. Actually what I am looking for is closer to Windows' solution than to the ...
1
vote
1answer
718 views

How To rsync Entire Disk To Create Complete VPS Back Up

I'm working on creating a snapshot of my entire vps, including all settings and directories - everything. I would like to download the backup from my remote vps machine to my local computer. I found ...