These instructions were tested with amanda-3.2.0 on Windows Server 2008 R2 (64-bit).
Installation
Install the Cygwin packages required to build the Amanda client.
- gcc-core
- gcc-g++
- libiconv
- make
- perl
- libglib2.0-devel
- pkg-config
- openssh (for SSH auth)
Create the Amanda account. Add the account to the Administrators group. Add the
Amanda account to /etc/passwd.
Build Amanda
./configure \
--prefix=/usr/local \
--with-user=amanda_backup \
--with-group=Administrators \
--with-ssh-security \
--without-server \
--without-force-uid \
--without-ndmp
make
make install
Finish the installation.
mkdir -p /usr/local/var/amanda
touch /usr/local/var/amanda/amandates
mkdir /usr/local/var/amanda/gnutar-lists
mkdir ~amanda_backup
chown amanda_backup: ~amanda_backup
SSH Authentication
mkdir ~amanda_backup/.ssh
touch ~amanda_backup/.ssh/authorized_keys
chown -R amanda_backup:Administrators ~amanda_backup/.ssh
Add the Amanda server's SSH key to ~amanda_backup/.ssh/authorized_keys.