All Projects → brainfucksec → rbackup

brainfucksec / rbackup

Licence: GPL-3.0 license
Shell script for encrypted backups with rsync and GnuPG

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to rbackup

btrfs-backup
A simple, flexible script for versioned backups using btrfs and rsync
Stars: ✭ 59 (+168.18%)
Mutual labels:  backup, rsync, bash-script
Rsync Time Backup
Time Machine style backup with rsync.
Stars: ✭ 2,572 (+11590.91%)
Mutual labels:  backup, rsync
backup-suite
Backup database, static files and config to AWS S3 with Cronjob
Stars: ✭ 32 (+45.45%)
Mutual labels:  backup, bash-script
Elkarbackup
Open source backup solution for your network
Stars: ✭ 247 (+1022.73%)
Mutual labels:  backup, rsync
M Wiz
Install Metasploit And Repair Metasploit In Termux With Easy Steps
Stars: ✭ 148 (+572.73%)
Mutual labels:  backup, bash-script
Rsync Incremental Backup
Configurable bash script to send incremental backups of your data to a local or remote target
Stars: ✭ 150 (+581.82%)
Mutual labels:  backup, rsync
Rsnapshot
a tool for backing up your data using rsync (if you want to get help, use https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss)
Stars: ✭ 2,335 (+10513.64%)
Mutual labels:  backup, rsync
time-travel
An rsync based backup script which only transfers modified files. Smooth integration into OSX Notification Center.
Stars: ✭ 43 (+95.45%)
Mutual labels:  backup, rsync
MailcowBackup
Script to backup/restore Mailcow and the host system using borgbackup. Handles 503 error page generation, mailflow stop/restart, SQL database dump, borg backup and prune and integrates with Logwatch for easy monitoring.
Stars: ✭ 28 (+27.27%)
Mutual labels:  backup, bash-script
planb
PlanB - automating remote backups and snapshots with zfs/rsync
Stars: ✭ 24 (+9.09%)
Mutual labels:  backup, rsync
Backintime
Back In Time - A simple backup tool for Linux
Stars: ✭ 1,066 (+4745.45%)
Mutual labels:  backup, rsync
linux-android-backup
Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
Stars: ✭ 119 (+440.91%)
Mutual labels:  backup, bash-script
Hactar
📃 An incremential daily backup script using rsync
Stars: ✭ 34 (+54.55%)
Mutual labels:  backup, rsync
System Tar And Restore
Backup and Restore your system using tar or Transfer it with rsync
Stars: ✭ 170 (+672.73%)
Mutual labels:  backup, rsync
Safeharbor
local mirror of your Github stars (including ALL branches)
Stars: ✭ 16 (-27.27%)
Mutual labels:  backup, bash-script
Rsyncosx
A macOS GUI for rsync
Stars: ✭ 780 (+3445.45%)
Mutual labels:  backup, rsync
Linux Timemachine
Rsync-based OSX-like time machine for Linux, MacOS and BSD for atomic and resumable local and remote backups
Stars: ✭ 358 (+1527.27%)
Mutual labels:  backup, rsync
Rdiff Backup
Reverse differential backup tool, over a network or locally.
Stars: ✭ 510 (+2218.18%)
Mutual labels:  backup, rsync
sicksync
Don’t accept the available as the preferable. Go the extra mile with extra speed.
Stars: ✭ 67 (+204.55%)
Mutual labels:  backup, rsync
adlibre-backup
High performance rsync backup utilising BTRFS / ZFS filesystem features
Stars: ✭ 35 (+59.09%)
Mutual labels:  backup, rsync

rbackup

Introduction

rbackup is a shell script for making backup of your Linux system with rsync. Uses tar gzip for compression and GnuPG for encryption.

This program is a "wrapper" for rsync, then you need to familiarize first with this program, see: rsync, also you need a gpg key for encrypt the archives.

Install

For install the program dowload the git repository and run the sh installer present in the git folder:

git clone https://github.com/brainfucksec/rbackup
cd rbackup
chmod +x install.sh
./install.sh

The installer create a $HOME/bin folder with a rbackup executable and $HOME/.config/rbackup folder for the configuration files.

Configuration

You need to edit the following configuration files for run rbackup:

~/.config/rbackup/config

This file is for rsync and backup main settings (i.e. user data, directories and files to backup, external volumes paths).

~/.config/rbackup/excluderc

This file is for directories and files to be excluded from backups, used by rsync option --exclude-from=FILE.

See: man rsync and rsync --help for more information.

These files are widely commented, anyway you can find the examples in /data/examples folder.

Usage

For start backup just run the script with --start or -s option:

rbackup --start

For show the help menù:

rbackup --help

Also you can run this script with crontab for periodic backups, e.g.:

crontab -e
# Run rbackup every night at 00:05
05 00 * * * ${HOME}/bin/rbackup --start

See: Linux crontab Command Help and Examples

This script use the following rsync default options:

--archive, -a            archive mode; equals -rlptgoD (no -H,-A,-X)
--human-readable, -h     output numbers in a human-readable format
--one-file-system, -x    don't cross filesystem boundaries
--info=progress2         show total transfer progress
--log-file=FILE          log what we're doing to the specified FILE
--exclude-from=FILE      read exclude patterns from FILE

See: man rsync and rsync --help for more information.

The completed backups are placed in the $HOME/.backups folder.

References:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].