Installing on a Debian System

The Debian buster release will be the last release that includes packages for Cedar Backup v2.

The easiest way to install Cedar Backup onto a Debian system is by using a tool such as apt-get or aptitude.

If you are running a Debian release which contains Cedar Backup, you can use your normal Debian mirror as an APT data source. (The Debian etch release is the first release to contain Cedar Backup 2.) Otherwise, you need to install from the Cedar Solutions APT data source. [13] To do this, add the Cedar Solutions APT data source to your /etc/apt/sources.list file.

After you have configured the proper APT data source, install Cedar Backup using this set of commands:

$ apt-get update
$ apt-get install cedar-backup2 cedar-backup2-doc
      

Several of the Cedar Backup dependencies are listed as recommended rather than required. If you are installing Cedar Backup on a master machine, you must install some or all of the recommended dependencies, depending on which actions you intend to execute. The stage action normally requires ssh, and the store action requires eject and either cdrecord/mkisofs or dvd+rw-tools. Clients must also install some sort of ssh server if a remote master will collect backups from them.

If you would prefer, you can also download the .deb files and install them by hand with a tool such as dpkg. You can find these files files in the Cedar Solutions APT source.

In either case, once the package has been installed, you can proceed to configuration as described in Chapter 5, Configuration.

Note

The Debian package-management tools must generally be run as root. It is safe to install Cedar Backup to a non-standard location and run it as a non-root user. However, to do this, you must install the source distribution instead of the Debian package.