Questions tagged [snapshot]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Understanding how libvirt snapshots are stored

At first I thought it would be stored in /var/lib/libvirt/images/ but as I created snapshots for the centos7 domain, nothing changed in this directory: drwx--x--x 2 root root 4096 Feb ...
0
votes
0answers
22 views

When rolling back a subvolume to a snapshot in btrfs, is simply renaming and keeping the old subvolume bad practice?

I'm new to btrfs. I'm experimenting with snapshots and rollbacks. I read the answers here: Conceptualizing btrfs - understanding snapshots, and space used btrfs confused about subvolumes Online ...
0
votes
0answers
9 views

Inheriting the snapshots from a qcow2 backing file

I created an internal snapshot in a qcow2 image via virsh. Then, I created a new qcow2 image having the first image as backing file. I checked and the internal snapshot of the backing file is not ...
1
vote
1answer
31 views

Use Timeshift or similar for synching/backing up arbitrary locations?

I have been using a dual boot machine for a couple of years. I've got to the point where I spend 95% of my time logged into Linux rather than the proprietary OS (W10) and so I need to choose a Linux-...
0
votes
0answers
45 views

Can I perform incremental backups with Syncthing?

I have found a page which describes how to go about doing incremental backups using rysnc. To me incremental backups are good not only because they save space and time but also because you can ...
0
votes
0answers
8 views

Can be the snapshots made by Snapper used in LiveCD?

Restoring root system by snapper in openSUSE KDE just made my OS crashed so maybe it can be used in LiveCD. Snapper will create some snapshots in the .snapshot folder, they can be used in command-line ...
0
votes
3answers
34 views

How run Softwares as a snapshot?

I want to run the software as non-persistent, which means if any configuration is changed, they revert. In the Windows, Software Sandboxie has this amazing feature. When the program is started, it ...
-1
votes
1answer
30 views

How to do linux snapshots similar to VirtualBox guest snapshot?

I'm still learning how linux works so I'm constantly making mistakes, installing packages in the wrong way and whatnot. A good way of solving this is using VirtualBox and just taking snapshots from ...
2
votes
1answer
81 views

LVM snapshot: Failed to wipe snapshot exception store, udev doesn't create the partition before lvm tries to wipe it

I am trying to create a snapshot of a logical volume (partition) but I cannot make it work. After days of researching, I found that this post might shed some light on the situation. We are using the ...
2
votes
1answer
74 views

Snapshottable encrypted folder

I'm trying to create an encrypted data folder which could periodically take snapshots of the current state of it. The snapshot should be an encrypted one, and I should be able to take snapshots ...
0
votes
1answer
108 views

ZFS send of 1.6GB volume results in a HUGE file - fragmentation to blame?

I have a strange issue I haven't seen before. I have a ZFS volume which reports it's about 1.7Gb in size, and so does a snapshot. If I then try to do a zfs send for backup purposes, I get a HUGE file -...
4
votes
2answers
252 views

How can *efficiently* be determined whether a ZFS dataset has been changed since the last snapshot as a simple yes/no-question?

Say I have a pool named tank and a dataset inside of it named data. There is also at least one snapshot of data named last_snapshot: tank tank/data tank/data@last_snapshot The "slow" way of figuring ...
1
vote
1answer
765 views

Can I restore my Linux Mint installation from external Timeshift snapshot after switching SSD?

I am using Linux Mint 19.1 "Tessa" on my laptop which has 120GB SSD. I want to change to a SSD with more storage. I know that with the Timeshift backup utility you can make a snapshot of the system ...
0
votes
2answers
181 views

Change where Snapper creates snapshots

I have a BTRFS filesystem, running Arch Linux x86_64. On that filesystem, I have the top level subvolume (id=5), then inside that I have @root, @home, @snapshots, @swapfile. I want to be able to ...
1
vote
0answers
85 views

Backup configuration for Ubuntu Server

How can I make a restore point for a Ubuntu Server 18.04? I have a clean install of the Ubuntu Server OS and before installing any Web Server I want to perform a backup and if something goes wrong ...
2
votes
1answer
536 views

ZFS incremental snapshot send/recv without first snapshot

I have the following ZFS dataset: pool/dataset pool/dataset@snap1 pool/dataset@snap2 pool/dataset@snap3 Which has been replicated to a backup pool, using ZFS send/recv backupPool/dataset backupPool/...
3
votes
1answer
252 views

How to copy multiple snapshots at once without duplicating data?

I have a live btrfs filesystem of 3.7TiB that's >90% full including old snapshots and a fresh 4TB backup harddisk. How to copy all existing snapshots to the backup harddisk? I tried # btrfs send ...
0
votes
1answer
210 views

Encrypting data written to an LVM snapshot with a different key

I have the following requirements: I have an LVM volume A, encrypted with key K1 using LUKS. I need to make a copy-on-write snapshot of A such that Writes to A will continue to be encrypted under K1 ...
2
votes
1answer
114 views

How to sync after a 'snapper delete'

I have started a snapper delete command, only to find out five minutes later that it is running in the background and seems to take a longer time. Is there a command can I use to get notified when the ...
1
vote
1answer
375 views

How to find the creation date/time of btrfs snapshots

Is there a general way to find the creation date of btrfs snapshots, or is it necessary to encode the date in the snapshot name, as it is e.g. done by Timeshift?
0
votes
1answer
228 views

How large should an LVM snapshot be?

Preface to my Situation and Motivation I am trying to familiarize myself with Ubuntu Server edition as I set up a home server. I am setting up a small virtual network with a hypervisor for ...
1
vote
0answers
40 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 ...
3
votes
1answer
584 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 ...
1
vote
1answer
54 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 ...
1
vote
1answer
142 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
58 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?
1
vote
2answers
115 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
551 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
392 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 ...
4
votes
2answers
3k 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
1answer
273 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 ...
2
votes
1answer
424 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?
1
vote
1answer
264 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
839 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 ...
-1
votes
1answer
34 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
3k 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
228 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
517 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
131 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
984 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
4k 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 ...
7
votes
4answers
5k 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 (...
2
votes
1answer
882 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
515 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/...
1
vote
1answer
903 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 ...
3
votes
1answer
1k 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
584 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
89 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
217 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
25 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 ...