"backup" "1" "" "" "Starbuntu"

NAME

backup - backups the file system (provided by Starbuntu)

SYNOPSIS

backup [<Device file or Device label>]

DESCRIPTION

The Starbuntu program backup is used to backup the file system on a disk formatted with the Linux format ext4 with enough free space (100-140 GB). It uses the CLI program timeshift.

The initial configuration of timeshift is handled by the program backup itself, without overwriting any existing configuration of a periodic backup of timeshift.

The location of the so-called snapshot is the device named in the call. If the environment variable BACKUP_DEVICE is defined in $HOME/.config/openbox/environment (e.g. BACKUP_DEVICE=DATA_STORAGE), the program does not require any parameters. The snapshot is not periodic, but occurs on request ("on demand") and keeps exactly one older backup.

The snapshot is not named after the backup date, but instead takes the name of the partition of the file system to be backed up, e.g. "Starbuntu". The previous backup is then e.g. renamed to "Starbuntu.old". This approach has the advantage that multiple partitions can be backed up on one and the same disk.

The HOME folders of the real users including root are also backed up.

FILES

/usr/local/bin/backup
/etc/timeshift/timeshift.json
$HOME/.config/openbox/environment

ENVIRONMENT VARIABLES

BACKUP_DEVICE (optional)
  e.g. BACKUP_DEVICE=DATA_STORAGE

EXAMPLES

Example 1:
  backup [/dev/]sdb1

Example 2:
  backup DATA_STORAGE

AUTHOR

Peter Starfinger <info@die-starfingers.de>

SEE ALSO

Starbuntu help text:
https://die-starfingers.de/Starbuntu/de/Help/how-it-works.html#copy