Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hunleyd/btrfs-auto-snapshot

BTRFS Automatic Snapshot Service for Linux
https://github.com/hunleyd/btrfs-auto-snapshot

Last synced: 28 days ago
JSON representation

BTRFS Automatic Snapshot Service for Linux

Awesome Lists containing this project

README

        

btrfs-auto-snapshot
===================

BTRFS Automatic Snapshot Service for Linux

Usage
-----


btrfs-auto-snapshot [foo]

btrfs-auto-snapshot is a Bash script designed to bring as much of the functionality
of the wonderful ZFS snapshot tool zfs-auto-snapshot to BTRFS as possible. Designed to
run from cron (using /etc/cron.{daily,hourly,weekly}) it automatically
creates a snapshot of the specified BTRFS filesystem (or, optionally, all of
them) and then automatically purges the oldest snapshots of that type
(hourly, daily, et al) based on a user-defined retention policy.

Snapshots are stored in a '.btrfs' directory at the root of the BTRFS
filesystem being snapped and are read-only by default.

Requirements
------------

* GNU Bash (with associative arrays)
* GNU Coreutils
* GNU grep
* GNU awk
* getopt
* btrfs-progs
* (optional) syslog

Bugs
----
Find a bug? Please create an issue here on GitHub at:
https://github.com/hunleyd/btrfs-auto-snapshot/issues

Maintainer
----------
**Motiejus Jakštys**
+ GitHub: http://github.com/motiejus
+ Personal web page: https://jakstys.lt

Author
-------
**Douglas J Hunley**
+ GitHub: http://github.com/hunleyd

Copyright and license
---------------------
Copyright 2015 Douglas J Hunley.

Licensed under the GNU GPL License, Version 2.0 (the "License"); you may not use this work
except in compliance with the License. You may obtain a copy of the License in the
LICENSE file.

Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing
permissions and limitations under the License.