Menu

#3602 lvm snapshot schedule

open
5
2010-01-29
2010-01-29
No

I need a feature in webmin to replace my openfiler NAS, I think it would be useful to have in LVM module an option to schedule rotative snapshots.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2010-01-29

    Would this be for backup purposes, or something else?

    I'm not familiar with rotative snapshots as openfiler uses them .. what do they do?

     
  • Christian Pradelli

    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.

     
  • Jamie Cameron

    Jamie Cameron - 2010-01-30

    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.

     
  • Christian Pradelli

    "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.

     
  • Jamie Cameron

    Jamie Cameron - 2010-01-30

    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 ..

     
  • Christian Pradelli

    You are right, it would be a complex feature to implement,
    It's only an idea to improve Webmin.
    Thank you for your interest.

     

Log in to post a comment.

Auth0 Logo