معرفی شرکت ها


btrfs-simple-snapshots-0.1.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Snapshot you btrfs subvolumes and apply a retention policy
ویژگی مقدار
سیستم عامل -
نام فایل btrfs-simple-snapshots-0.1.4
نام btrfs-simple-snapshots
نسخه کتابخانه 0.1.4
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Arnaud Levaufre
ایمیل نویسنده arnaud@levaufre.name
آدرس صفحه اصلی https://github.com/ArnaudLevaufre/btrfs-simple-snapshots
آدرس اینترنتی https://pypi.org/project/btrfs-simple-snapshots/
مجوز MIT
Btrfs simple snapshots ====================== Take snapshots of your btrfs subvolumes and apply a retention policy in order to keep your snapshot directory somewhat clean and small. The retention policy, defined bellow, is hardcoded for now but it should be enought for the average use case. I may adjust it, or provide a way to change it at runtime if needed. * Hourly snapshots are kept for 24 hours * Daily snapshots are kept for 4 weeks * Weekly snapshots are kept for 12 weeks * Monthly snapshots are kept for a year * yearly snapshots are kept for 10 years Every subvolume that should be snapshoted must be given as argument to the script. For example if you want to snapshot every home directory created as subvolumes and your `/etc` and `/srv` directory you would do .. code-block:: btrfs-simple-snapshots /home/* /etc /srv Once done, you will find a new subvolume named `.snapshots` inside the snapshoted subvolume with a name formated as `%Y-%m-%d-%H%M%S` Installation ------------ Install from pip using `pip install btrfs-simple-snapshots`. Then you can run it as root or with a user able to manage btrfs subvolumes. It is probably a good thing to run it automatically with a cron job. Depending on you need you may run it once per day (at 2 a.m.) to snapshot every home folder (created as subvolumes) with this kind of job definition. .. code-block:: 0 2 * * * python -m btrfs_simple_snapshots /home/*


نحوه نصب


نصب پکیج whl btrfs-simple-snapshots-0.1.4:

    pip install btrfs-simple-snapshots-0.1.4.whl


نصب پکیج tar.gz btrfs-simple-snapshots-0.1.4:

    pip install btrfs-simple-snapshots-0.1.4.tar.gz