redmop / sanoid

Policy-driven snapshot management and replication tools. Currently using ZFS for underlying next-gen storage, with explicit plans to support btrfs when btrfs becomes more reliable. Primarily intended for Linux, but BSD use is supported and reasonably frequently tested.
http://www.openoid.net/products/
GNU General Public License v3.0
2 stars 0 forks source link

Sanoid - snapshot name from autosnap to sanoid_autosnap #5

Open redmop opened 9 years ago

redmop commented 9 years ago

It's easier to see what is making the snapshots if you're using more than one script.

redmop commented 9 years ago

Better yet, allow custom naming with a default of sanoid_autosnap Maybe allow including template name

Default snapshot_prefix=sanoid_autosnap Template snapshot_prefix_template=true

With a template name of prod, the snapshot name would be "sanoid_autosnap_prod"

 # If the particular dataset includes it's own prefix, decide to include or overwrite