Port details on branch 2022Q3 |
- omnibackup One Script to back them all up
- 0.2.1 sysutils =1 0.2.1Version of this port present on the latest quarterly branch.
- Maintainer: info@babaei.net
- Port Added: 2018-07-18 12:48:47
- Last Update: 2023-02-08 10:53:56
- Commit Hash: 6e1233b
- People watching this port, also watch:: coreutils, vault, fcron, flock, monit
- License: MIT
- WWW:
- https://github.com/NuLL3rr0r/omnibackup
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- omnibackup>0:sysutils/omnibackup
- To install the port:
- cd /usr/ports/sysutils/omnibackup/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/omnibackup
- pkg install omnibackup
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: omnibackup
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1572913297
SHA256 (NuLL3rr0r-omnibackup-0.2.1_GH0.tar.gz) = 9b605063b9a5fdd72c1f0b7577e2155fa9f4e496372bca51789ce644583cb139
SIZE (NuLL3rr0r-omnibackup-0.2.1_GH0.tar.gz) = 47842
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Runtime dependencies:
-
- bash : shells/bash
- flock : sysutils/flock
- jq : textproc/jq
- sudo : security/sudo
- slapcat : net/openldap26-server
- pg_dump : databases/postgresql13-client
- pg_dumpall : databases/postgresql13-client
- mysqldump : databases/mysql57-client
- Library dependencies:
-
- libldap.so.2 : net/openldap26-client
- libpq.so.5 : databases/postgresql13-client
- libmysqlclient.so.20 : databases/mysql57-client
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for omnibackup-0.2.1:
DOCS=on: Build and/or install documentation
OPENLDAP=on: OpenLDAP support
PGSQL=on: PostgreSQL database support
MYSQL=on: MySQL database support
===> Use 'make config' to modify these settings
- Options name:
- sysutils_omnibackup
- USES:
- ldap pgsql mysql
- pkg-message:
- For install:
- 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.
- Master Sites:
|