Questions tagged [snapshot]

A snapshot is a copy of data taken at a specific point in time.

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

Backing up a MySQL/MariaDB database via ZFS snapshots without errors

So I am using zrepl to take snapshots of my production machine and replicate them to a backup server. This also includes MariaDB, it's in it's own dataset with recordsize=16k I've been testing the ...
Bento's user avatar
  • 101
0 votes
1 answer
112 views

PostgreSQL Backup: how to activate backup mode non-interactively

Hello PostgreSQL experts! I'm running a postgresql 15 server with multiple database instances ("clusters"), which uses Netapp NFS as storage for the data and WAL directories. I'm trying to ...
b2c's user avatar
  • 21
0 votes
1 answer
50 views

ceph snapshots are not running

Our ceph cluster (quincy 17.2.7) runs in a docker container. The snapshot schedule was created as: ceph fs snap-schedule add / 1h 2023-12-13T09:00:00 nerfcomputing2024 and retention: ceph fs snap-...
gmaggi's user avatar
  • 1
0 votes
0 answers
12 views

Formula or rule of thumb to estimate filesystem planning with BtrFS snapshots (SLES or similar)

SLES features BtrFS for the root filesystem, combined with automatic ("numbered") snapshots performed before and after updates. If your system fails, you can boot from an older snapshot (...
U. Windl's user avatar
  • 383
3 votes
3 answers
342 views

FreeBSD - Is it possible to create a clone of a snapshot in a different disk for improved performance?

I am a new to FreeBSD and want to make a virtual disk service via iSCSI. I create snapshots of a dataset on the same disks, however I would like to create clones on a different disk like a NVMe drive ...
Charles Kwon's user avatar
0 votes
0 answers
40 views

Bash script error when trying to create a snapshot

I am trying to create a snapshot using Bash script as below but error occurred. Environment: FreeBSD, Version: 13.2, Script: Bash #!/usr/local/bin/bash name="17102023_1234" zfs snapshot data/...
Charles Kwon's user avatar
0 votes
1 answer
81 views

btrbk not taking hourly snapshots

I have installed btrbk and I would like hourly snapshots to be taken. However, only daily snapshots are done. I wonder what goes wrong. Pleas help me out. Environment: OS: Ubuntu 23.04 64bit / Linux 6....
crackpot's user avatar
  • 101
1 vote
1 answer
199 views

ZFS permission error 'cannot set property' when receiving snapshot from remote machine despite delegated permission

Context I'm setting up ZFS autobackup on my home server for offsite backups. All commands printed below are run as non-root. Problem A 'permission denied' error arises originating from the target ...
Ostheer's user avatar
  • 41
0 votes
1 answer
110 views

Can't get Samba smv.conf shadow copy snapprefix to recognise snaps

I'm really with this one. What I'm aiming for is that snpshots with an optional tag at the front, as well as untagged snaps are seen in windows as previous copies, e.g. file names such as: /mnt/pool1/....
Arthur Mitchell's user avatar
0 votes
1 answer
239 views

Samba shadow_copy2 and snapshots don't appear in windows

I'm setting up Ubuntu server with Samba. The file system is BTRFS and I can't seem to get Windows to see the previous versions from the snapshots. My smb.conf has this for the share: [Backup] path ...
Arthur Mitchell's user avatar
0 votes
1 answer
198 views

Samba 4 can't copy from previous version in Windows

HW: HP server ML110G9 SW: Fileserver CT (Proxmox host) - debian 11 - Samba version 4.13.13-Debian UserPC - Windows 8 / Windows 11 ZFS snapshot format: data/[email protected] smb.conf: ...
ukro's user avatar
  • 13
0 votes
0 answers
32 views

Virsh corruption image, re-merge snapshot?

I have an issue with one of my images. The image is encrypted. About three weeks ago I started a snapshot of a running image and then did a blockcommit more recently. Something has since happened to ...
user1021876's user avatar
0 votes
0 answers
144 views

Idea restore data instance by snapshot openstack!

My wish is to restore the instance's data back to the data of any created snapshot and keep the IP assigned to that instance. I have tried a few ideas with no success: From the snapshot create a new ...
unLimit's user avatar
  • 11
0 votes
1 answer
228 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
268 views

What is .snapshot root directory in OpenSUSE Leap 15.4?

I need to free disk space on a OpenSUSE Leap 15.4 server. I notice I have a .snapshot directory at system's root: srv-abc:~ # ll -h / total 0 drwxr-x--- 1 root root 36 Sep 14 2021 .snapshots ...
wiltomap's user avatar
0 votes
1 answer
107 views

Can't `lvconvert` when root is readonly

My root is mounted readonly (on purpose). I have a separate, read-write vg where I want to lvconvert --merge a thin snapshot. I'm getting Cannot archive volume group metadata for $VG to read-only ...
Duncan Townsend's user avatar
0 votes
1 answer
183 views

grub error after kernel update with active root LVM snapshot

The situation: debian 11 with LVM and / is a logical volume: /dev/mainvg/lv-root created a snapshot of the root partition by doing lvcreate -L5G -n bkp_lvroot -s /dev/mainvg/lvroot Now I updated the ...
archygriswald's user avatar
2 votes
1 answer
400 views

Snaphot sizes in ZFS and syncoid backups of them

I got a question about ZFS snapshotting: So, as far as I understand, when I take a snaphot of a ZFS dataset, the snapshot will be initially 0 bytes in size, because at the moment of creation, there is ...
heeeresjohnny's user avatar
2 votes
1 answer
1k views

btrfs - ERROR: Could not destroy subvolume/snapshot: Operation not permitted

We use btrfs extensively for its wonderful snapshotting capabilities. But recently, and on only one system, while purging old snapshots, I began to receive the following error: btrfs subvolume delete ...
Frobozz's user avatar
  • 205
1 vote
0 answers
337 views

How to create snapshot ISO-image from Ubuntu server?

I intend to run computationally intensive calculations on expensive cloud servers. Setting up the environment (starting Ubuntu server via cloud API, downloading and installing Python/models, ...
petarmarj's user avatar
1 vote
1 answer
344 views

How to create new instance from a snapshot and a new OS version

I have a NodeJS instance on Amazon LightSail. I want to upgrade the underlying Operating System to a newer major version, say Ubuntu 18 LTS to Ubuntu 20 LTS. When I create a new instance from the ...
miguelmorin's user avatar
1 vote
0 answers
56 views

Restoring a Windows VM automatically in AWS

We have a Windows 2012 R2 VM called test01 in AWS and it's used for automatic tests. There is another server which connects to the test VM for running some tests. Sometimes the tests mess up the VM. I'...
Eastman's user avatar
  • 60
0 votes
1 answer
271 views

find most recent snapshot using xen command line

I am using Xen, and for each of our VM's we have set up a process to create a new snapshot of the VM every morning, with the last seven being kept. I am now trying to write a script to test restoring ...
IGGt's user avatar
  • 135
1 vote
1 answer
747 views

Can't Recover Space from qcow2 image without deleting wanted snapshots

I have a virtual machine that started out with 5 snapshots 1,2,3,4,5. I used qemu-img to delete snapshots 1,2,3. Snapshots 4 and 5 are still needed and were not deleted. How can I release the space ...
user73383's user avatar
1 vote
1 answer
93 views

Apache Cloudstack XCP-ng 20.04 Volume Snapshot Failed

I am using Apache CloudStack v 4.16 with XCP-ing center 20.04.01. While trying to take a snapshot of my volume, the below error is logged in my XCP-in center and the volume snapshot creation is ...
Robert Foxx's user avatar
0 votes
1 answer
160 views

Can Block Device IDs in LVM be set statically?

I have a system using LVM2 with a single PV which contains 1 VG which in-turn contains 5 logical volumes (/, /home, /var, /swap, /data). When I create a snapshot of LV / (lvcreate -L 15G -s -n ...
deanhuff's user avatar
4 votes
1 answer
2k views

What path on disk does a containerd snapshot key map to?

I want to remove a snapshot from a node in our Kubernates cluster: /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/NNNN But I am unable to map this path to any snapshots as ...
Gunnar's user avatar
  • 161
0 votes
1 answer
339 views

Google Cloud Snapshot schedule

I'm trying to understand the difference between machine image, snapshot, and image on Google cloud. For example, I've configured the snapshot schedule and it is set to auto delete every 7 days. If I ...
jollysea's user avatar
1 vote
2 answers
469 views

GCP disk snapshots: Would losing the full snapshot render the incremental snapshots useless?

On GCP, when you do periodic snapshots of disks, the first snapshot is a full snapshot of the disk and the following snapshots consists of only the deltas of the previous snapshots. If a snapshot is ...
Fleuri's user avatar
  • 255
0 votes
1 answer
34 views

What disk considerations are taken for VM migration during Host Maintenance in GCE?

I'm running a VM in the us-central1-a zone with Availability policies configured as follows: Preemptibility - Off (Recommended) On host maintenance - Migrate VM instance (Recommended) Automatic ...
amnestor's user avatar
1 vote
1 answer
386 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. Due to hardware issues, the ZFS pool in Server A is now gone - and ...
LooseAlien123's user avatar
0 votes
0 answers
91 views

Can one detect, via the AWS RDS API, any I/O suspension when creating a snapshot for a single-AZ DB instance?

This is very similar to this existing question: amazon web services - RDS snapshot: how long does I/O suspension occur? - Server Fault Unfortunately, the only answer provides more of a background ...
Kenny Evitt's user avatar
1 vote
2 answers
575 views

Are the snapshots referenced by an AMI created from an EC2 instance independent of other snapshots that I've created on the EC2 instances EBS volumes?

We've recently migrated a system off of a set of EC2 instances, and now wish to retire those EC2 instances, first by creating an AMI of and then terminating each EC2 instance. Over time, we've created ...
Jonathan Bailey's user avatar
2 votes
2 answers
1k views

Are Google Cloud Platform (GCP) persistent disk snapshots a proper way for doing long-term backups?

Let's say I need a long-term backup for a webserver in Google Cloud Platform. I need to have a possibility to access to the state or restore the state of the machine up to 1 year ago. (Weekly ...
huhu78's user avatar
  • 151
1 vote
1 answer
431 views

Possible to have AWS take a snapshot of a spot instance just prior to it's unplanned termination?

I've setup a lifecycle manager to reboot a spot instance and create an AMI of the instance once every 24 hours. It would be ideal if it could do the same just prior to an unplanned termination event. ...
johnnyApplePRNG's user avatar
3 votes
2 answers
1k views

How can I recover the space in a qcow2 file after deleting snapshots, while retaining remaining snapshots?

I have a virtual machine that started out with 5 snapshots 1,2,3,4,5. I used qemu-img to delete snapshots 1,2,3. Snapshots 4 and 5 are still needed and were not deleted. How can I release the space ...
user73383's user avatar
0 votes
1 answer
730 views

Disk snapshot size created from a google compute engine exceeds used space

I have a Google Compute Instance (VM) that has a 2TB disk and around 80GB used space. I wanted to archive this VM so that I don't get billed for the whole 2TB, and also so that it is ready to be ...
mrtksy's user avatar
  • 1
0 votes
1 answer
74 views

Are there hooks for Windows Updates?

It would be really neat to be able to attach a "blocking hook" to when a Windows Update gets installed so that I could take a snapshot on an ESXi of the machine in question before the update ...
leeand00's user avatar
  • 4,919
0 votes
1 answer
124 views

Azure snapshots as VM templates

I have multiple users that all need to use almost identical VMs - the VMs should have the same OS and same software installed. I can create one VM, set it up properly and create a snapshot that others ...
zmbq's user avatar
  • 675
0 votes
1 answer
380 views

Deep Freeze for Linux. Reverting server to a previous state, kind of a "snapshot" being a physical machine (not a VM)

I work in an enviroment with a lot of Linux Servers and a few Windows servers. When we perfom some changes in the Windows ones it is very easy to go back to the original state using "Deep Freeze&...
LinuxDoesMatter's user avatar
0 votes
0 answers
81 views

Accidentally executed: sudo rm -r /* [duplicate]

This morning while I was doing a bit of work on my production server, when I accidentally executed the following command: sudo rm -r /* Sadly, the server no longer accept my public key or password ...
Maqsud's user avatar
  • 111
-1 votes
1 answer
184 views

Loop the status Result using PowerShell

I have written a script in PowerShell which creates aws ebs snapshot , its working fine without an issue , except i am not able get the Progress status at regular interval to proceed with next step in ...
Abhishek's user avatar
  • 121
0 votes
0 answers
151 views

Openstack- unable to login from snapshot instance

I took a snapshot from one instance in an openstack and put the snapshot as image in another openstack deployment, then tried to run it on a flavor that has greater hardware than required. Everything ...
Vishwa Mithra Tatta's user avatar
6 votes
2 answers
1k views

Google Cloud disk multiple snapshot schedules

Is it possible to have multiple snapshot schedules assigned to a single disk in Google Cloud Compute Engine? My goal is to have a daily snapshot schedule with a certain retention policy and a weekly ...
Jeff's user avatar
  • 309
0 votes
1 answer
212 views

HyperV Old Snapshots with No Reference - Can I Delete Them?

We've became aware recently of an issue with Hyper-V and some old snapshots that I'm assuming have been caused by failed Veeam backups (and the checkpoints not being deleted). It's a HyperV Failover ...
Killian's user avatar
  • 37
1 vote
1 answer
481 views

Noop convert qcow2 image but keeps internal snapshots

I have a qcow2 image. The image size is 200 GB, but the actual use is only 30 GB. I'm using qemu-img convert -O qcow2 source.qcow2 shrunk.qcow2 to removes sparse space and the images shrinks correctly ...
leanhtai01's user avatar
0 votes
1 answer
807 views

K8S volume snapshots - any way to export and import snapshots manually?

I have snapshotting enabled in my k8s cluster, and am able to snapshot my volumes - yet I have not found documentation on how to actually store those snapshots outside the cluster without using a ...
R. StackUser's user avatar
0 votes
1 answer
410 views

Snapshot schedule is not attaching boot disk

I created a VM and snapshot schedule with terraform modules on GCP. The code is attaching the additional disks but not the boot disk. Any idea what is needed to be changed to the below code to ...
Deepwatery's user avatar
5 votes
1 answer
168 views

Will a Solaris server tolerate a ZFS pool from its future?

My experience with ZFS has generally been that it just works, so I expect the answer will be, it’s not a problem — but I have a data pool which will ruin my January if it fubars, so I want to double-...
Deep Thought's user avatar
  • 1,628
2 votes
1 answer
3k views

zfs cannot create snapshot, out of space

I have a disk with these layers: sata disk, luks, zpool, ext4 The ext4 fs was created with these commands: cryptsetup -v luksFormat /dev/sdb cryptsetup luksOpen /dev/sda store02 zpool create zstore02 /...
nagylzs's user avatar
  • 809

1
2 3 4 5
10