Bksh

Jul 20, 2023

Backup-only shell

bksh is a simple some would say trivial program designed to be used as a shell by ssh or rsh-like programs. All it does it to copy its input to a restricted set of backup files.

It was made to allow administrators to create backup servers in potentially hostile environments without allowing full shell access to the server or the client.

Features

  • tape only or file & tape backups compile-time config
  • automatic file rotation allows keeping a history of backups
  • configurable number of files kept static compile-time or dynamic
  • allows naming of backup files on command line
  • works as a restricted shell to limit access to server
  • very simple and short ANSI C code, easy to audit


Checkout these related ports:
  • Zxfer - Easily and reliably transfer ZFS filesystems
  • Ztop - Display ZFS dataset I/O in real time
  • Zsm - ZFS Snapshot Manager
  • Zsd - Destroys ZFS snapshots
  • Zrepl - ZFS dataset replication tool
  • Zrep - ZFS based replication and failover solution
  • Zpool-iostat-viz - ZFS pool I/O latency statistics
  • Zoxide - Fast cd alternative that learns your habits
  • Zogftw - Creates redundant backups on encrypted ZFS pools
  • Znapzend - ZFS-centric backup tool
  • Zisofs-tools - User utilities for zisofs
  • Zidrav - File corruption detection and repair program
  • Zfstools - OpenSolaris-compatible auto snapshotting for ZFS
  • Zfsnap2 - Portable performant script to make rolling ZFS snapshots easy
  • Zfsnap - Simple sh script to make zfs rolling snaphosts with cron