r/openstack • u/ChemicalBurnClub • Jan 24 '26
Noob looking for pointers regarding backups
Hi,
I am relatively new to OpenStack and have a cloud running with 3 instances: 1 Windows Server and 2 Linux servers. The Windows machine has a 50Gb startup volume and 300Gb attached volume for all critical data. Everything is humming along just fine. My main occupation is software development, but I am looking to expand my knowledge on infrastructure.
I am trying to understand how backups work and what is the best strategy. I've seen that this is the domain of several vendors who supply a solution that can hook into my cloud and do this for me. But I am frustrated because I want to understand how things work under the covers and how I could do this myself. Ideally I'd like to create a script/program/task somewhere that ensures my Windows server is backed up and deletes old backups where necessary. I am playing with the CLI tool and have created an SDK that will work against the API endpoints.
What I don't get:
- A full backup of a volume of 300Gb takes forever (like almost 2 hours). This could be my provider of course. But I am wondering if this is just bad practice.
- An incremental backup appears to run quicker, but I am puzzled that I don't need to supply a parent ID from which to increment (both API and CLI). How does it know which backup to increment from? Is it just the last? And it still shows 300Gb in size in the UI. Is there any way to determine how many Gb were actually in the diff?
I have a hunch that one would create a full backup let's say every day and then incremental every hour. Is that correct? What is best practice if I need to have a backup cadence of let's say 2 hrs (i.e. need to be able to roll back to max 2 hrs prior)?
Is there a good resource for this that I've missed? I seem to only find promotional videos for the commercial vendors and their solutions.
Thank you.
View all comments
Show parent comment
1
u/ChemicalBurnClub Jan 24 '26
Thank you. I don't have the provider specifics but your answer helps me understand a bit more.
The snapshot takes another 300 GB out of my 1 TB allowance. So it basically reserves an extra 300 GB block and uses that to write to while reading from one on top of the other (layering). OK, I *think* I understand this. It explains why this is instant.
When creating the backup it doesn't remove any space from my allowance suggesting to me it is moved to another type of storage. Given how slow it is probably going from SSD to HDD. Which is fair enough. I just need to take into account that a full restore would probably take a few hours to complete. I just hope the provider stores it somewhere else than right next to the main machine. Downloading 300 GB for an offsite copy on a regular basis is not really an option. I can do an application-level backup by just getting the DB which is the most critical bit and a lot smaller and easier to move around.