Skip to content
forked from Pricetx/backup

Simple backup script utilising OpenSSL, tar and rsync, written in bash

License

Notifications You must be signed in to change notification settings

turandon/backup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Backup Script

A simple backup script utilising OpenSSL, tar and rsync, written in bash.

##Script Features

  • Incremental backup retention
  • Backups are asymmetrically encrypted
  • The backup script can store a copy both locally and on a remote device/server
  • Backups are sent over SSH
  • Currently supports GNU/Linux and FreeBSD

##Backup Retention

By default:

  • Daily backups are retained for the past week
  • Weekly backups from Mondays are retained for the past month
  • Monthly backups from the first Monday of each month are retained for the past six months

The retention lengths are adjustable in backup.cfg

##Use With cron

If you're running this script from cron, make sure you add the following line to the top of your crontab: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin

About

Simple backup script utilising OpenSSL, tar and rsync, written in bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published