SAFEKEEP.CONF(5)
π SAFEKEEP.CONF(5) π β the SafeKeep Server Configuration glow-up
okay bestie, so this is the config file page β safekeep.conf, straight out of the SafeKeep Server Configuration manual, section 5 π
. It's the page for the config file of safekeep(1), and yes it's way less scary than it sounds. Let's get into it π«Ά
β¨ NAME β¨
safekeep.conf β the configuration file for safekeep(1) π
π¦ SYNOPSIS π¦
This file lives in /etc/safekeep/, or optionally in ~/.safekeep/ for non-root users, and safekeep(1) will just auto-pick it up from there. no setup arc, it just finds you π
πΈ DESCRIPTION πΈ
This config file holds the safekeep global settings. The format is a super simple key-value pair situation, like Java properties files basically. Here's the tea:
- lines starting with
#are ignored, they're comments π¬ - keys are separated from values by
= - leading and trailing spaces are ignored, so you can vibe-format as much as you want β¨
π PARAMETERS π
backup.userβ the Unix user the server runs under. If you don't specify it, safekeep just runs under whatever the current user is. no notes πbackup.tempdirβ specifes a TEMPDIR for use with 'rdiff-backup'. You can override this with a commandline argument to 'safekeep'.base.dirβ the base directory for date repository relative paths. If not specified, it defaults to the home directory of the backup user. cute default ngl πclient.userβ the default Unix user that'll be used on the client. You can override this on a host-by-host basis in the.backupfile. If not specified, it defaults torootπemail.formatβ if specified, safekeep generates multipart MIME email messages. If not specified, you get a non-MIME message. The format options aretextorhtml, to generate parts of that type. NB: the log of safekeep is always sent as text. always. don't fight it πemail.fromβ the email address used as the sender when sending the logs. If not specified, safekeep usesSafeKeep@<hostname fqdn>.email.toβ okay so besides writing the session logs to standard output, safekeep can also email them to a bunch of recipients. This comma-separated list of emails is the recipient list for the logs. If not specified, safekeep won't even try to email the logs. no recipients, no drama πemail.smtp.portβ the port used to connect to the SMTP server. If not specified, safekeep uses the system default value, normally port25/tcp.email.smtp.serverβ the SMTP server used for sending mails, ifemail.tonames any recipients. If not specified, safekeep just uses/usr/sbin/sendmailto deliver the mail π¬email.summaryβ generates a summary part at the start of the email. Possible options aretrue,yesor1. Anything else is taken as false. NB: this requiresemail.formatto be set, and it's currently only used for server and list run types.nice.adjustmentβ the default nice level adjustment for safekeep. It's an integer added to the current nice level. Nicenesses range from-20(most favorable scheduling) to19(least favorable). To disable nice, set this value to0. If no nice level is specified, safekeep is niced at+10β¨nice.adjustment.serverβ the nice level adjustment for safekeep, used on the server side. It overrides the generic setting innice.adjustmentπnice.adjustment.clientβ the default nice adjustment for the client. This setting is normally not all that important, since most of the load is on the server side. You can also set the remote nice level on a per-client basis in the.backupfile (see/backup/host/@nice). NB: if you change this value, you'll have to re-deploy the auth keys. fr fr, don't forget πionice.adjustmentβ the default IO nice level adjustment for safekeep. It can benone,idle, or an integer between0-7(with0being higher priority). Seeionice(1)for more info. This is currently only used on the server side, where IO load tends to be a problem. NB: this depends onionice(1)being available on the system where the server is running β if ionice can't be found, this setting is ignored. If no level is specified, it defaults toidleπ€bandwidth.overallβ the default bandwidth limit for both upload and download, for all the clients. It's an integer number of KB/s (peep the NOTES section for more). This value is optional.bandwidth.downloadβ the default bandwidth limit for download across all clients. If specified (with a value greater than0), it overrides the value set inbandwidth.overall(go read that one for more info). This value is optional.bandwidth.uploadβ the default bandwidth limit for upload across all clients. If specified (with a value greater than0), it overrides the value set inbandwidth.overall(again, refer to it for more info). This value is optional.snapshot.sizeβ the default size used for any snapshots that don't have a size value specified. It's passed tolvcreate(8)(LVM2), including the specification of a percentage (%). If not otherwise specified, the percentage is based on unallocated space (i.e. LVM2%FREE), which is different from the interpretation within the<snapshot>option. This value is optional, and it defaults to20%FREEπ§ssh.keygen.typeβ the SSH private key type to generate whensafekeep --keysis used. It's passed tossh-keygen(1), and not all valid types may be accepted on all systems. Only SSH protocol version 2 keys are accepted. This value is optional, and it defaults torsaπssh.keygen.bitsβ the number of bits in the SSH private key to create. It's passed tossh-keygen(1), and only certain sizes are accepted depending on the key type. If no value is required, e.g. forecdsakey type, give this option with no corresponding bit size. This value is optional, and it defaults to4096βssh.strict_hostkey_checkingβ specifies ifStrictHostKeyCheckingshould be performed by the ssh client when connecting to the remote host. This value is optional, and it defaults toask. Set it toyesif you sign host keys with a CA key or manage host keys by other means (FreeIPA/sssd, Ansible,,,). Setting this tonois a bit unsafe, because new hosts get automatically added toknown_hostswithout any validation π¬
bestie please read that last one twice.no= new hosts sliding intoknown_hostswith zero vetting. be careful π
π NOTES π
Safekeep uses trickle to implement bandwidth throttling (see http://monkey.org/~marius/pages/?page=trickle for more info). You'll need to install it separately to use this feature β most Linux distributions have it packaged as trickle π¦
The bandwidth is calculated as an average over a 256KB window, and it's expressed as an integer number of kilo-bytes per second (e.g. 100, meaning 100KB/s). Bandwidth limits of zero are ignored π«
The bandwidth throttling can be customized for both download and upload (see bandwidth.download and bandwidth.upload) as well as on a per-client basis (see safekeep.backup(5) for more info). you're so customizable bestie π
π FILES π
/etc/safekeep/safekeep.conf
~/.safekeep/safekeep.conf
π SEE ALSO π
safekeep(1), safekeep.backup(5), rdiff-backup(1), trickle(1), lvcreate(8), ssh-keygen(1)
π AUTHOR π
This man page was originally written by Dimi Paun <dimi@lattica.com> π«Ά
π NOTES π
dimi@lattica.commailto:dimi@lattica.com
and that's the whole page, bestie! safekeep, dated 09/10/2023 β that's the source/version and date, so you know exactly which era of this man page you're living in. go forth and configure iconically ππ β¨
π¦ where this page comes from
- epel 9: safekeep-server 1.5.1^20230910git75e66fe-1.el9 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms