2017-09-07

backup

a backup archive creator with tarsnap support

part of sph-script

license

gpl3+

features

optional encryption

automatic compression

backup into the cloud (tarsnap)

configuration

add executable scripts under .config/backup/ that emit newline separated filesystem paths when executed. for example with the use of find

the files must have the executable bit set ("chmod +x {path}")

command-line interface

$ backup --help

parameters
  options ... sources destinations ...
description
  a backup archive creator
  sources are config file names and can be multiple names separated by a dot, for example "mail.system.documents"
  destinations are existing directory paths
options
  --combine  combine dot separated configuration names and create one backup file
  --dry-run
  --encrypt | -e
  --help | -h
  --interface
  --list-configs | -l  lists the recognised backup configurations
  --list-files  list files that would be included in the backup
  --show-config  display contents a configuration file
  --tarsnap | -t

dependencies

>= guile 2

tar

pack

optional

installation

part of sph-script

download

download sph.mn/git/download/sph-script.tgz

alternatively see releases

tar -xpf sph-script.tgz

alternative

git clone git://git.sph.mn/sph-script

setup

link or copy the "backup" script file into a directory which is in the environment variable $PATH

run "echo $PATH" to see what is currently in $PATH

possible enhancements

source and target path configuration presets. for example recognise media by uuid and execute backup copy on demand

list backup scripts and targets with ncurses, to be able to configure a list of possible source/target copy paths, and see when they ran the last time and see which current backups are possible and run them

display estimated space


tags: application overview start q1 computer backup