News for hackers. Stuff that matters.
Re:Hetzner Cloud – Data loss incident by raxxorraxor on Wednesday April 13, 2022 @11:32AM (#31015881)
A snapshot of the current data? So the data is still available and another snapshot can be created?
Re:Hetzner Cloud – Data loss incident by kro on Wednesday April 13, 2022 @11:51AM (#31016158)
It reads like it indeed does not affect live data in running cloudservers, yes.

Aside from backups, the snapshots can also be used as base images to provision new nodes though, losing those could indeed be inconvenient.

Re:Hetzner Cloud – Data loss incident by throwawayboise on Wednesday April 13, 2022 @01:26PM (#31017454)
I was always under the impression that a snapshot should be an short-lived thing. E.g. you take a snapshot, make a backup or copy from that, then delete the snapshot. Where I work, the VM admins will only allow one snapshot at any point in time without special request and justification, and they encourage deleting the snapshot within 72 hours.
Re:Hetzner Cloud – Data loss incident by carlhjerpe on Wednesday April 13, 2022 @03:26PM (#31019084)
Depends on the solution, but in many systems snapshots are cheap, like zfs or btrfs. I can imagine ceph snapshots being quite cheap too.

Edit: people use snapshots to compliment backups too, you can do snapshots hourly and back a snapshot up daily. (They don't act as backups, more like "oops" revert solutions, humans are more likely to fail than machines)

If you're using VMware or Hyper-V the backups rely on a dirty "bitmap" of which blocks has been written since last backup so it only has to pull those from the system, this doesn't work with more snapshots for some reason. Enterprise backup solutions will just pull the entire machine and compare what's changed anyways, but you usually get a warning about it. So grumpy admins

Re:Hetzner Cloud – Data loss incident by throwawayboise on Wednesday April 13, 2022 @04:35PM (#31019899)
Yes it's VMware.
Re:Hetzner Cloud – Data loss incident by CodesInChaos on Wednesday April 13, 2022 @05:30PM (#31020550)
You're using a rather narrow/implementation specific definition of snapshot.

I believe EBS snapshots are equivalent to you temp-snapshot, incremental/deduplicated backup/delete temp snapshot combination. Logically it's still a snapshot, because it contains all data of the volume at a specific point in time, but the cloud provider abstracts away the details of how it achieves durability.

Re:Hetzner Cloud – Data loss incident by k8sToGo on Wednesday April 13, 2022 @11:35AM (#31015930)
Also old snapshots
Re:Hetzner Cloud – Data loss incident by op00to on Wednesday April 13, 2022 @11:51AM (#31016156)
Snapshots are often used for deployment of systems. What happens if the snapshot you rely on as a base image gets lost?
Re:Hetzner Cloud – Data loss incident by justinholmes on Wednesday April 13, 2022 @12:17PM (#31016520)
Base images should be repeatable anyway using packer etc.
Re:Hetzner Cloud – Data loss incident by tetha on Wednesday April 13, 2022 @12:44PM (#31016911)
Even though this is a bit tricky on the hetzner cloud, because it requires the addition of a static route[1] to access the internet which isn't pushed by the DHCP, and I haven't been able to fully automate that in debians preseed for the life of me.

Yes it's offtopic, but that's one really frustrating thing. Maybe someone here has a solution.

1: https://docs.hetzner.com/cloud/servers/iso-installation-gate...

Re:Hetzner Cloud – Data loss incident by sam_lowry_ on Wednesday April 13, 2022 @02:46PM (#31018571)
cloud-init?
Re:Hetzner Cloud – Data loss incident by tetha on Wednesday April 13, 2022 @03:16PM (#31018957)
cloud-init does help us, once we have a working linux, but we can also bake the static route into a base image.

The problem is that preseed is a very minimal linux environment and either relies on DHCP to work, or to use the usual network config DHCP sets (address, netmask, gateway). Arbitrary routes are not a possibility there. And ways to run abitrary commands to just <ip r> something come after the network initialization, which fails in that setup. The same holds for the kernel network bootstrapping parameters, I haven't found a way to add an arbitrary route there yet.

And for some reason, kickstart is able to handle this with it's centos/RHEL base.

Re:Hetzner Cloud – Data loss incident by traspler on Wednesday April 13, 2022 @11:54AM (#31016206)
Create a new one?
Re:Hetzner Cloud – Data loss incident by op00to on Wednesday April 13, 2022 @12:07PM (#31016382)
If the base snapshot is gone, all future snapshots that rely on that snapshot may be invalid. Depends on exactly how snapshots are implemented. Are they a delta of the previous snapshot? Are they a full copy of the device?
Re:Hetzner Cloud – Data loss incident by Kwpolska on Wednesday April 13, 2022 @01:45PM (#31017736)
Hetzner snapshots are fully independent disk images, nothing more, nothing less.
Re:Hetzner Cloud – Data loss incident by op00to on Wednesday April 13, 2022 @06:56PM (#31021337)
Thanks! $20 seems kinda fair then, I guess.