SIBA is a backup and restore utility. It implements daily backup rotation scheme. It is most suitable in sutuations when you need to have a history of backups. When run daily, SIBA retains full year history of backups by keeping 23 files in total: for the last 6 days, 5 weeks and 12 months.
- Easy to use: configure, backup and restore with a single command.
- Feature-rich: backup and restore files, MySQL, MongoDB databases to local directory, FTP or Amazon S3.
- Secure: all backups are encrypted before moving to destination.
- Cross platform: runs on any computer with Ruby 1.9 or later.
- Easy to extend: developers can easily add new backup sources, archivers, encryptions and destinations.
$ gem install siba
Siba uses GnuPG for encryption.
gpg command-line utility to be present on your system.
gpg on Mac OS X:
$ brew install gnupg
Create a configuration file:
$ siba generate mybak
$ siba backup mybak
$ siba restore mybak
Show available plugins:
$ siba list
Show other commands and options:
Create a gem skeleton for a new destination plugin:
$ siba scaffold destination my-cloud
Tip: to create other plugin types, replace
It is recommended to run
siba backup command daily or hourly. Use your favourite scheduler to automate the process: Cron, Scheduled Tasks, iCal etc.
- files: backup local files and directories.
- mongo-db: backup and restore MongoDB (homepage).
- mysql: backup and restore MySQL database (homepage).
- tar: archive with optional gzip or bzip2 compression.
- gpg: encrypt with AES256, Blowfish, Twofish, 3DES and other ciphers.
- dir: backup to local directory.
- aws-s3: upload backup to Amazon S3 storage (homepage).
- ftp: store backups on FTP server (homepage).