Version 2.03 download

What is it?
iBackup is to simplify backing up the system configuration files (/etc). You can run the program from any directory, it will by default save the (maybe compressed) tarball to /root. It is possible to encrypt the tarball, to upload the tarball to some other host and run this backup automated in a cronjob.
You might want to check the man pages of tar(1), scp(1), gzip(1), compress(1), ncftp(1), openssl(1) and www.tac.nyc.ny.us/kim/ssh/ for an introduction to ssh/scp with public/private keys.

Installation and configuration
tar xvf ibackup-2.03.tar
make install
$EDITOR /etc/ibackup.conf

Dependencies
GNU Bash (required)
OpenSSH (recommended)

Usage
Run ibackup with one or more of the following parameters:

  • linux - save system configuration of linux
  • bind - save bind configuration
  • proc - save most of /proc
  • --dont-compress | -n - do not compress the tarball
  • --encrypt | -e - do encrypt the tarball
  • --upload | -u - do upload the tarball to another host (scp/ftp)
  • Running iBackup without parameter gives you a list of available configurations. You should check the source to add your own parameters (things to backup or exclude). When restoring make sure you are in /, unpacking in /pub would restore your backups in there.

    Output
    iBackup will produce a tarball named like this hostname_date_time.tar[.gz|.Z] including all the configuration files you specify as parameters.

    Example
    root@banana:~# ibackup linux proc bind
    root@banana:~# ls -la
    -rw------- 1 root root 158269 Jan 15 14:59 banana_15011963_1459.tar.gz
    root@banana:~# _

    I Thank
    mcduke on opn (#macdev) for making the logo (even when he was dead tired)
    ORBman from #windowmaker for giving me security related tips and telling me about openssl
    mentor (my hero) from #debian for fixing the upload bug
    and to my employer Internetworking AG

    29/05/2002 gurkan@linuks.mine.nu