Free Veeam for DGraph Linux Restore
-
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
This is the command for a Dgraph backup...
curl localhost:8080/admin/backup
I found that yesterday, we are thinking about using this whilst also looking for other options. Ideally we would use this for a backup at the application level, but also something like Veeam Linux Free to allow us to quickly restore the VM should we need to, rather than use the backup file from DGraph.
Thats not a good path. Backup you data and be able to restore quickly through normal processes. You can still recover quickly uaing the proper tools. You cant work around them.
-
@scottalanmiller said in Free Veeam for Linux/Restore:
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@notverypunny said in Free Veeam for Linux/Restore:
@Jimmy9008 I don't know the specifics for HyperV, I know that the free Veeam product requires that a VMWare host be licensed to expose the backup API, I didn't think that the same principle applied for HyperV but could be mistaken.
It does not as there is no such thing as a Hyper-V license.
Doesn't Veeam Zip its self require a license to be able to use the scheduling feature? Its useless to me without that.
That would not be Veeam Zip if you do that. Veeam Zip is the free non-scheduled tool.
Thats what I thought. Any free tools I can look in to?
Not that I know of. Nor will it make a difference. Its a false path. VM layer backups dont solve open file issues.
I thought that was the issue too, thats why I tested after shutting down the software using: curl localhost:8080/admin/shutdown
Must be something open then. I thought that the command would shut down the DGraph server, release all files... so then the image made by Veeam is good. But after trying it this just didnt work...
-
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
What command are you using to shut down Dgraph? And is this part of a cluster?
Not part of a cluster. Our development team are using this from the VM its self:
curl localhost:8080/admin/shutdown
That "should" bring it down.
I wonder if something else is using Badger.
-
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@notverypunny said in Free Veeam for Linux/Restore:
@Jimmy9008 I don't know the specifics for HyperV, I know that the free Veeam product requires that a VMWare host be licensed to expose the backup API, I didn't think that the same principle applied for HyperV but could be mistaken.
It does not as there is no such thing as a Hyper-V license.
Doesn't Veeam Zip its self require a license to be able to use the scheduling feature? Its useless to me without that.
That would not be Veeam Zip if you do that. Veeam Zip is the free non-scheduled tool.
Thats what I thought. Any free tools I can look in to?
Not that I know of. Nor will it make a difference. Its a false path. VM layer backups dont solve open file issues.
I thought that was the issue too, thats why I tested after shutting down the software using: curl localhost:8080/admin/shutdown
Must be something open then. I thought that the command would shut down the DGraph server, release all files... so then the image made by Veeam is good. But after trying it this just didnt work...
You can use LSOF to query the data files and see what is holding them open.
-
@scottalanmiller said in Free Veeam for Linux/Restore:
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
What command are you using to shut down Dgraph? And is this part of a cluster?
Not part of a cluster. Our development team are using this from the VM its self:
curl localhost:8080/admin/shutdown
That "should" bring it down.
I wonder if something else is using Badger.
Possibly. Our dev guy is back in tomorrow so will look in to this.
-
Why no cluster? Not enough hardware?
-
This is an example of where modern Devsops backups solve these problems. If you do that way this whole thing is resolved.
Databases are ideal for this. Backup using the only working tool, the built in one. Build the box itself with a state engine like Ansible. Now your restore is faster and safer and your backups faster and smaller. Win win win.
-
@scottalanmiller said in Free Veeam for Linux/Restore:
Why no cluster? Not enough hardware?
I imagine that will be the end position. But, the decision is not under my control and as it stands its the single instance. We have the hardware though.
-
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
Why no cluster? Not enough hardware?
I imagine that will be the end position. But, the decision is not under my control and as it stands its the single instance. We have the hardware though.
But your backup thought process is 100% dependent on there never being a cluster. So if thats a possibility you have to plan for it
-
@scottalanmiller said in Free Veeam for Linux/Restore:
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
Why no cluster? Not enough hardware?
I imagine that will be the end position. But, the decision is not under my control and as it stands its the single instance. We have the hardware though.
But your backup thought process is 100% dependent on there never being a cluster. So if thats a possibility you have to plan for it
That is correct. Will have a chat when the dev guy is in tomorrow to see where this is going.
-
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@notverypunny said in Free Veeam for Linux/Restore:
@Jimmy9008 I don't know the specifics for HyperV, I know that the free Veeam product requires that a VMWare host be licensed to expose the backup API, I didn't think that the same principle applied for HyperV but could be mistaken.
It does not as there is no such thing as a Hyper-V license.
Doesn't Veeam Zip its self require a license to be able to use the scheduling feature? Its useless to me without that.
That would not be Veeam Zip if you do that. Veeam Zip is the free non-scheduled tool.
Thats what I thought. Any free tools I can look in to?
Windows Tasks Manager can call your script. It is literally that easy.
-
@DustinB3403 said in Free Veeam for Linux/Restore:
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@notverypunny said in Free Veeam for Linux/Restore:
@Jimmy9008 I don't know the specifics for HyperV, I know that the free Veeam product requires that a VMWare host be licensed to expose the backup API, I didn't think that the same principle applied for HyperV but could be mistaken.
It does not as there is no such thing as a Hyper-V license.
Doesn't Veeam Zip its self require a license to be able to use the scheduling feature? Its useless to me without that.
That would not be Veeam Zip if you do that. Veeam Zip is the free non-scheduled tool.
Thats what I thought. Any free tools I can look in to?
Windows Tasks Manager can call your script. It is literally that easy.
If the host is using powershell to get Veeam to perform the backup, were still in the position where the VM its self has a file open (or something) which is stopping the backup from being good...
-
@DustinB3403 but what problem does that solve that isnt already covered by what he has? The Veeam Linux tools already do that.
-
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
@Jimmy9008 said in Free Veeam for Linux/Restore:
@scottalanmiller said in Free Veeam for Linux/Restore:
Why no cluster? Not enough hardware?
I imagine that will be the end position. But, the decision is not under my control and as it stands its the single instance. We have the hardware though.
But your backup thought process is 100% dependent on there never being a cluster. So if thats a possibility you have to plan for it
That is correct. Will have a chat when the dev guy is in tomorrow to see where this is going.
The devops approach solves this for a cluster or a single node elegantly.
-
@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.
-
@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.
-
@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.
-
@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.
-
When you login to the hypervisor using your elevated credentials, and drivers are installed. At least with Veeam ZIP the VM is paused, a snapshot is created and then an Export is made.
That is how Veeam ZIP works, leveraging the drivers within the VM and the Hypervisor tools and creds to perform the backup operation.
-
@DustinB3403 said in Free Veeam for Linux/Restore:
When you login to the hypervisor using your elevated credentials, and drivers are installed. At least with Veeam ZIP the VM is paused, a snapshot is created and then an Export is made.
That is how Veeam ZIP works, leveraging the drivers within the VM and the Hypervisor tools and creds to perform the backup operation.
Sure. But since we know a paused VM wont do it, only a stopped one, whats the goal? What he has already pauses the VM.