Backup

Open source

Backup is a Ruby gem that describes backup jobs in a Ruby DSL, covering databases, archives, compression, encryption, storage and notifications.

backup.github.io
Backup homepage screenshot
GitHub stars
4.9k
Last 30 days
+2(+0%)
Last commit
2 yr ago
Repository age
17 years
Version
4.3.0
Licence
MIT
Self-hosted
Yes

About Backup

Backup lets you define each backup job as a model written in a Ruby DSL. A job is run by its trigger name with the backup perform command, and a generator helps create the first configuration.

A model can combine archives, which are tar files, with database dumps for MySQL, PostgreSQL, MongoDB, Redis, SQLite or Riak. The result can be compressed with Gzip, Bzip2 or a custom compressor and encrypted with OpenSSL or GPG before it is sent to storage such as Amazon S3, SFTP, SCP, RSync or a local folder.

The documentation marks each component as Core, Extra or Broken. The project is in maintenance-only status, with version 5.0 planned as the last feature-bearing maintenance release.

Key features

  • Backup jobs written as a Ruby DSL
  • Dumps MySQL, PostgreSQL, MongoDB and Redis
  • Tar archives with GNU or BSD tar
  • Gzip, Bzip2 or custom compression
  • OpenSSL and GPG encryption of the package
  • Several storage back ends, including S3

Good fit for

  • Scheduled database dumps to S3
  • Encrypted file archive backups
Tags
backup
ruby
database backup
encryption
s3
cli

Backup: questions and answers

What is Backup used for?
Backup is a Ruby gem that describes backup jobs in a Ruby DSL, covering databases, archives, compression, encryption, storage and notifications. It is a good fit for scheduled database dumps to S3 and encrypted file archive backups.
Is Backup open source?
Yes. Backup is open source under the MIT licence. Its source code is on GitHub at backup/backup and is written mainly in Ruby.
Is Backup free?
Yes. Backup is open source, so the software itself is free to use.
What are some alternatives to Backup?
Similar open-source tools in the File Storage & Sharing category include rclone, restic and BorgBackup. SaaS products in the same category include Arq, pCloud and ElephantDrive.
Is Backup actively maintained?
The most recent commit to Backup was on 3 July 2024, and the latest release is 4.3.0, published on 3 July 2016. The project has 4.9k stars on GitHub, with 2 added in the last 30 days.

Open-source alternatives to Backup

See all

SaaS alternatives to Backup

See all