You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Xala af7ac85518 edit README 5 years ago
DEBIAN up to v0.4 with new option (-A) and custom backup name 5 years ago
etc up to v0.4 with new option (-A) and custom backup name 5 years ago
usr/local Fix show history with -D and without -A 5 years ago
var many bug fix and up to v0.2 5 years ago up to v0.4 with new option (-A) and custom backup name 5 years ago
LICENSE Add license 6 years ago edit README 5 years ago


Little backup tool for Linux coded in bash.

You can save your SQL databases, SVN repo, Websites and all files as you want.

Brid create an archive of your data before transfer via SSH, SFTP or FTP. He support MariaDB and MySQL databases system and PostgreSQL in beta.

Brid can notify you via success and error mail. You can schedule mail report via cron.

Note :
Brid create a copy all data on local filesystem, there is a risk that brid fills the disk space.
You can change the working directories in the config file.

Brid name

Brid or Brigit is celte goddess. She incarnate protection. Perfect for this tool who save your data.


Require: rsync, tar (with xs-utils), gzip, ping, ssh, ftp, netcat and exim4 (or postfix) configured for mailing

Optional: mysqldump or pg_dump/pg_dumpall for backup SQL

From source

# git clone
# mkdir brid-{version}
# cp -Rp brid/* brid-{versio}/
# find brid-{version}/ -name ".git*" -exec rm {} \;
# dpkg-deb --build brid-{version}

With Debian package

# dpkg -i brid-{version}.deb


All settings are in /etc/brid/brid.conf. So you need to rename brid.conf.dft after installation.

You can create many custom config files in this directory.

For data, you need to edit whitelist.lst and blacklist.lst files in /etc/brid/.

  • The whitelist.lst file define one path by line of a directory or files as you want to backup.
  • The blacklist.lst file exclude directory or files as you don't want to backup.


I don't recommend using the "-m" option for sending success mail after all backups. Because this type of mail quickly becomes "spam".

To solve this problem, it's possible to schedule the generation of reports with cron and history option.

Exemple of schedule weekly report:

00 01 * * 1 root /usr/local/bin/brid -D 7 -H | mail -s "Weekly backup report"

If an admin delete scheduling a backup by mistake, this report will show it.


Read the man page or see help.

$ man brid
$ sudo brid -h


Brid is distribuate in GNU GPLv3, see licence terms for more details.