| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 | .\" Man page generated from reStructuredText....nr rst2man-indent-level 0..de1 rstReportMargin\\$1 \\n[an-margin]level \\n[rst2man-indent-level]level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]-\\n[rst2man-indent0]\\n[rst2man-indent1]\\n[rst2man-indent2]...de1 INDENT.\" .rstReportMargin pre:. RS \\$1. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]. nr rst2man-indent-level +1.\" .rstReportMargin post:...de UNINDENT. RE.\" indent \\n[an-margin].\" old: \\n[rst2man-indent\\n[rst2man-indent-level]].nr rst2man-indent-level -1.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]].in \\n[rst2man-indent\\n[rst2man-indent-level]]u...TH "BORG-ANALYZE" 1 "2024-11-16" "" "borg backup tool".SH NAMEborg-analyze \- Analyze archives.SH SYNOPSIS.spborg [common options] analyze [options].SH DESCRIPTION.spAnalyze archives to find \(dqhot spots\(dq..spBorg analyze relies on the usual archive matching options to select thearchives that should be considered for analysis (e.g. \fB\-a series_name\fP).Then it iterates over all matching archives, over all contained files andcollects information about chunks stored in all directories it encountered..spIt considers chunk IDs and their plaintext sizes (we don\(aqt have the compressedsize in the repository easily available) and adds up added/removed chunks\(aqsizes per direct parent directory and outputs a list of \(dqdirectory: size\(dq..spYou can use that list to find directories with a lot of \(dqactivity\(dq \- maybesome of these are temporary or cache directories you did forget to exclude..spTo not have these unwanted directories in your backups, you could carefullyexclude these in \fBborg create\fP (for future backups) or use \fBborg recreate\fPto re\-create existing archives without these..SH OPTIONS.spSee \fIborg\-common(1)\fP for common options of Borg commands..SS Archive filters.INDENT 0.0.TP.BI \-a \ PATTERN\fR,\fB \ \-\-match\-archives \ PATTERNonly consider archives matching all patterns. see \(dqborg help match\-archives\(dq..TP.BI \-\-sort\-by \ KEYSComma\-separated list of sorting keys; valid keys are: timestamp, archive, name, id, tags, host, user; default is: timestamp.TP.BI \-\-first \ Nconsider first N archives after other filters were applied.TP.BI \-\-last \ Nconsider last N archives after other filters were applied.TP.BI \-\-oldest \ TIMESPANconsider archives between the oldest archive\(aqs timestamp and (oldest + TIMESPAN), e.g. 7d or 12m..TP.BI \-\-newest \ TIMESPANconsider archives between the newest archive\(aqs timestamp and (newest \- TIMESPAN), e.g. 7d or 12m..TP.BI \-\-older \ TIMESPANconsider archives older than (now \- TIMESPAN), e.g. 7d or 12m..TP.BI \-\-newer \ TIMESPANconsider archives newer than (now \- TIMESPAN), e.g. 7d or 12m..UNINDENT.SH SEE ALSO.sp\fIborg\-common(1)\fP.SH AUTHORThe Borg Collective.\" Generated by docutils manpage writer..
 |