BBACKUPCTL(8)
π bbackupctl β control the Box Backup client daemon π
okay bestie, welcome to bbackupctl, section 8 of the manual β¨ this is the little remote control you use to poke a running bbackupd daemon on a client machine, and honestly? it's giving main character energy for your backups π
πΈ SYNOPSIS πΈ
bbackupctl [-q] [-c config-file] command
π DESCRIPTION π
So here's the vibe: bbackupctl sends commands to a running bbackupd daemon on a client machine. It can force an immediate backup, tell the daemon to reload its configuration files, or stop the daemon entirely. And if bbackupd is configured in snapshot mode, it will not back up automatically β which means bbackupctl is literally the only way to tell it when to start a backup. no cap. π«Ά
The communication with the bbackupd daemon happens over a local socket (not over the network, bestie, it's a local thing).
β οΈ okay this part matters: some platforms (notably Windows) can't determine if the user connecting on this socket has the correct credentials to execute the commands. On those platforms, ANY local user can interfere withbbackupd. π To avoid this, remove theCommandSocketoption frombbackupd.conf, which will also disablebbackupctl. See the Client Configuration page for more information.
bbackupctl needs to read the bbackupd configuration file to find out the name of the CommandSocket. So if you have to tell bbackupd where to find the configuration file, you will have to tell bbackupctl as well β they're a package deal, iykyk π
The default on Unix systems is usually /etc/box/bbackupd.conf. On Windows systems, it's bbackupd.conf in the same directory where bbackupd.exe is located. If bbackupctl cannot find or read the configuration file, it will log an error message and exit. πͺ
bbackupctl usually writes error messages to the console and the system logs. So if it's not doing what you expect, please check these outputs first of all. like, first. before anything else. π
-qβ Run in quiet mode. π€«-cconfig-file β Specify configuration file.
π Commands π
The following commands are available in bbackupctl:
terminateβ This command cleanly shuts downbbackupd. This is better than killing or terminating it any other way. periodt. πreloadβ Causes thebbackupddaemon to re-read all its configuration files. Equivalent tokill -HUP. πsyncβ Initiates a backup. If no files need to be backed up, no connection will be made to the server. π¦force-syncβ Initiates a backup, even if theSyncAllowScriptsays that no backup should run now. π₯wait-for-syncβ Passively waits until the next backup starts of its own accord, and then terminates. β³wait-for-endβ Passively waits until the next backup starts of its own accord and finishes, and then terminates. πsync-and-waitβ Initiates a backup, waits for it to finish, and then terminates. β¨
π FILES π
/etc/box/bbackupd.conf
π SEE ALSO π
bbackupd.conf(5), bbackupd-config(8), bbackupctl(8)
π AUTHORS π
- Ben Summers
- Per Thomsen
- James O'Gorman
okay that's the whole page, bestie, you ate it π this was Box Backup 0.11, dated 06/06/2024 β go forth and control your daemon, slay πβ¨
π¦ 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