Yes, it's for backup purposes.
for example it let's you automatically have backups for last 4 days and 1 for each last 6 months in an incremental way.
If somebody delete or modify something by mistake you can have several backups of the file for intermediately restore.
I a feature that I like to see in webmin for easylli setup a nas in 5 minutes, but I know that I can implement it by bash scripting too.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
LVM snapshots don't really work like that though - they are done at the block device level (whole filesystem), instead of per-file. So they can't be used to easily create the kinds of backups you see on a NAS, such as with .snapshot directories.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"they are done at the block device level (whole filesystem)".
Yes. But when you configure a machine as a NAS you usually define an entire file system (LVM Volume) to store the files. If you snapshot this volume your doing a backup of your nas.
Don't see it as a backup that you keep with you, Is a backup of the information at a time, so you can restore files if you accidentally delete them.
This is useful in networks where many people can access and modify the same information.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sure, that could be done .. although the snapshot would have to be mounted separately.
This would be quite a complex feature though, as snapshots would have to be sizes correctly and deleted after some period to avoid filling up the disk. It would really deserve a new separate module ..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Would this be for backup purposes, or something else?
I'm not familiar with rotative snapshots as openfiler uses them .. what do they do?
Yes, it's for backup purposes.
for example it let's you automatically have backups for last 4 days and 1 for each last 6 months in an incremental way.
If somebody delete or modify something by mistake you can have several backups of the file for intermediately restore.
I a feature that I like to see in webmin for easylli setup a nas in 5 minutes, but I know that I can implement it by bash scripting too.
LVM snapshots don't really work like that though - they are done at the block device level (whole filesystem), instead of per-file. So they can't be used to easily create the kinds of backups you see on a NAS, such as with .snapshot directories.
"they are done at the block device level (whole filesystem)".
Yes. But when you configure a machine as a NAS you usually define an entire file system (LVM Volume) to store the files. If you snapshot this volume your doing a backup of your nas.
Don't see it as a backup that you keep with you, Is a backup of the information at a time, so you can restore files if you accidentally delete them.
This is useful in networks where many people can access and modify the same information.
Sure, that could be done .. although the snapshot would have to be mounted separately.
This would be quite a complex feature though, as snapshots would have to be sizes correctly and deleted after some period to avoid filling up the disk. It would really deserve a new separate module ..
You are right, it would be a complex feature to implement,
It's only an idea to improve Webmin.
Thank you for your interest.