Free Veeam for DGraph Linux Restore
-
@DustinB3403 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@DustinB3403 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@DustinB3403 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@DustinB3403 but what problem does that solve that isnt already covered by what he has? The Veeam Linux tools already do that.
He was asking for a free tool to run the script. Windows Task Scheduler is free in that he already has Windows and it's included.
Assuming he has drivers installed on the VM, those drivers talk to the hypervisor. The hypervisor should manage the pausing of all actions when called into action.
What he has is a free tool that runs the script though.
No, there are no hooks to do what youbare thinking. The hypervisor cant do that. Thats not how it works.
okay, I'm not in a good mood to deal with this crap today.
Its not crap. You are doing the "hypervisors are magic" myth. He already has everything... the free tool, the script, the VSS style layer, the drivers.... but they dont work in a situation like this. Making a second set of them wont change anything. Just make it harder.
What second set? He would be using the damn tools he already has to pause the VM, take a snapshot and export it. On a schedule.
Nothing in what I've read (granted I didn't read the entire topic because its tripe) says that this wouldn't work.
All things he is already doing and dont work. The situation you recommend is the one this thread is about that doesnt work.
-
Open files cant be backed up any more by agent or agentless processes. Both approaches use drivers to pause the VM. Both require hooks to the app, not the file system. Neither exists for Dgraph.
-
I'm now ignoring this topic as I'm not able to handle this conversation today.
Good luck with whatever custom script devops setup you end up purchasing/building/hooking for.
-
@DustinB3403 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@DustinB3403 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@DustinB3403 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@DustinB3403 but what problem does that solve that isnt already covered by what he has? The Veeam Linux tools already do that.
He was asking for a free tool to run the script. Windows Task Scheduler is free in that he already has Windows and it's included.
Assuming he has drivers installed on the VM, those drivers talk to the hypervisor. The hypervisor should manage the pausing of all actions when called into action.
What he has is a free tool that runs the script though.
No, there are no hooks to do what youbare thinking. The hypervisor cant do that. Thats not how it works.
okay, I'm not in a good mood to deal with this crap today.
Its not crap. You are doing the "hypervisors are magic" myth. He already has everything... the free tool, the script, the VSS style layer, the drivers.... but they dont work in a situation like this. Making a second set of them wont change anything. Just make it harder.
What second set? He would be using the damn tools he already has to pause the VM, take a snapshot and export it. On a schedule.
Nothing in what I've read (granted I didn't read the entire topic because its tripe) says that this wouldn't work.
That still doesn't quiesce the database. Which is the problem that the OP is having. The database still has files open when a backup occurs and that causes issues when they go to restore.
This is a job for the native backup tools.
-
@DustinB3403 said in Free Veeam for Linux/Restore:
I'm now ignoring this topic as I'm not able to handle this conversation today.
Good luck with whatever custom script devops setup you end up purchasing/building/hooking for.
Better than ignoring his corruption entirely and acting like he doesnt have a challenge to tackle and pushing a totally useless solution that requires him to change everything and just puts him back to square zero for no reason.
-
@coliver said in Free Veeam for Linux/Restore:
@DustinB3403 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@DustinB3403 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@DustinB3403 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@DustinB3403 but what problem does that solve that isnt already covered by what he has? The Veeam Linux tools already do that.
He was asking for a free tool to run the script. Windows Task Scheduler is free in that he already has Windows and it's included.
Assuming he has drivers installed on the VM, those drivers talk to the hypervisor. The hypervisor should manage the pausing of all actions when called into action.
What he has is a free tool that runs the script though.
No, there are no hooks to do what youbare thinking. The hypervisor cant do that. Thats not how it works.
okay, I'm not in a good mood to deal with this crap today.
Its not crap. You are doing the "hypervisors are magic" myth. He already has everything... the free tool, the script, the VSS style layer, the drivers.... but they dont work in a situation like this. Making a second set of them wont change anything. Just make it harder.
What second set? He would be using the damn tools he already has to pause the VM, take a snapshot and export it. On a schedule.
Nothing in what I've read (granted I didn't read the entire topic because its tripe) says that this wouldn't work.
That still doesn't quiesce the database. Which is the problem that the OP is having. The database still has files open when a backup occurs and that causes issues when they go to restore.
This is a job for the native backup tools.
And nothing but the native tools. The onky viable work around is a deep investigation into what is holding the files open and a bunch of silly scripting or a full power down of the VM.
-
@scottalanmiller said in Free Veeam for Linux/Restore:
@DustinB3403 said in Free Veeam for Linux/Restore:
I'm now ignoring this topic as I'm not able to handle this conversation today.
Good luck with whatever custom script devops setup you end up purchasing/building/hooking for.
Better than ignoring his corruption entirely and acting like he doesnt have a challenge to tackle and pushing a totally useless solution that requires him to change everything and just puts him back to square zero for no reason.
With a backup that cant be relied upon.
-
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@DustinB3403 said in Free Veeam for Linux/Restore:
I'm now ignoring this topic as I'm not able to handle this conversation today.
Good luck with whatever custom script devops setup you end up purchasing/building/hooking for.
Better than ignoring his corruption entirely and acting like he doesnt have a challenge to tackle and pushing a totally useless solution that requires him to change everything and just puts him back to square zero for no reason.
With a backup that cant be relied upon.
Exactly. Its crash consistent only.
-
@scottalanmiller said in Free Veeam for Linux/Restore:
a full power down of the VM
Which isn't out of the question... not really. Does this database need to be up 100% of the time?
-
@coliver said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
a full power down of the VM
Which isn't out of the question... not really. Does this database need to be up 100% of the time?
Not 100% of the time. No.
But equally, daily downtime just for purposes of a backup is too frequent, even if only a few minutes. Its something we can plan for and will find a way. May be the case of just using the built in backup tool, and having documented rebuild process should the VM fail.
-
@coliver said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
a full power down of the VM
Which isn't out of the question... not really. Does this database need to be up 100% of the time?
No. But kinda silly.
-
@Jimmy9008 said in Free Veeam for Linux/Restore:
@coliver said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
a full power down of the VM
Which isn't out of the question... not really. Does this database need to be up 100% of the time?
Not 100% of the time. No.
But equally, daily downtime just for purposes of a backup is too frequent, even if only a few minutes. Its something we can plan for and will find a way. May be the case of just using the built in backup tool, and having documented rebuild process should the VM fail.
There is no reasonable way, and no reasonable reason, to avoid the built in tool. If you want a traditional backup model, just use the native tool to make a local backup, then backup then VM as you are now. Its unnecessarily heavy. But it will work.
-
@Jimmy9008 said in Free Veeam for Linux/Restore:
@coliver said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
a full power down of the VM
Which isn't out of the question... not really. Does this database need to be up 100% of the time?
Not 100% of the time. No.
But equally, daily downtime just for purposes of a backup is too frequent, even if only a few minutes. Its something we can plan for and will find a way. May be the case of just using the built in backup tool, and having documented rebuild process should the VM fail.
This is probably the way to go. Even building a template/cold spare to spin a clone up when/if something goes wrong may be a good idea. Then you just restore the data to it and you're good to go. No nearly as automated as the Devops approach but feasible for someone without that experience to just load up.
-
-
You all need to learn to just ignore Scott when he takes his shiny toy and runs with it.
-
@Jimmy9008 I stopped reading early on because Scott.
Did you actually ever try to make and restore a backup from the hypervisor with Veeam?
A hypervisor level snapshot is not the same thing as guest backup. it is different tools at a different layer.
It may or may not work with your application, but it is a totally different mechanism.
While state solutions may be nice, they are by no means the bbest solution @scottalanmiller always makes them out to be. It add complexity and requires a total change of the design of your IT infrastructure.
Shit is not, ever, as black and white and Scott tries to make it.
-
@JaredBusch said in Free Veeam for DGraph Linux Restore:
@Jimmy9008 I stopped reading early on because Scott.
Did you actually ever try to make and restore a backup from the hypervisor with Veeam?
A hypervisor level snapshot is not the same thing as guest backup. it is different tools at a different layer.
It may or may not work with your application, but it is a totally different mechanism.
While state solutions may be nice, they are by no means the bbest solution @scottalanmiller always makes them out to be. It add complexity and requires a total change of the design of your IT infrastructure.
Shit is not, ever, as black and white and Scott tries to make it.
Actually they are the same mechanism here. Its an LVM, just one layer down. Otherwise identical. I know you love hypervisor backups but they arent magic and within this context they work identically.
Dont give false hope. If you know how hypervisor backups work you know that they cant solve this problem.
-
@JaredBusch said in Free Veeam for DGraph Linux Restore:
You all need to learn to just ignore Scott when he takes his shiny toy and runs with it.
The shiny toy here is pushing hypervisor backups blindly.
-
@JaredBusch said in [Free Veeam for DGraph Linux
Shit is not, ever, as black and white and Scott tries to make it.
Actually it is black and white. You are pretending it isnt to push your darling product that you always push without looking into what his issue is or understanding how the LVM layer issue is identical between solutions.
-
@Jimmy9008 said in Free Veeam for DGraph Linux Restore:
Hi Folks,
I have used the free Windows Veeam backup tool for a while, love it. Works perfectly. We have a Linux machine (CentOS 7) which needs to be backed up regularly, so I have turned to the Linux Veeam tool (I expect it would be just as good as the tool for Windows).
Installed, updated, and setup to backup to our NAS. Backup ran successfully. I am able to restore the backup using the recovery disk from Veeam and the backup file from my NAS. Seems smooth... the problem though, the software on the Linux server (DGraph) stops working when restored from the backup.
The machine boots fine, I can access the desktop, but when trying to run DGraph I get errors. I expect the application isnt happy about being backed up by Veeam when on, so I tested some more.
I reinstalled DGraph and got it working again. Then, I ended the DGraph process (or service - whatever its called in Linux?)... then I ran the backup. I guess if the application is offline when the backup is made, the backup must work fine. But upon restore DGraph still does not work.
Not sure what is going on, even with DGraph off before the backup the application fails. Any ideas?
In Windows, if the software isnt running I have always seen a backup work successfully. Not posted on to Veeam forums yet, wanted to see if any ideas from here.
Any other tools I should try other than Veeam?
Best,
JimIf I read correctly, I understand you're using a Hyper-V host running a CentOS 7 VM that has DGraph installed.
I wouldn't put any backup software on the CentOS 7 VM. I'm saying this, first, because I don't know what DGraph is, and second, there are reasons to put backup software on VMs, but I don't see a reason to in your post.
I would back up the VM through the Hyper-V host using Windows Server Backup. For a smaller number of VMs, this works very well as far as backup process and restores. It's pretty simple and just works. In one example, I've used it in production on a Hyper-V Server 2016 host for up to about 60 VMs totalling roughly 15 TB back then, before I was sure WSB was way out-grown.
The free Veeam you are using in your Windows VMs will not back up VMs via the host... meaning you cannot install the free Veeam edition on your Hyper-V host and expect it to back up your VMs.
Host-level backups of your VMs will fully take advantage of the VSS capabilities in Hyper-V. Also, in your CentOS 7 VM, be sure to install the hyperv-daemons package:
sudo yum install hyperv-daemons