Skip to content

jamesog/tarsnapmanager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages