BBACKUPD.CONF(5)
π BBACKUPD.CONF π
okay bestie, gather round, because this is the config file for the Box Backup client daemon and honestly? it's giving "the blueprint of your whole backup life". every single knob in here matters, so let's go β¨
πΈ NAME πΈ
bbackupd.conf β the configuration file for the Box Backup client daemon. yes ma'am, this is the file. π
π¦ SYNOPSIS π¦
/etc/box/bbackupd.conf
that's it. that's the whole vibe. one path. iconic. π
β¨ DESCRIPTION β¨
okay so here's every single setting you can put in this file. no skipping, no skimming, we're doing all of them. periodt. π
AccountNumberβ the account number of this client. your store server admin is the one who sets this for you, so don't be out here inventing your own, bestie.UpdateStoreIntervalβ how long between scans of your local discs. and listen, to avoid cycles of load on the server, this time gets randomly adjusted by a small percentage as the daemon runs. defaults to 1 hour. so organized fr fr.MinimumFileAgeβ how long a file has to sit there since it was last modified before it gets uploaded. defaults to 6 hours. let it marinate πMaxUploadWaitβ so if a file keeps getting modified, it won't be uploaded immediately, in case it gets modified again. but likeβ¦ it should get uploaded eventually, right? so this is how long we wait after first noticing a change. defaults to 1 day.MaxFileTimeInFutureβ (no description given in the original page, it's just out here being mysterious π)AutomaticBackupβ (also no description in the original, lowkey a ghost π»)SyncAllowScriptβ use this to temporarily stopbbackupdfrom syncronising or connecting to the store. it specifies a program or script which is run just before each sync, and ideally the full path to the interpreter. it will be run as the same userbbackupdis running as, usually root.
the script prints either "now" or a number to STDOUT (and a terminating newline, no quotes). if the result was "now", then the sync will happen. if it's a number, then the script will be asked again in that number of seconds. π
for example, you could use this on a laptop to only backup when on a specific network. main character laptop energy π»β¨
MaximumDiffingTimeβ how much time should be spent on diffing files. that's it, that's the whole sentence.DeleteRedundantLocationsAfterβ (no description in the original, we simply don't know π«οΈ)FileTrackingSizeThresholdβ (no description, but the name is doing a lot of heavy lifting π)DiffingUploadSizeThresholdβ (also undescribed in the original π«Ά)StoreHostnameβ the hostname or IP address of thebbstored(8)server. where your stuff goes. πStorePortβ the port used by the server. defaults to2201.ExtendedLoggingβ logs everything that happens between the client and server. and heads up, thebbackupd(8)client must also be started with-V. both things. not one, not the other, both.ExtendedLogFileβ (no description given in the original π)LogAllFileAccessβ (no description given, just vibes)LogFileβ (no description given in the original πΈ)LogFileLevelβ (no description given either, the mystery continues)CommandSocketβ where the command socket is created in the filesystem.KeepAliveTimeβ (no description in the original, alas π)StoreObjectInfoFileβ (no description in the original)NotifyScriptβ the location of the script which runs at certain events. this script is generated bybbackupd-config(8). defaults to/etc/box/bbackupd/NotifySysAdmin.sh.NotifyAlwaysβ (no description given in the original π¦)CertificateFileβ the path to the client's public certificate.PrivateKeyFileβ the path to the client's private key. > this one should only be readable by root. seriously. lock it down. πTrustedCAsFileβ the Certificate Authority created bybbstored-certs(8).KeysFileβ the data encryption key. > this must be kept safe at all costs, your data is useless without it! like, actually useless. no cap. πDataDirectoryβ a directory to keep temporary state files. this is usually something like/var/bbackupd.Serverβ this section relates to the running daemon.
π Server
PidFileβ the location of the process ID file. defaults to/var/run/bbackupd.pid.
BackupLocationsβ this section defines each directory to be backed up. each entry must have at least aPathentry and, optionally, include and exclude directives.
multiple include and exclude directives may appear. stack 'em up, bestie. π
π BackupLocations
Pathβ the path to back up.ExcludeFileβ exclude a single file.ExcludeFilesRegexβ exclude multiple files based on a regular expression. seere_format(7).ExcludeDirβ exclude a single directory.ExcludeDirsRegexβ exclude multiple directories based on a regular expression. seere_format(7).AlwaysIncludeFileβ include a single file from a directory which has been excluded.AlwaysIncludeFilesRegexβ include multiple files from an excluded directory, based on a regular expression.AlwaysIncludeDirβ include a single directory from a directory which has been excluded.AlwaysIncludeDirsRegexβ include multiple directories from an excluded directory, based on a regular expression.
π₯ EXAMPLES π₯
the following is an example of a backup location:
home
{
Path = /home
ExcludeDir = /home/guest
ExcludeDir = /home/[^/]+/tmp
ExcludeFilesRegex = .*\.(mp3|MP3)$
AlwaysIncludeFile = /home/someuser/importantspeech.mp3
}
see how it excludes the mp3s but always keeps the important speech? that's the energy. protecting what matters while skipping the noise. β¨π§
π§ FILES π§
/etc/box/bbackupd.conf
π SEE ALSO π
bbackupd(8), bbackupd-config(8), bbackupctl(8)
go read those too, iykyk π«Ά
π AUTHORS π
- Ben Summers
- Per Thomsen
- James O'Gorman
absolute legends, all three of them. thank you for your service. π
and that's the whole page bestie!! this was Box Backup 0.11, dated 06/06/2024 β go forth and configure your backups responsibly πβ¨π
π¦ where this page comes from
- debian trixie: boxbackup-client 0.13~~git20231028.g3dd5194+ds-4 Β· BSD-3-Clause
- ubuntu questing: boxbackup-client 0.13~~git20231028.g3dd5194+ds-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms