Files
yatm/config.example.yaml
T
Samuel CuiandClaude Opus 5.5 d33bf030bb Verify packages and physical tar Tape acceptance
Extend package and physical acceptance with tar stages, EW fill and read-order comparison and script-aware public recovery, and keep release content checks, licenses and installer inputs aligned with the shipped scope.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 00:01:49 +08:00

56 lines
2.1 KiB
YAML

# Browser-facing public URL, independent of listen; no trailing slash.
# Use "" for browser requests on the current page's origin.
domain: http://127.0.0.1:8080
# Local HTTP service binding; TLS may terminate at a reverse proxy.
listen: 127.0.0.1:8080
# debug port binding
debug_listen: 127.0.0.1:8081
# database settings, you can use sqlite or mysql (untested)
database:
dialect: sqlite
dsn: ./tapes.db
# Optional concurrent Catalog reads. The SQLite database must be on a local filesystem.
# Restart after changing this setting. Job databases keep their existing journal mode.
sqlite_wal: false
# Volume-only installations leave this empty. For one Tape drive, use its actual
# non-rewinding device path, for example: tape_devices: [/dev/nst0]
# Linux resolves the SCSI generic device through sysfs; there is no separate sg
# mapping setting. Adapt the scripts below to the installed LTFS environment.
tape_devices: []
# working path settings
paths:
# to save logs and write reports
work: ./
# Administrator boundaries; register original/restore directories in Settings -> Locations.
# An explicit empty list denies access. Ignore uses ordered gitignore rules.
access:
- root: /srv/files
ignore: |
/private/
- root: /srv/restored
# roots that contain already mounted offline Volumes
volumes:
- /mnt
# Preview bundles are addressed by content signature. Generation options live in Settings → Preview.
preview:
# Relative roots resolve within paths.work.
root: ./previews
# Scripts receive TAPE_DIR after the barcode is known. Store LTFS logs and exported indexes there.
# These scripts interact with external software and may need platform-specific changes.
scripts:
# enable hardware encryption on tape driver
encrypt: ./scripts/encrypt
# format ltfs on lto tape, may need to be changed for different ltfs software.
mkfs: ./scripts/mkfs
# mount ltfs to specified path, may need to be changed for different ltfs software.
mount: ./scripts/mount
# umount ltfs path
umount: ./scripts/umount
# read tape barcode for restore jobs
read_info: ./scripts/readinfo