Skip to content

bssstudio/margarine-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

MargarineTools

A collection of tools to simplify tasks regarding Btrfs.

Timesnap

Create a snapshot of a subvolume using current datetime for name and delete oldest snapshots. Useful to have running in a cronjob every couple of minutes so you always have a state to revert to if something bad happens.

Example

timesnap/timesnap.sh /mnt/btrfs-root __root/home timesnap__home 100

This will look into /mnt/btrfs-root and backup __root/home subvolume into timesnap__home/<TIMESTAMP> deleting older snapshots when total number of snapshots is over a 100.

About

Btrfs convenience tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages