Nilfs2 Simple Snapshot Scheduler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ralph Rönnquist d29b7500ca adapted for an hourly cron 6 months ago
README.adoc editorial 7 months ago
sss.sh adapted for an hourly cron 6 months ago

README.adoc

nilfs2 Simple Snapshot Scheduler

The script sss.sh is a "cron bot" script that manages the nilfs2 snapshots so as to make a rollback history that contains:

  • the last of each year when older than a year, else

  • the last of each month when older than a month, else

  • the last of each week when older than a week, else

  • the last of each day when older than a day, else

  • the last of each hour when older than an hour, else

  • a new snapshot when the last is an hour old or more

The script operates by reviewing the current series of snapshots and "declassify" them as appropriate for having such a rollback history.