Questions tagged [snapshot]
A snapshot is a copy of data taken at a specific point in time.
460
questions
0
votes
0
answers
14
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 disk ...
0
votes
0
answers
29
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/...
0
votes
1
answer
50
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....
1
vote
0
answers
84
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 ...
0
votes
1
answer
55
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/....
0
votes
1
answer
93
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 ...
0
votes
1
answer
118
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:
...
0
votes
0
answers
20
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
90
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
1
answer
176
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
158
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
60
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
155
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 ...
2
votes
1
answer
305
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
763
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
283
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, ...
1
vote
1
answer
224
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 ...
1
vote
0
answers
36
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
1
answer
167
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
634
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
85
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
113
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 ...
4
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
289
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
380
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
26
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
310
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
90
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
457
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
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 ...
1
vote
1
answer
324
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.
...
2
votes
1
answer
749
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
594
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
68
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
71
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
310
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
80
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
151
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
105
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 ...
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 ...
0
votes
1
answer
159
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
383
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
647
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
385
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
153
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-...
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 /...
0
votes
1
answer
47
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
3k
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
4k
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
55
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 ...