Skip to content
This repository has been archived by the owner on Nov 12, 2021. It is now read-only.
/ rsync_backup Public archive

Python wrapper script around rsync to create incremental backups

Notifications You must be signed in to change notification settings

theomega/rsync_backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Wrapper around rsync which creates incremental backups using the 'link-dest'
feature of rsync, so it is creating hardlinks. It checks whether the
destiation is correctly mounted to ensure that the backup goes into the right
location. It saves the log-files of each backup together with the backup itself
for later debugging. The script features a 'statdir' which can help you to
track when the last backup was done even if the target-drive is currently not
plugged in. This works by writing the backup-timestamps into a folder on your
harddisk. To distinguish between mulptile drives, you must first create a
'.drive_id' file in the root of the device which contains a unique-identifier
of this backup-device.
The script is designed for use as a user to backup the home-directory or parts
of it. It is not meant to backup a whole system. 

Instructions:
    - Set LOGFILE to a appropriate location
    - Add one or multiple backup-jobs to the CONFIG array

About

Python wrapper script around rsync to create incremental backups

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages