unixnut / rsync-push-backup Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mikaellanger/rsync-push-backup
Very simple rsync backup script inspired by rsnapshot that pushes incremental backups to a server
This project forked from mikaellanger/rsync-push-backup
Very simple rsync backup script inspired by rsnapshot that pushes incremental backups to a server
This is a very simple rsync backup script, very much inspired by rsnapshot, but with very few dependencies (just a bash and rsync) and backups are pushed to a server rather than pulled in. Incremental snapshots are rotated in hourly, daily, weekly and monthly intervals. To use, put the backup script in ~/bin Configuration must be put in ~/.backup/config and regular rsync includes/excludes in ~/.backup/exclude I run this with the following crontab entries: @reboot $HOME/bin/backup > $HOME/.backup/log 2>&1 49 * * * * $HOME/bin/backup > $HOME/.backup/log 2>&1 The result will look something like this: lrwxrwxrwx 1 miklo miklo 10 2011-12-13 20:11 daily.0 -> ./hourly.6 drwxr-xr-x 18 miklo miklo 4096 2011-12-12 19:49 daily.1 drwxr-xr-x 18 miklo miklo 4096 2011-12-11 20:50 daily.2 drwxr-xr-x 18 miklo miklo 4096 2011-12-10 11:49 daily.3 drwxr-xr-x 18 miklo miklo 4096 2011-12-07 21:49 daily.4 drwxr-xr-x 18 miklo miklo 4096 2011-12-07 20:49 daily.5 drwxr-xr-x 18 miklo miklo 4096 2011-12-06 21:49 daily.6 drwxr-xr-x 18 miklo miklo 4096 2011-12-13 21:49 daily.7 drwxr-xr-x 18 miklo miklo 4096 2011-12-13 21:49 hourly.0 drwxr-xr-x 18 miklo miklo 4096 2011-12-13 21:49 hourly.1 drwxr-xr-x 18 miklo miklo 4096 2011-12-13 20:49 hourly.2 drwxr-xr-x 18 miklo miklo 4096 2011-12-13 20:11 hourly.3 drwxr-xr-x 18 miklo miklo 4096 2011-12-12 23:49 hourly.4 drwxr-xr-x 18 miklo miklo 4096 2011-12-12 22:49 hourly.5 drwxr-xr-x 18 miklo miklo 4096 2011-12-12 21:49 hourly.6 lrwxrwxrwx 1 miklo miklo 10 2011-12-13 21:49 monthly.0 -> ./weekly.4 lrwxrwxrwx 1 miklo miklo 9 2011-12-11 18:49 weekly.0 -> ./daily.7
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.