Skip to content

AnotherKamila/tarsnap-periodic

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 19 commits ahead, 7 commits behind ross:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
etc
 
 
 
 
 
 

tarsnap-periodic

Scripts for tarsnap backups with periodic on FreeBSD.

All credit goes to ross/zfs-periodic -- I did little beyond sed s/zfs snapshot/tarsnap/.

Install from ports: sysutils/tarsnap-periodic.

In order to enable periodic tarsnap backups you need to add these lines to your /etc/periodic.conf:

daily_tarsnap_backup_enable="YES"
daily_tarsnap_backup_paths="/"
daily_tarsnap_backup_keep=7
weekly_tarsnap_backup_enable="YES"
weekly_tarsnap_backup_paths="/"
weekly_tarsnap_backup_keep=5
monthly_tarsnap_backup_enable="YES"
monthly_tarsnap_backup_paths="/"
monthly_tarsnap_backup_keep=2

Note: The first tarsnap backup can take a very long time. Therefore it might be a good idea to run it by hand and let it finish before turning on these scripts. Further backups will be incremental, so they shouldn't take that long.

About

Scripts for tarsnap backups with periodic on FreeBSD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%