- Removed perl dependency (replaced perl regex by bash regex)
- Added new switch -q which makes output cron-compatible: silent unless an error occurs.
- Regex fix: correctly remove trailing slashes on mount-points
- Fixed timestamp-bug (introduced in v1.6.1)
- Added new switch -E which treats omitting a snapshot as an error.
- Bugfix: touch to update the timestamp is only needed for option '-t'. For '-T' it is counter-productive and therefore disabled.
- Added new flag -T which uses the transaction ids of btrfs to decide if new data is present.
- Added new flag -p to use the as a postfix.
- Bugfix for prefix VFS: Removed an unneccessary $-sign which broke the code. (Thanks to 'clawes' for reporting.)
- Bugfix for switch -t: Force update of source timestamp to prevent outdated timestamps on the folders
- Added checks for existing snapshots and use pattern to search for existing snapshots
- Added a switch -B to specify the full path snapshot path
- Added a switch -t time to create only a snapshot if the newest already existing snapshot is older than 'time' seconds.
- Added PATH since script is most likely called by crontab with reduced PATH-settings
- added switch to generate more compatible snapshot names (no colons in file names: this confuses SAMBA/Windows clients)
- added switch to override default snapshot directory name ".snapshot"
- cleanup
- trailing slash removal failed on multipart paths due to missing line terminator. Time for a bats test suite.
- fix trailing slash removal so that it works when the mountpoint is '/'. This required a change to perl from sed (standard sed doesn't have negated character classes)
- added VFS snapshot naming support courtesy of gitmopp
- add README
- add readonly snapshot and base directory features
- Initial version written by Birger Monsen [email protected]