XO File Level Restore Question
-
I am having some issues with file level restores in XO.
I figured I would start with some basic questions, and perhaps I will figure it out for myself.
Question 1:
Why can you not do a file level restore on a one-time backup? Why does it need to be a delta? -
Would be prudent to tag the developer.
-
I figured we could work it out without bugging him. I thought maybe it was some common knowledge things that wasn't common knowledge to me.
-
The delta functionality by design only pulls in the differences.
So if you were only taking fulls, you'd have to mount the entire full, to try and restore a file.
-
@DustinB3403 said in XO File Level Restore Question:
The delta functionality by design only pulls in the differences.
So if you were only taking fulls, you'd have to mount the entire full, to try and restore a file.
So you are saying the delta has the "file structure", but not necessarily the files themselves?
And that speeds up time to browse the files?
-
The delta initially creates a full (the first time or at compression time) and then pulls a new delta.
The delta is reading the file system of the VM, and listing the differences from the last delta backup. Then putting those differences into the backup.
As to whether it as the file structure only or the structure and the files doesn't make sense. The files (and folders) makes the structure.
It must have both.
-
Ah, perhaps I did that wrong.
I ran a one-time full. Then I ran a one-time delta. Seemed to work.
-
Using the delta functionality is the best approach in most cases, as you're backup times are way faster, and each backup is way smaller.
Meaning if you have a file server with 15TB of space and you want 1 backup every day, you wouldn't need 450TB of backup space.
Maybe 30TB.
-
So this is the procedure I did...
- took a full backup
- took a delta backup
- made some changes
- took another delta
The first delta, I can do a file level restore. The second, I cannot, and get this in the logs...
"message": "Command failed: mount --options=loop,ro --source=/tmp/tmp-807MrncKsoRdVxi/vhdi3 --target=/tmp/tmp-807IHywqgWplCug
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error -
@BRRABill The fact that you took the full doesn't matter.
You took a delta, made some changes and took a second delta.
The message you're getting is what needs to be addressed. Which I believe the error means you are missing a critical component to mount the file system.
-
Alrighty, guess we'll wait for @olivier
-
@DustinB3403 said in XO File Level Restore Question:
@BRRABill The fact that you took the full doesn't matter.
You took a delta, made some changes and took a second delta.
The message you're getting is what needs to be addressed. Which I believe the error means you are missing a critical component to mount the file system.
But you are saying if you'd never taken a delta before, if would do a full first, right?
-
@BRRABill said in XO File Level Restore Question:
@DustinB3403 said in XO File Level Restore Question:
@BRRABill The fact that you took the full doesn't matter.
You took a delta, made some changes and took a second delta.
The message you're getting is what needs to be addressed. Which I believe the error means you are missing a critical component to mount the file system.
But you are saying if you'd never taken a delta before, if would do a full first, right?
It should, but it's still marked as a delta in the system. You'll notice it takes longer then the subsequent delta.
-
I wonder what would happen if you took a full backup after taking a few deltas.
I guess that is the chain part that is confusing me a bit.
-
@BRRABill said in XO File Level Restore Question:
I wonder what would happen if you took a full backup after taking a few deltas.
I guess that is the chain part that is confusing me a bit.
I wouldn't know. I'd imagine it would be just fine. Unless it's keeping a snapshot on XS for some reason... which could break the chain as the delta backup is looking for a specific set of files.
-
@BRRABill said in XO File Level Restore Question:
I wonder what would happen if you took a full backup after taking a few deltas.
I guess that is the chain part that is confusing me a bit.
I would hope if you took another full after taking some deltas that either a) it wouldn't affect the old deltas at all, or b) it would cap them, and any new deltas would be based on the new full backup.
-
@Dashrender said in XO File Level Restore Question:
@BRRABill said in XO File Level Restore Question:
I wonder what would happen if you took a full backup after taking a few deltas.
I guess that is the chain part that is confusing me a bit.
I would hope if you took another full after taking some deltas that either a) it wouldn't affect the old deltas at all, or b) it would cap them, and any new deltas would be based on the new full backup.
I wonder if this is a backup theory question, or specific to each product.
-
@BRRABill said in XO File Level Restore Question:
@Dashrender said in XO File Level Restore Question:
@BRRABill said in XO File Level Restore Question:
I wonder what would happen if you took a full backup after taking a few deltas.
I guess that is the chain part that is confusing me a bit.
I would hope if you took another full after taking some deltas that either a) it wouldn't affect the old deltas at all, or b) it would cap them, and any new deltas would be based on the new full backup.
I wonder if this is a backup theory question, or specific to each product.
Probably some of both.
-
I ended up posting on their forum.
It's strange.
I have 4 deltas. The first one works, the others do not.
In have been taking deltas every hour. When the second oldest (which cannot be read) becomes the oldest, t can then be read.
-
@BRRABill Hrm... I'm curious if there is a bug...