-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How is a simple pyznap send supposed to work? #43
Comments
Most likely your dataset pyznap does do incremental backup. Whenever you do |
I'm seeing a problem now. When I create a brand new empty dataset ( When I then use
Then afterwards, using the command you provided, I see it has been unmounted. Which means I can't see any files when browsing to that dataset. Is this expected behavior? Wouldn't it be helpful if pyznap recognized this and didn't unmount the dataset? |
While receiving the dataset is unmounted. pyznap uses the |
I'd be interested to find out how it works for you then. |
I think my idea was then that it should not try to mount datasets in the same mountpoint as the source. I had a problem at some point when I |
It's a bit strange, it seems I cannot change the Though on all my systems my remote backups are not unmounted after every |
That's weird... is there anything I can try to stop it from unmounting? Or perhaps Pyznap can perform a check, upon completion of the backup, to re-mount it in case it hasn't been remounted. Would it be possible to add that? |
Does it still unmount even after you manually mount it at some point using |
Yes, it does mount when I manually mount it, but the point is that it would be much handier if that happened automatically. And in case the user does NOT want an automatic re-mount (I can't think of any reason, but let's just assume there is one) perhaps add a flag to the |
Obviously it would be better if datasets are remounted automatically. I only had to manually remount them once, after that the were never unmounted again. As I mentioned before, I cannot simply remove the |
Hi @yboetz, have you looked into this issue more? |
Not much. When I last tested it, I couldn't get it to work without the |
So I have two datasets:
ssd/files
andhdd/backup
I want to backup dataset
ssd/files
tohdd/backup
. Preferably a 1-to-1 copy; a full backup. So I type:pyznap send -s ssd/files -d hdd/backup
Once it's finished, I browse to the hdd/backup folder and I see nothing. I do see the snapshots listed when I do
zfs list -t snapshot hdd/backup
. Is this expected behavior? How am I supposed to progress this snapshot to an actual backup, with files and all, using pyznap?Wouldn't it be better if pyznap could do a full incremental backup where the files appear in the dataset? Just wondering what is the recommended procedure for something like this.
The text was updated successfully, but these errors were encountered: