backup-specs example (GNU tar 1.34)

Previous: User Hooks, Up: Backup Parameters [Contents][Index]

#### 5.4.4 An Example Text of `Backup-specs`

The following is an example of `backup-specs`:

    # site-specific parameters for file system backup.

    ADMINISTRATOR=friedman
    BACKUP_HOUR=1
    TAPE_FILE=/dev/nrsmt0

    # Use ssh instead of the less secure rsh
    RSH=/usr/bin/ssh
    RSH_COMMAND=/usr/bin/ssh

    # Override MT_STATUS function:
    my_status() {
          mts -t $TAPE_FILE
    }
    MT_STATUS=my_status

    # Disable MT_OFFLINE function
    MT_OFFLINE=:

    BLOCKING=124
    BACKUP_DIRS="
            albert:/fs/fsf
            apple-gunkies:/gd
            albert:/fs/gd2
            albert:/fs/gp
            geech:/usr/jla
            churchy:/usr/roland
            albert:/
            albert:/usr
            apple-gunkies:/
            apple-gunkies:/usr
            gnu:/hack
            gnu:/u
            apple-gunkies:/com/mailer/gnu
            apple-gunkies:/com/archive/gnu"

    BACKUP_FILES="/com/mailer/aliases /com/mailer/league*[a-z]"