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 stop bbackupd from 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 user bbackupd is 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 the bbstored(8) server. where your stuff goes. 🏠
  • StorePort β€” the port used by the server. defaults to 2201.
  • ExtendedLogging β€” logs everything that happens between the client and server. and heads up, the bbackupd(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 by bbackupd-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 by bbstored-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 a Path entry 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. see re_format(7).
  • ExcludeDir β€” exclude a single directory.
  • ExcludeDirsRegex β€” exclude multiple directories based on a regular expression. see re_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