Questions tagged [snapshot]
The snapshot tag has no usage guidance.
195
questions
1
vote
0
answers
19
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
...
0
votes
0
answers
37
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 ...
0
votes
1
answer
61
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 /....
0
votes
0
answers
74
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 ...
0
votes
1
answer
101
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 ...
1
vote
0
answers
74
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/...
0
votes
1
answer
26
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 ...
0
votes
0
answers
16
views
Setting VM disk modes from the command line in VMware
When patching a RHEL host you want to snapshot only its OS disks. We have several hosts which have dozens of extra disk we want to exclude from the snapshot. The recommended way is to set the disk ...
0
votes
1
answer
358
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".
...
-2
votes
1
answer
76
views
Which files are safe to delete?
so I used ncdu to help free up some storage and for the following log:
--- / ----------------------------------------------------------------------------------------------------------------------------...
0
votes
1
answer
54
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 ...
0
votes
0
answers
170
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
"...
0
votes
0
answers
302
views
Timeshift does not restore
I have setup timeshift no make snapshots of the system on Fedora 37. It creates daily snapshots but when I restore via the GUI, the timeshift window closes after the dry-run.
When I try via the ...
0
votes
2
answers
331
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 ...
0
votes
1
answer
383
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 ...
1
vote
0
answers
27
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: "...
1
vote
2
answers
35
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 ...
3
votes
2
answers
1k
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 ...
0
votes
1
answer
119
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 ...
1
vote
0
answers
27
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'...
-1
votes
1
answer
106
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.
0
votes
1
answer
110
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%...
3
votes
1
answer
486
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 ...
0
votes
1
answer
284
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 ...
1
vote
1
answer
966
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 ...
0
votes
1
answer
128
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=...
0
votes
1
answer
45
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 ...
1
vote
1
answer
147
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. ...
1
vote
1
answer
2k
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 ...
0
votes
1
answer
372
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 ...
1
vote
1
answer
6k
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 ...
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 ...
1
vote
2
answers
847
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 (...
0
votes
0
answers
129
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 ...
1
vote
0
answers
753
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....
2
votes
1
answer
85
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 ...
12
votes
1
answer
8k
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 ...
0
votes
0
answers
48
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 ...
1
vote
1
answer
974
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 ...
0
votes
1
answer
155
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....
0
votes
1
answer
66
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 ...
0
votes
2
answers
32
views
`btrbk`: privilege separation using btrfs-progs-btrbk backend. Why a patchset rather than individual scripts?
btrbk is a script for automating btrfs backups using snapshots and send/receive. It has a "backend" btrfs-progs-btrbk, which is a patchset for btrfs-progs and is used to create individual ...
1
vote
1
answer
825
views
Why do snapshots consume much less space than the data which is changed after they have been taken?
Although I am using ZFS since quite a while, I am still failing to understand some aspects of it from time to time. Currently I am trying to understand how ZFS snapshots take up space on the disk and ...
4
votes
2
answers
1k
views
What is the proper way of backing up raid
I have a two disk server where root is on a mirrored LVM volume, while /boot and /boot/efi are RAID1 partitions.
I want to fully backup my server, so that when a disaster happens (both disks fail, or ...
0
votes
1
answer
529
views
How does mounting of a recursive zfs snapshot behave in default mount directory .zfs/snapshot?
I have a zfs pool called "data" on which I also put /var/lib/docker. Due to docker (in my case; for the sake of the question docker is irrelevant) zfs list looks something like this:
data ...
0
votes
1
answer
69
views
.zfs/snapshot/zfs-auto-snap_daily-2021-01-08-0525 is empty
On my ZFS server .zfs/snapshot/zfs-auto-snap_daily-2021-01-08-0525 exists but it contains no files. The same goes for all .zfs/snapshot/zfs-auto-*
How did that happen?
3
votes
0
answers
545
views
Does btrfs sync "suffer" from same issues as btrfs snapshot?
Targeting "roughly okay backups" of a running system that uses BTRFS as filessytem, I seek an answer regarding
Can option
a) btrfs filesystem sync <path>(sync(1)) be used to force an &...
1
vote
1
answer
104
views
BTRFS send after a rollback
btrfs-send has the "-p" parameter to provide the previous snapshot for an incremental backup.
Let's say I have snap1, snap2, snap3 and snap4: then I do a rollback to snap2. If I call btrfs-...
1
vote
1
answer
76
views
BTRFS-send previous snap
If I send a btrfs incremental stream from drive1 (using -p to refer the last snap) and I receive it on drive2, how does btrfs know which snap on drive2 it should link the stream to (since -p is for ...
2
votes
2
answers
3k
views
Is it possible to create BTRFS snapshot for a directory?
When I tried to create a snapshot:
[root@localhost ~]# btrfs subvolume snapshot /home/admin2/ /.snapshots/s2
ERROR: Not a Btrfs subvolume: Invalid argument
How to create BTRFS snapshot for a ...