BBACKUPCTL(8) | Box Backup | BBACKUPCTL(8) |
bbackupctl - Control the Box Backup client daemon
bbackupctl [-q] [-c config-file] command
bbackupctl sends commands to a running bbackupd daemon on a client machine. It can be used to force an immediate backup, tell the daemon to reload its configuration files or stop the daemon. If bbackupd is configured in snapshot mode, it will not back up automatically, and the bbackupctl must be used to tell it when to start a backup.
Communication with the bbackupd daemon takes place over a local socket (not over the network). Some platforms (notably Windows) can´t determine if the user connecting on this socket has the correct credentials to execute the commands. On these platforms, ANY local user can interfere with bbackupd. To avoid this, remove the CommandSocket option from bbackupd.conf, which will also disable bbackupctl. See the Client Configuration page for more information.
bbackupctl needs to read the bbackupd configuration file to find out the name of the CommandSocket. If you have to tell bbackupd where to find the configuration file, you will have to tell bbackupctl as well. The default on Unix systems is usually /etc/box/bbackupd.conf. On Windows systems, it is 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. If it is not doing what you expect, please check these outputs first of all.
-q
-c config-file
The following commands are available in bbackupctl:
terminate
reload
sync
force-sync
wait-for-sync
wait-for-end
sync-and-wait
/etc/box/bbackupd.conf
Ben Summers
Per Thomsen
James O´Gorman
05/10/2020 | Box Backup 0.11 |