SFSMETARESTORE(8)
β¨ SFSMETARESTORE(8) β¨
okay so bestie, welcome to sfsmetarestore β section 8 of the manual, the big-girl sysadmin section π
this is the tool that replays SaunaFS metadata change logs or dumps a SaunaFS metadata image. it's giving "recovery era" and honestly? iconic. π
πΈ NAME πΈ
sfsmetarestore β replay SaunaFS metadata change logs or dump SaunaFS metadata image π¦
π SYNOPSIS π
sfsmetarestore [-z] -m OLDMETADATAFILE -o NEWMETADATAFILE [CHANGELOGFILE...]
sfsmetarestore -m METADATAFILE
sfsmetarestore [-z] -a [-d DIRECTORY]
sfsmetarestore -g -d DIRECTORY
sfsmetarestore -v
sfsmetarestore -?
six whole moods, periodt. pick one π«
π«Ά DESCRIPTION π«Ά
so when you call sfsmetarestore with both -m and -o, it replays the CHANGELOGFILEs you gave it on top of OLDMETADATAFILE and writes the whole result to NEWMETADATAFILE. and yes, you can hand it multiple change log files, not just one β go off π
if you call sfsmetarestore with just -m METADATAFILE? it dumps the SaunaFS metadata image file in human readable form. a little peek behind the curtain, we love that for us β¨
and when you call it with -a, it automatically performs all the operations needed to merge change log files β fully hands-free, main character energy π you can point it at the master data directory with the -d DIRECTORY option.
then there's sfsmetarestore -g with a path to metadata files: it prints the latest metadata version that can be restored from disk. and if the metadata files are corrupted? it prints 0. so if you see a 0, go hydrate and then go fix ur files π
-vβ print version information and exit. a lil flex π’-aβ autorestore mode (see above, bestie, it's the automatic merge situation)-d DATAPATHβ master data directory (for autorestore mode)-g DIRECTORYβ Print latest metadata version that can be restored from disk at the directory. Prints0if metadata files are corrupted.-m METADATAFILEβ specify input metadata image file-o NEWMETADATAFILEβ specify output metadata image file-zβ ignore metadata checksum inconsistency while applying changelogs π
π FILES π
metadata.sfsβ Sauna File System metadata image as read bysfsmasterprocessmetadata.sfs.backβ Sauna File System metadata image as left by killed or crashedsfsmasterprocess (rip to that process fr fr π)changelog.*.sfsβ Sauna File System metadata change logs
π REPORTING BUGS π
found a bug? don't suffer in silence, bestie. Report bugs to the GitHub repository https://github.com/leil-io/saunafs as an issue. the devs want to know, no cap π
βοΈ COPYRIGHT βοΈ
Copyright 2008-2009 Gemius SA
Copyright 2013-2019 Skytechnology sp. z o.o.
Copyright 2023-2024 Leil Storage OΓ
SaunaFS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
SaunaFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with SaunaFS. If not, see http://www.gnu.org/licenses/.
π SEE ALSO π
sfsrestoremaster(8), sfsmaster(8), sfs(7)
that's the whole page, bestie β go restore some metadata, u got this π«Ά
sfsmetarestore β page dated 2026-07-29 β from the SFSMETARESTORE(8) manual πβ¨
π¦ where this page comes from
- ubuntu stonking: saunafs-master 5.8.0-1ubuntu1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms