Skip to content

Duologic/incremental_rsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

incremental_rsync

This script can make incremental backups with Rsync.

  • from local to local
  • from local to remote
  • from remote to local

Todo:

  • from remote to remote

This script is only tested between Ubuntu 12.04 servers.

Requirements:

  • Rsync
  • Bash
  • Sendemail (found in Ubuntu repos)

Execute as:

./incremental_rsync /path/to/config.cfg

Config file:

prefix="my_backup"
source_ssh="false"
source="/home"
exclude="big_files"
#source_key=""
#source_user=""
#source_host=""

destination_ssh="true"
destination="/backup"
destination_key="/home/user/.ssh/rsync-key"
destination_user="root"
destination_host="backup.somedomain.tld"

from_mail="noreply@somedomain.tld"
to_mail="admin@somedomain.tld"
smtp_server="smtp.somedomain.tld"

About

This bash script can make incremental backups with Rsync.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages