-
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
Shadow Copy Localtime error? #50
Comments
This is a samba problem, not a pyznap one. I don't use samba so I cannot help you here. Only thing I can think of is incorrect timezone setting either on the ZFS or windows machine. |
Thank you for the reply, quick question as for your pyznap would it be possible to clean snapshots after certain amount of space? saying that only snapshots 30% of the storage more then that would start cleaning? |
I was checking the logs found something particular when i set localtime to yes on the smb conf
its as if cannot convert it? |
It's not possible to clean snapshots after they take up a certain amount of space with pyznap. This is also not desirable: Say you are hit with a cryptolocker, then very quickly your snapshots will take up a lot of space and it would be disastrous to start deleting them at that point. Better to have a policy where you have control over how far back you can go, and if space is a problem then you have to overthink that policy. Snapshots are not mutable, you cannot delete files after you take a snapshots. Deleting files in the .zfs/snapshots folder will have no effect. Only way to delete data in a snapshot is to delete the whole snapshot. As for your logs, again I don't know anything about samba, so I don't really know what this error message is. |
Thank you again and yes you do make a good point |
Hi,
I was looking at the #41
as it helped me configure shadow copies on samba which workes great the only issue is the localtime is incorrect. on the snapshot i get this
and on the windows before version shows date correct but the time is 6:46am there is 5 hours difference, maybe did i miss something?
This is my samba conf
Thank you
The text was updated successfully, but these errors were encountered: