BSD Ports

sysutils/omnibackup 0.2.1_2 FreeBSD

One Script to back them all up

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
49a9755d0d
License
MIT
Categories
sysutils
Package size
39.8 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
FreeBSDsysutils/omnibackup0.2.1_2
DragonFlysysutils/omnibackup0.2.1_1

Install

Binary package:

pkg install omnibackup

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	omnibackup>0:sysutils/omnibackup

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.1_20.2.1_20.2.10.2.1_1-
FreeBSD:14:quarterly0.2.1_20.2.1_2n/a0.2.1_1-
FreeBSD:15:latest0.2.1_20.2.1_2n/a0.2.1_10.2.1_1
FreeBSD:15:quarterly0.2.1_20.2.1_2n/an/an/a
FreeBSD:16:latest0.2.1_20.2.1_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 18
Run dependencies 124

The first 100 are listed.

No port depends on this one.

Configuration

Options name: sysutils_omnibackup

OptionDefaultDescription
DOCSonBuild and/or install documentation
MYSQLonMySQL database support
OPENLDAPonOpenLDAP support
PGSQLonPostgreSQL database support
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.

Files

distinfo 1
FileSizeSHA256
NuLL3rr0r-omnibackup-0.2.1_GH0.tar.gz478429b605063b9a5fdd72c1f0b7577e2155fa9f4e496372bca51789ce644583cb139

Commit history 1

DateCommitCreditsLog message
49a9755d0d Xin LI sysutils/omnibackup: convert OpenLDAP dependency to USES=ldap:server
Use ldap:server via the options framework instead of manually adding the server RUN_DEPENDS. Note that techinically omnibackup does not require the client library anyway. PR: ports/297403 Approved by: maintainer (Mamadou Babaei)