tarsnapmanager

command module
v0.0.0-...-21db4aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2019 License: BSD-2-Clause Imports: 10 Imported by: 0

README

Tarsnap Manager

  • Creates Tarsnap archives in standard formats - nightly and adhoc.
  • Expires backups after time specified in the configuration file.

Configuration Format

Configuration is a simplified YAML as provided by Gypsy.

Options:

  • TarsnapBin (string)

    The path to the tarsnap binary. Defaults to /usr/local/bin/tarsnap.

  • TarsnapArgs (list)

    Arguments to be passed to tarsnap. Parameters (starting with a dash) must be quoted in double-quotes. Quotes will be removed prior to execution.

  • ExcludeFile (string)

    Path to a file which contains files/directories to be excluded from backup.

  • BackupDirs (list)

    Directories to be backed up.

  • KeepWeeks (int)

    The number of weeks to retain nightly backups.

  • KeepMonths (int)

    The number of months to retain monthly backups.

  • ExpireBackups (bool)

    Whether to enable expiring of backups. Disabled by default.

Example

TarsnapBin: /usr/bin/tarsnap
TarsnapArgs:
 - "--quiet"
ExcludeFile: /etc/tarsnap.exclude
BackupDirs:
 - /etc
 - /var/log
KeepWeeks: 5
KeepMonths: 24
ExpireBackups: true

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL