CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I'm working on a project and need a backup solution.
Its a single physical server used as a hypervisor to host around 20 guest instances.
Now, after using a lot of time configuring everything, I really need a good backup solution for it.
The server is configured with RAID 0, and the operating system is CentOS 7.5.
I have a local network drive, I would like to use this to store my backup files and use the same drive to restore it again.
Would really appreciate any help with this, Thanks!
Are you looking to backup your config files? Or to do a full backup that will also be used for bare-metal recovery?
---
For bare-metal recovery, what are you using for RAID controller (you mentioned RAID0)?
There are several products that will not support BIOS (aka fake) RAID.
---
If you only want to backup your config files, you can use rsync.
If you want help, answer the questions - being evasive will only dissuade people.
- which RAID0 - mdadm, LVM, something else ?
- which hypervisor - KVM, VMWare, something else ?
- can you stop/pause all the guests at the same time for the backup ?.
- what outage on the host can you tolerate ?.
- how often ?.
...
My bad if the information given was a bit limited.
The raid controller is configured with mdadm and the hypervisor is running KVM.
I have no problem stopping all the guests at the same time for the backup, and it wouldn't matter if the server went offline for a long period of time.
I'm not really interested I a solution for routine backups, I just need to have one as a restore point.
At this point, I think the easiest would be to just manually backup all the files with rsync.
My bad if the information given was a bit limited.
The raid controller is configured with mdadm and the hypervisor is running KVM.
I have no problem stopping all the guests at the same time for the backup, and it wouldn't matter if the server went offline for a long period of time.
I'm not really interested I a solution for routine backups, I just need to have one as a restore point.
At this point, I think the easiest would be to just manually backup all the files with rsync.
What do you think?
Well, to be honest, it's not what we think. You should consider pro/con of both and make a decision.
For example, you have RAID0, in case if single disk failure, you are looking at total loss.
In that situation, you are looking at reinstall OS/apps, then copy config files back. All manual work. And, may be you have time to do this.
And, where are your VMs, are they also on the RAID0 volume? If yes, you should consider backing them up.
Hi,
I'm working on a project and need a backup solution.
Its a single physical server used as a hypervisor to host around 20 guest instances.
Now, after using a lot of time configuring everything, I really need a good backup solution for it.
The server is configured with RAID 0, and the operating system is CentOS 7.5.
I have a local network drive, I would like to use this to store my backup files and use the same drive to restore it again.
Would really appreciate any help with this, Thanks!
Hi OP! Which KVM hypervisor is it running?
Are you looking to back up your guest VMs as well or not?
I'm assuming you have a single host hypervisor with local storage? I think it would be best if you tackle a complete backup as two separate tasks:
1. backup of the hypervisor
2. backup of the guests
For point 2 this should be two parts in itself: a) the guests disk(s) and b) the guest configuration (such as VM name, CPU, memory etc as configured in the
I guess more info is needed to help you further.
If you have network storage and snapshot capability, and the Hosts disk is running on this; then what you could do is snapshot the storage and revert the snapshot to recover. Bear in mind that if your VMs are also on the same storage then a host restore will also restore all of the guests state as well.
If you can, then I'd recommend running the guests disks away from the hosts so you can manage them more simply; understand this may not be an option.
If you only want to backup the VMs then you can copy the folder off the system that contains the VM info and disk. But restoring this might be an issue. For example, to restore, you might need to create a dummy VM and then do a dd if=backed-up-vm-image.img of=dummy-vm-image.img
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.