BSD Ports

sysutils/omnibackup 0.2.1_1 DragonFly

One Script to back them all up

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
sysutils
Package size
38.2 KiB, 244.3 KiB installed

Description

OmniBackup is a MIT-licensed, feature rich, pure Bash script which assists you in taking periocdic backups from OpenLDAP, PostgreSQL, MariaDB / MySQL and your filesystem. It also lets you extend OmniBackup by creating custom backup scenarios and defining your own customized scripts.

Configuration in OmniBackup is done through JSON. It also provides plenty of compression and cryptography algorithms such as LZMA2, gzip and bzip2 compression algorithms, and AES-128, AES-192 and AES-256 symmetric cryptography algorithms. Furthermore, it has support for RSA signatures to verify the backup origin and integrity on remote servers. MD4, MD5, MDC-2, RIPEMD160, SHA, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 and WHIRLPOOL are supported as backup integrity hash algorithms.

It supports multiple backup servers and as many as reports recipients through email. It has the optional ability to follow symbolic links or to preserve permissions inside backup files. And, last but not least it provides random passphrase generation for encrypted archives with variable length and patterns or a unique passphrase for all backups. It's also possible to encrypt each passphrase by using RSA public keys for individual backup servers.

In the other systems

SystemPortVersion
DragonFlysysutils/omnibackup0.2.1_1
FreeBSDsysutils/omnibackup0.2.1_2

Install

Binary package:

pkg install omnibackup

From DPorts:

cd /usr/dports/sysutils/omnibackup && make install clean

Dependencies

Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

In order to run OmniBackup, you will need to create and configure the main
configuration file, e.g.:

$ cp -p /usr/local/etc/omnibackup/config.json.sample \
      /usr/local/etc/omnibackup/config.json

or, create it in the root users' home directory:

$ cp -p /usr/local/etc/omnibackup/config.json.sample \
      /root/.omnibackup/config.json

In order to take automatic backups every 24 hours at 01:00am UTC run this
command:

$ crontab -e -u root

Then add the following lines to the root users' crontab:

# OmniBackup daily backups
00      01      *       *       *       /usr/local/bin/omnibackup

To avoid data loss, make sure to consult the documentation at:

* /usr/local/share/doc/omnibackup/README.md
or
* https://github.com/NuLL3rr0r/omnibackup

Before you use it in production.