DAR2

From SME Server
Jump to navigation Jump to search

An smeserver contribution to schedule and run the DAR2 (Disk ARchive) utility

Maintainer

Darrel May (Contrib)

Description

This contrib uses dar (http://dar.linux.free.fr) to create a feature rich backup system for smeserver 7.x. It adds a server-manager panel (Backup > Disk ARchive) to define, schedule and launch server backups and restores, including full disaster recovery, to and from network shares or an attached local disk. The destination network share can be any accessible network mapped drive. Another server, pc workstation or network attached hard drive. The destination local disk can be any mountable hard disk. IDE/SCSI/SATA/USB. In addition an unlimited number of custom backups may be scheduled.

Installation

The contrib source files for SME Server 7.x can be found at ibiblio.org

To install this contrib, first download the packages from the site into an empty directory:

wget http://mirror.contribs.org/smeserver/releases/7/smetest/i386/RPMS/dar-2.3.6-1.el4.sme.i386.rpm
wget http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/smeserver-dar2-0.0.1-3dmay.noarch.rpm

Install with:

yum localinstall *.rpm

You will probably need to reboot the server before using the contrib. The yum utility, when run, will provide you with details of how to do this.

Note: some earlier SME Server 7.x versions required additional packages (e.g. FormMagick) that are now included in the very latest SME Server 7.x. If using an earlier version of SME Server, the required packages can be found with the dar2 package at ibiblio.org

Additional information

There is no yum update server for this contribution.

The dar utility is available for a number of platforms, including Windows. The Windows Version is command-line only, with no graphical view of files for restoring. A graphical interface (kdar) is available for Linux platforms.


Midnight Commander (MC) dar-extension

With the installation of DAR2 comes an extension for viewing .dar files from within Midnight Commander but it is not installed by default. You can find the files extracted in the /opt/dar2-mc directory. For installation of this extension run the install.sh shell script with:

cd /opt/dar2-mc
./install.sh

DAR2 command line scripts

Located in /etc/e-smith/events/actions/

dar2-backup = script that performs backup
dar2-dr-restore = script that performs a complete disaster recovery restore
dar2-mc = script that launches Midnight Commander and provides access to your archives
dar2-restore = script that performs restore

Bugs

Please raise bugs under the SME-Contribs section in dar2 and select the smeserver-dar2 component or use this link .

Check installed version

yum info installed smeserver-dar2