RRansomBackup
HomeFAQSecurityIT
LINUX CLIENT · BETA

RansomBackup on Linux

Transparent Restic-based scripts. The repository password stays on the computer and BACKUP and RESTORE tokens are not interchangeable.

Linux package 0.7.2

Installer, backup, restore and sample systemd units.

Download .tar.gzA236E379801FD65C34A8E88A5964E14234FB04662094E8F999B2A18DB78D6E04

Requirements

sudo apt update
sudo apt install restic curl python3 coreutils

Bash, GNU base64, Restic, curl and Python 3 are required.

1. Install

tar -xzf RansomBackupFREE-Linux-0.7.2.tar.gz
cd ransombackup-linux
chmod +x install.sh backup.sh restore.sh
RB_LANG=en ./install.sh

The installer asks for email, source folder, acceptance of the Terms of Use and a private password. No installation code is required. Keep that password offline.

2. Back up

./backup.sh

The installer initializes the repository. Later runs upload new deduplicated blocks and update the snapshot catalogue.

3. Token example

export RESTIC_REPOSITORY="rest:https://free.ransombackup.com/REPOSITORY_ID/"
export RESTIC_REST_USERNAME="rb_USERNAME"
export RESTIC_REST_PASSWORD="BACKUP_TOKEN"
export RESTIC_PASSWORD_FILE="$HOME/.config/ransombackup/repository-password"

restic backup /srv/data
restic snapshots
# A data-pack restore with BACKUP_TOKEN must be denied.

The daily token cannot issue DELETE or download /data/*. An approved request supplies a temporary RESTORE token to:

./restore.sh /restore/parent

The script creates a new directory and verifies restored data.

4. Schedule and verify

sudo install -m 0644 ransombackup-backup.service /etc/systemd/system/
sudo install -m 0644 ransombackup-backup.timer /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now ransombackup-backup.timer
systemctl list-timers ransombackup-backup.timer
Review paths and user permissions before enabling the unit. Credential files must be mode 0600.
No server-side pruning. The server cannot interpret the repository without your password. FREE uses quota enforcement instead.
Home · Terms · Privacy · Support