Skip to main content

Questions tagged [snapshot]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

How to reinstate an invalidated DM snapshot?

I'm using device mapper snapshots. Let's assume that /dev/sda is the read-only origin device, and /dev/sdb is the COW device. I created a persistent snapshot this way: # cat /dev/zero > /dev/sdb # ...
melonfsck's user avatar
0 votes
0 answers
24 views

How to turn off Sanoid's snapshotting for a subtree of datasets?

I'd like to set up Sanoid to create snapshots of my system dataset, except for the Docker images under /var/lib/docker. I have the following two templates: [template_system] frequently = 0 ...
Cactus's user avatar
  • 845
0 votes
1 answer
31 views

check files difference with multiple folders

I would like to check when a file differ inside a backup system using snapshots. I have several folders with the same architecture inside ls -1 .snapshot 4-hourly.2024-04-14_0405 4-hourly.2024-04-...
ppr's user avatar
  • 1,917
1 vote
0 answers
41 views

btrfs size issue

According to my calculations, my btrfs should have a total size of 153 GB by totalling the Exclusive component from btrfs qgroup show, but it actually shows up as around 700 GB using other disk usage ...
Mark Warburton's user avatar
0 votes
1 answer
81 views

Incus - Setting migration.stateful for stateful snapshots

I'm trying to get to grips with Incus, because it looks like it is a fork of Canonical's LXD, which I can run fairly easily on Debian 12 with a deb package, rather than using snaps. I have it all set ...
Programster's user avatar
  • 2,279
0 votes
0 answers
44 views

How to (correctly/efficiently) move a btrfs subvolume containing snapshots?

I have btrfs as the filesystem for configuring root, and configured my system to use snapper for backup. The /@arch-root/@.snapshots/ subvolume contains several sub-dir each containing several ...
renyuneyun's user avatar
1 vote
1 answer
50 views

Is it possible to restore data from a non-persistent DM snapshot after crash?

I often use non-persistent device mapper snapshots, an example table looks like this: 0 10485760 snapshot /dev/sdc3 /dev/sdc6 N 16 In case of a crash, I still have both /dev/sdc3 and /dev/sdc6 ...
melonfsck's user avatar
1 vote
2 answers
50 views

Scan online EXT4 using LVM snapshot?

Can you make a trustworthy EXT4 filesystem-scan of an online filesystem, e.g. root, by taking a LVM snapshot and then do a scan on the snapshot, something like: Make a snapshot: lvcreate --snapshot --...
BMWW's user avatar
  • 155
1 vote
1 answer
67 views

Automatic Btrfs snapshotting as standard user

Btrfs allows creating subvolumes and taking snapshots as a standard user. However, the tools I have found for automatically creating and managing snapshots at regular intervals (Snapper and Timeshift) ...
rkjnsn's user avatar
  • 702
0 votes
0 answers
113 views

snapper -c home create-config /home

After installation of openSUSE, snapper -c home create-config /home says "Creating config failed (creating btrfs subvolume .snapshots failed since it already exists)". I want to have ...
agjeet's user avatar
  • 1
0 votes
0 answers
152 views

How do I merge my sequential raw backup images into one single qcow2 image with snapshots?

I have collected a number of raw disk image clones from an embedded system over a long time, each about 2 GB: root141221.dd 2048901120 root150221.dd 2048901120 root160408.dd 2048901120 root170821.dd ...
pipe's user avatar
  • 925
1 vote
0 answers
336 views

Delete snapshots only in libvirt, but retain them in qcow2

I executed the following commands -- 12:18:40 sudo virsh snapshot-delete Windows-10-128GB 2022-04-12-Pre-Activation Domain snapshot 2022-04-12-Pre-Activation deleted ...
Daniel F's user avatar
  • 887
0 votes
0 answers
320 views

Mount zvol partition of filesystem type 'LVM2_member' which is a snapshot of a raw qcow2 export

