Skip to content

Instantly share code, notes, and snippets.

@SemanticBeeng
Last active May 8, 2016 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SemanticBeeng/9c0868c742649b278b1e633ee6cf39ea to your computer and use it in GitHub Desktop.
Save SemanticBeeng/9c0868c742649b278b1e633ee6cf39ea to your computer and use it in GitHub Desktop.
#! /bin/bash
# Root backup directories (sources, locals. destinations and mount points) for backups executed on a/this machine
# Root of backups executed on this machine (local copies for $BCKP_DIRs of all the backups)
export BCKP_DIRS=/data/bckp_dirs
# Root of backup source directories for data from other machines (see $BCKP_SRC)
export BCKP_SRCS=/mnt/backups/bckp_srcs
# Root of backup remote destination directories (remote copies for $BCKP_DIRs of all the backups)
export BCKP_DESTS=/mnt/backups/bckp_dests
# Root of mount points for backups living on remote destinations (see $MNT_DIR)
export BCKP_MNTS=/mnt/backups/bckp_mnts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment