Files
scoutfs-manager/configs/config.example.yaml

44 lines
1.3 KiB
YAML

# scoutfs-manager configuration
# Copy to /etc/scoutfs-manager/config.yaml and adjust for your environment.
# ScoutFS source filesystem
source:
mount_path: /mnt/scoutfs
# Backup settings
backup:
output_dir: /var/lib/scoutfs-manager/backups
shard_max_bytes: 1073741824 # 1 GiB per shard
parallelism: 8 # concurrent file readers
compression: zstd # zstd or none
compression_level: 3 # zstd level (1-19)
retention:
keep_full: 4 # keep last N full backups
keep_incremental: 30 # keep last N incrementals
# Metadata sync client settings
sync:
remote:
address: "replica.example.com:9443"
batch_size: 500 # inodes per gRPC message
interval: 5m # for continuous sync mode
state_dir: /var/lib/scoutfs-manager/sync-state
# gRPC server settings (for 'serve' command)
server:
listen_address: ":9443"
target_mount: /mnt/scoutfs-replica
# mTLS configuration
tls:
ca_cert: /etc/scoutfs-manager/certs/ca.crt
cert: /etc/scoutfs-manager/certs/node.crt
key: /etc/scoutfs-manager/certs/node.key
mutual: true
# Logging
logging:
level: info # debug, info, warn, error
format: json # text or json
output: stderr # stderr, stdout, or file path