I'm currently trying to migrate some VMs which are stored in qcow2 files onto ZFS ZVOLs. One of the things I want to do before deciding if I really want to stick with this is to see if I can make ...
Daniel F's user avatar
  • 887
1 vote
1 answer
675 views

Btrfs: To enable snapshotting of subvolumes, do you need to create seperate subvolumes dedicated for snapshots, for each data subvolume?

As an initial disclaimer, I'm in the camp of not wanting snapshots to include snapshots, Inception-style. So for example if I have @ mounted at /, and @_snapshots mounted at /.snapshots, then since /....
Jim's user avatar
  • 369
0 votes
0 answers
260 views

How to enable snapshots on a btrfs root file system on a transactional server?

I recently had to reinstall my OppenSuSE Leap 15.5 based home server after a severe crash. The installer suggested me the "transactional server" option. But once the system was again ready ...
Neppomuk's user avatar
  • 346
0 votes
1 answer
293 views

btrfs configurations for various subvols

Is there a recommended for how much to compress various subvolumes based on their use purpose? In my case, I have subvols @, @home, .snapshots/@root, .snapshots/@home, @srv, var/@log, var/@cache. This ...
squirrels's user avatar
  • 119
1 vote
0 answers
96 views

BTRFS snapshot fails with "No space left"

While creating a BTRFS RAID10 subvolume snapshot, I hit: [21816375.986061] ? btrfs_cleanup_transaction+0x530/0x530 [btrfs] [21816375.986065] kthread+0x112/0x130 [21816375.986066] ? kthread_bind+0x30/...
tio78's user avatar
  • 91
0 votes
1 answer
28 views

Apache Ignite - Automatic Cluster Snapshot Create / Restore Procedure

When trying the Apache Ignite cluster snapshot procedure (snapshot create, restore), the restore operation is not successful. Before the restore procedure, we have destroyed the cache which we want to ...
cookie_marsh's user avatar
0 votes
1 answer
1k views

Deleting .snapshot directory contents

I have a signiant agent that doesn't want to transfer files, then delete the contents, from a external storage because the .snapshot directory holds files. signiant error is "File Exists". ...
Lukasz's user avatar
  • 3
-2 votes
1 answer
222 views

Which files are safe to delete?

so I used ncdu to help free up some storage and for the following log: --- / ----------------------------------------------------------------------------------------------------------------------------...
Mansidak's user avatar
0 votes
1 answer
83 views

Grep Snapper snaphots with BOTH description and date

I am using Arch Linux, with snapper and BTRFS. I am writing a script for personal use to simplify recovering a system via snapper snapshots. One should obviously boot into live USB and mount the top ...
Muzzamil's user avatar
0 votes
0 answers
345 views

Best way to create snapshots on Ubuntu

I would like to learn a bit more about Linux but usually when I build a system and try new stuff I mess up at some point and it sucks to start all over, so I rather not experiment that much :D "...
Seathorn's user avatar
0 votes
2 answers
787 views

OpenBSD: how to make backup / snapshot of mounted disk?

I'm planning to launch a server on latest OpenBSD. (Web, cloud and more.) I have to make regular backups of my ffs2 partitions (e. g. using cron). But there are no documentation about this, only man ...
НЕВСКИЙ БЛЯДИНА's user avatar
0 votes
1 answer
878 views

Disabling CoW eventually leads user to break BTRFS snapshot references

In the following scenario, user willl have to break his/her own snapshot references: You have multiple disks (A, B, C, D) with a size of 1 TB and it's filled by 800 GB of data. You also have multiple ...
ceremcem's user avatar
  • 2,361
1 vote
0 answers
46 views

Snapshots setup via Device Mapper on Debian 11 doesn't work/reports error

I try to setup a Device Mapper snapshot according to the hints in the net and here on stackexchange. The TABLE entry is: "0 209711104 snapshot /dev/sdb1 /dev/loop0 P 16", the command: "...
Hans Kraus's user avatar
1 vote
2 answers
47 views

