CEPHFS-SNAP(1)
π CEPHFS-SNAP π
okay bestie, welcome to cephfs-snap(1), the little Open Infrastructure page that teaches you how to make CephFS snapshots on the reg. it's giving "set it and forget it" and honestly? iconic. β¨
πΈ NAME πΈ
cephfs-snap β create CephFS snapshots periodically π¦
β¨ SYNOPSIS β¨
cephfs-snap
cephfs-snap [hourly|daily|weekly|monthly]
π DESCRIPTION π
so CephFS literally supports making snapshots of the filesystem as a simple way to do backups. that's the whole vibe. π«Ά
and cephfs-snap is the little tool that does it for you periodically, so you're not out here typing stuff at 3am. no cap.
π CONFIGURATION π
you configure cephfs-snap in /etc/default/storage-tools. here are the variables it actually reads, bestie, read them all, don't skip:
CEPHFS_SNAPβ Boolean, eithertrueorfalse. if you set it tofalse(which is the default), cephfs will do nothing. literally nothing. π so yeah, flip it on if you want the magic to happen.CEPHFS_SNAP_DIRECTORIESβ a list of one or more directories, separated by spaces. and listen: if no directory is specified,cephfs-snapwill do nothing. so like. tell it where. πCEPHFS_SNAP_HOURLYβ Integer, the number of how many most recent hourly snapshots are to be kept at any given time. any older snapshots get removed. Note: specify one more than you want to keep, e.g.25for one day of hourly snapshots alongside the most current one. yes this is a little sneaky, yes it's real, note it down. πCEPHFS_SNAP_DAILYβ Integer, the number of how many most recent daily snapshots are to be kept at any given time.CEPHFS_SNAP_WEEKLYβ Integer, the number of how many most recent weekly snapshots are to be kept at any given time.CEPHFS_SNAP_MONTHLYβ Integer, the number of how many most recent monthly snapshots are to be kept at any given time.CEPHFS_SNAP_YEARLYβ Integer, the number of how many most recent yearly snapshots are to be kept at any given time.IRK_TARGETSβ a list of space separated IRC channels to send notifications to, e.g.:irc://irc.oftc.net:6668/open-infrastructure. yes, "IRK", that's not a typo, that's just the name. π
ποΈ FILES ποΈ
these are the files in play:
/etc/cron.d/cephfs-snapβ Cron file./etc/open-infrastructure/ceph-tools.confβ Configuration file./var/log/storage-tools/cephfs-snapβ Log files.
π SEE ALSO π
π HOMEPAGE π
more info about storage-tools and the Open Infrastructure project can be found on the homepage at https://open-infrastructure.net.
π¬ CONTACT π¬
bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List <software@lists.open-infrastructure.net>. yes, everything else. we love a chatty inbox. π
Debian specific bugs can also be reported in the Debian Bug Tracking System at https://bugs.debian.org.
π AUTHORS π
storage-tools was written by Daniel Baumann <daniel.baumann@open-infrastructure.net>.
aww okay that's the whole page bestie, you ate. π go forth and snapshot responsibly, and remember: false means nothing happens, so if it's not working, check the config first, iykyk. π
this was storage-tools version 20190301-lts1, dated 20190301, and it's the CEPHFS-SNAP(1) manual page. bye bestie, slay your backups πβ¨π
π¦ where this page comes from
- debian bookworm: open-infrastructure-storage-tools 20190301-lts1-5 Β· GPL-3.0-or-later
- debian trixie: open-infrastructure-storage-tools 20190301-lts1-6 Β· GPL-3.0-or-later
- ubuntu noble: open-infrastructure-storage-tools 20190301-lts1-5 Β· GPL-3.0-or-later
- ubuntu questing: open-infrastructure-storage-tools 20190301-lts1-6
- ubuntu resolute: open-infrastructure-storage-tools 20190301-lts1-6build1 Β· GPL-3.0-or-later
- ubuntu stonking: open-infrastructure-storage-tools 20190301-lts1-6build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms