Questions tagged [snapshot]
A snapshot is a copy of data taken at a specific point in time.
458
questions
0
votes
0
answers
12
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 ...
0
votes
0
answers
38
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 ...
0
votes
0
answers
68
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
1
answer
70
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
...
0
votes
1
answer
30
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 ...
0
votes
1
answer
98
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 ...
0
votes
0
answers
101
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 ...
0
votes
1
answer
406
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 ...
1
vote
0
answers
221
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, ...
0
votes
0
answers
89
views
How to import Azure exported Snapshot or exported Disk?
For both Disk and Snapshot Azure resources there is the "Snapshot Export" and "Export Disk" functionality respectively.
OK, so I can download either my Snapshots or Disk to ...
1
vote
1
answer
116
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 ...
0
votes
0
answers
101
views
backup snapshot vultr linux host to local Windows
Vultr Linux snapshots are falling too expensive as the number of servers we acquired has grown.
Thus, I wish to create a snapshot/backup (entire OS along with open ports, swap memory, and installed ...
1
vote
0
answers
21
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'...
0
votes
0
answers
19
views
Can a QEMU Snapshot taken in an Ubuntu machine be used in a Mac machine?
I am trying to understand if QEMU snapshots are cross-platform. I have two queries in particular around this, which I can't fully understand after reading through available info.
Are snapshot cross-...
0
votes
0
answers
118
views
Powershell to remove EC2 snapshots
Below is a snippet to print the snapshot ids that are grabbed below a certain date. I can see that the text file is created with the older snapshot details like the below, but snapshot ids are not ...
0
votes
0
answers
23
views
Is there any way to take scylla db snapshot from a remote server
We have a disk space issue.
So, in order to upgrade the node , we are thinking of taking a snapshot before the upgrade of the node.
So, in order to not disturb the existing disk space, is there any ...
0
votes
1
answer
99
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 ...
1
vote
1
answer
487
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 ...
1
vote
1
answer
76
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 ...
0
votes
1
answer
78
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 ...
3
votes
1
answer
1k
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 ...
0
votes
1
answer
233
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 ...
1
vote
2
answers
286
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 ...
0
votes
1
answer
23
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 ...
1
vote
0
answers
253
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 ...
0
votes
0
answers
81
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 ...
1
vote
2
answers
334
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 ...
2
votes
2
answers
939
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 ...
1
vote
1
answer
230
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.
...
1
vote
0
answers
552
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 ...
0
votes
1
answer
497
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 ...
0
votes
1
answer
63
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 ...
0
votes
1
answer
51
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 ...
0
votes
1
answer
257
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&...
0
votes
0
answers
77
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 ...
-1
votes
1
answer
122
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 ...
0
votes
0
answers
63
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 ...
5
votes
2
answers
972
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 ...
0
votes
1
answer
113
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 ...
1
vote
1
answer
272
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 ...
0
votes
1
answer
528
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 ...
0
votes
1
answer
343
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 ...
5
votes
1
answer
133
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-...
1
vote
1
answer
2k
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 /...
0
votes
1
answer
37
views
Is there a way to re-build a physical machine (into golden image) without dedicated hardware?
I have a small office (total of 6 computers) for translation,
Due to the fact that many of the documents are private and personal and the security risk of opening word documents, pdf and so, I would ...
1
vote
1
answer
2k
views
CentOS, revert back to a clean state (by backup or snapshot) without physically going to the server [closed]
I am running CentOS 8 and I would like to rollback to a point in time (backup or snapshot), but without having to boot from USB. Many tools permit this on Windows (e.g. Macrium Reflect) and I would ...
2
votes
1
answer
3k
views
zfs send multiple snapshots
I want send several zfs snapshots to another pool. Source pool "rpool", target pool "dpool"
rpool/kvm1380_img 88,6G 1,48T 77,6G -
rpool/...
0
votes
1
answer
51
views
How long has a snapshot been running?
Assume I made a snapshot of a certain VM one week ago. Today I revert to that snapshot, I think this means the delta.vmdk gets deleted (e.g. everything after the snapshot is lost). I think this also ...
2
votes
2
answers
392
views
ZFS data lost after a rollback happening on reboot
Edit1:
Unlike what I originally thought when creating this question, it seems that the problem was NOT directly caused by the unplanned power-cycle, but by a mistake I might have done with beadm in ...
2
votes
1
answer
549
views
ZFS - Deleting Redundant Snapshots
I have written a cron job to automatically create snapshots of ZFS dataset on an hourly basis for critical files that benefit from active tracking.
The drawback of this is that these hourly snapshots ...