Tracking changed files/configurations in Linux

I have a small microserver at home that's several years old (HP Proliant Gen8, Intel Celeron G1610T). I installed Ubuntu 14.04 on it, set up RAID on 2 large disks with mdadm, and since then I've used ...
TKF's user avatar
  • 111
3 votes
2 answers
3k views

Recommended scheme for partitioning root file system into subvolumes following the Filesystem Hierarchy Standard

The Filesystem Hierarchy Standard (FHS) is the formal codification for root file tree on Linux installations, as inherited from earlier iterations of Unix and POSIX, and subsequently adapted. It ...
brainchild's user avatar
0 votes
1 answer
175 views

Make Tar from Snapshot of Changing Folder (Btrfs?)

I have BTRFS on my Ubuntu server, and I’m using PostgreSQL as a database. I’d like to make a .tar.gz archive from the current state of the database folder. However, since the database is of course ...
Florian Wendelborn's user avatar
1 vote
0 answers
36 views

Create Ubuntu image without USB or Rebooting

I want to create a backup image or a snapshot of my Linux Ubuntu 22.04.1 system. Is there any way to do it without using USB stick, rebooting the system.. Basically, do it in the 'background' while I'...
Milos's user avatar
  • 11
-1 votes
1 answer
149 views

Need to find contents of Solaris zfs snapshot

I have zfs snapshot and I want to view the contents of particular snapshot. This is for Solaris 10.
user539698's user avatar
0 votes
1 answer
185 views

how to recover a thin lv snapshot?

i managed to create a snapshot from my thin lv how can i recover it ? root@ghv214:/dev/ghv214-vg# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%...
amin hashemi's user avatar
3 votes
1 answer
880 views

how to snapshot thin provisioned lvm

I'm trying to create an snapshot from a thin provisioned lvm using the below command, but i get errors, is there anyone that can help me? root@ghv214:/dev/ghv214-vg# lvs LV VG Attr ...
amin hashemi's user avatar
0 votes
1 answer
407 views

What things are not saved in a btrfs snapshot?

I'm using BTRFS for my root partition and manage its snapshots with Snapper. I decided to create subvolumes for /var/tmp, /var/cache and /var/log as these are constantly changing its data which is not ...
Megver83's user avatar
  • 301
1 vote
1 answer
2k views

zfs snapshot send to remote system as a backup file

I want to send a zfs snapshot to a remote system as a backup file. For example, I've a remote system (Solaris) on a network with a big storage and i want to send rpool and/or zpool snapshots of ...
hassankk's user avatar
1 vote
1 answer
188 views

qemu-system-i386: Could not load snapshot for icount replay

I'd like to use QEMU for recording/replaying execution. However, the replaying does not work as described in the manual: $ qemu-system-i386 \ -icount shift=auto,rr=record,rrfile=record.bin,rrsnapshot=...
jackson.c's user avatar
0 votes
1 answer
57 views

Btrfs Send Snapshots Out of Order? (asynchronous replication)

I found this webpage on the internet discussing sending Btrfs incremental snapshots out of order. https://arstechnica.com/civis/viewtopic.php?f=16&t=1226135 From there, I've searched all over the ...
Rucent88's user avatar
  • 1,880
1 vote
1 answer
174 views

Is it possible to use a file as Filesystem?

Here is the origin of my question: I'm running Linux containers with LXD snap version at Ubuntu 22.04 on a VPS. The root file system of the VPS is Ext4 and there is not additional storage attached. ...
pa4080's user avatar
  • 121
1 vote
2 answers
3k views

Best strategy to backup btrfs root filesystem?

I have a Btrfs root partition with an @ root subvolume and an @home subvolume and I do auto-snapshots during updates and timeshift scheduled snapshots, both of which are saved on the same drive. This ...
weygoldt's user avatar
0 votes
1 answer
622 views

How to remove a logical volume from xen vm after failed snapshot

First of I'm fairly new to xen vm technology so sorry in advance if I use the wrong vocabulary. So what happened is I took a snapshot from my vm, after a while a cronjob tried to create a second ...
bluefish's user avatar
  • 181
3 votes
1 answer
9k views

ZFS send/recv full snapshot

I have been backing up my ZFS pool in Server A to Server B (backup server) via zfs send/recv, and using daily incremental snapshots. Server B acts as a backup server, holding 2 pools to Server A and ...
LooseAlien123's user avatar
0 votes
2 answers
2k views

How can Nextcloud data be backed up and restored independently? (Versioning / Snapshots)

Whenever multiple users are interacting with a Nextcloud installation, there is a possibility of error. Potentially, a family member may delete an old picture or a co-worker might accidentally tick ...
Prototype700's user avatar
1 vote
2 answers
1k views

How do I make ZFS with ZIL SLOG consistent if the SLOG is lost?

I have a ZFS on a HDD with ZIL SLOG on an SSD. If that's relevant, I have also a LARC cache on an SSD. How can I reconfigure it to be sure that a failure of the SSDs won't cause data inconsistency (...
porton's user avatar
  • 2,206
0 votes
0 answers
154 views

How to choose optimal size for LVM snapshot for cloning MongoDB?

Yes, I know that my question will look familiar to many of you, but I would like to double check with before I start working on it. I have read similar question: Snapshot size in lvm , but still one ...
igork's user avatar
  • 1
1 vote
0 answers
924 views

ZFS on Linux: Can ZFS send a snapshot and receive a newer snapshot of the same dataset at the same time?

I have a production server P and a standby server S. Both are running Debian buster and OpenZFS / ZoL 2.1.0. P has only internal disks which provide ZFS storage for the O/S, the VMs and all other data....
Binarus's user avatar
  • 3,420
2 votes
1 answer
123 views

Can ZFS snapshot names contain newlines? If yes, how to parse the output of zfs list -t snapshot?

The following question relates to ZFS on Linux (ZoL) / OpenZFS, as it is provided e.g. in Debian Buster and Debian Bullseye. As the title says, I'd like to know whether ZFS snapshot names ...
Binarus's user avatar
  • 3,420
16 votes
1 answer
12k views

Error creating snapshot: Operation not supported: internal snapshots of a VM with pflash based firmware are not supported

I'm using Arch Linux, both host and guest. For UEFI boot, I've installed edk2-ovmf and made the guest use the firmware /usr/share/edk2-ovmf/x64/OVMF_CODE.fd. I want to create snapshots of my VM but am ...
ChocolateOverflow's user avatar
0 votes
0 answers
52 views

Does a file system snapshot include deleted files?

Let's say I create backups by file system snapshot once per day at midnight. Of course, after the snapshot is created, it will be archived to a separate drive. If you create a lot of temporary files ...
Wernfried Domscheit's user avatar
1 vote
1 answer
2k views

How to merge common parts of qemu qcow2 disks

I have a qemu image B.qcow2 that is a snapshot of A.qcow2. I created a copy of B.qcow2 by using cp B.qcow2 C.qcow2 and then worked on both B.qcow2 and C.qcow2 independently. Thus, B.qcow2 and C.qcow2 ...
sebastien dontneedtoknowthat's user avatar
0 votes
1 answer
172 views

User cannot create btrfs snapshot of subvolume in Debian 10 the way it is done in Centos 6

I migrated a CentOS 6 install to Debian 10 and btrfs snapshotting is heavily used on these system. Under CentOS I can easily have two users - user1 and user2, which are part of group - user1user2group....
tio78's user avatar
  • 91
0 votes
1 answer
89 views

How can AIX jfs2 snapshot size be less than size of the data on the fs?

On every OS I ever create the snapshots of size bigger than the occupied fs space. For example: if I had a fs called /try of 250GB but the space used is 100GB I will create a snapshot of 100GB or a ...
elbarna's user avatar
  • 12.8k

1
2 3 4 5