Difference between revisions of "Zmanda Windows Client"

From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)
Jump to navigationJump to search
Line 4: Line 4:
 
* Backup of open files
 
* Backup of open files
 
* Backs up NTFS filesystem
 
* Backs up NTFS filesystem
* Backup of extended attributes
+
* Backup of extended attributes (ACLs)
 
* Uses open format for backup images ([http://en.wikipedia.org/wiki/ZIP_(file_format) ZIP64])
 
* Uses open format for backup images ([http://en.wikipedia.org/wiki/ZIP_(file_format) ZIP64])
 
* Client backup compression using [http://en.wikipedia.org/wiki/DEFLATE deflate algorithm]
 
* Client backup compression using [http://en.wikipedia.org/wiki/DEFLATE deflate algorithm]

Revision as of 02:37, 30 August 2008

Zmanda Windows Client Community Edition is an Amanda client for Windows platform that uses native Win32 API and uses Volume Shadow Services for backup.

Features

  • Backup of open files
  • Backs up NTFS filesystem
  • Backup of extended attributes (ACLs)
  • Uses open format for backup images (ZIP64)
  • Client backup compression using deflate algorithm

Downloads

  • Amanda client for 2.6.0p2 (ZWCInstaller-Community-26.zip) is available for download from Zmanda downloads page.

Supported versions

  • Zmanda Windows Client 2.6.0 works with Amanda server packages (from Zmanda Downloads page) version 2.6.0 and later releases.
  • Amanda Windows client has been tested with (all running on x86)
    • Windows XP Pro (Server pack 2)
    • Windows 2003 server
    • Windows Vista
    • Windows 2008 server

Installation

Zmanda Windows Client (ZWC) uses Microsoft installer.

  • Download ZWC zip archive from the downloads page.
  • Extract the zip archive.
  • Double-click on the setup.exe to install the Windows client.

ZWC installer steps

  • Welcome Screen
Welcome01.jpg
  • License agreement
License Agmt 02.jpg
  • Select the installation folder for ZWC
Select Install 03.jpg
  • Choose password for "amandabackup" user. All backups will be performed as this user. The user account is created on the local machine. If the software is being installed on domain controller, the user created in the domain.
User Settings 04.jpg
  • If the ZWC is being installed on a Windows machine using non "US English" locale, please provide local equivalents.
Group Settings 05.jpg
  • Amanda server information. Please provide hostname of the server that will back up this windows machine.
Amanda Server Info 06.jpg
  • Installation notes: Please read before continuing.
Install Notes 07.jpg
  • Rest of the installation steps are self-explanatory.

Windows client configuration

Adding dumptype definitions for Windows client

Add dumptype definitions to the Amanda configuration file amanda.conf. If you want to share the definitions across all Amanda configurations, please add it to /etc/amanda/template.d/dumptypes file.

  • Dumptype definition for normal backup
define dumptype zwc-normal {
   global
   program "DUMP"
}
  • Dumptype definition for compressed backup
define dumptype zwc-compress {
   global
   compress client fast
   program "DUMP"
}

Adding Windows file systems

Run amaddclient to add Windows client filesystems to be backed up

$ amaddclient --config <configuration name> --client <Windows host name> --diskdev <filesystem> --dumptype <dumptype definition>

Example:

$ amaddclient --config DailySet1 --client windowsdesktop.company.com --diskdev "\"C:/Documents and Settings/Sunil/My Documents\""  --dumptype zwc-compress
  • DailySet1 is the Amanda configuration name
  • Uses "\" (back slash) to escape special characters such as white space in file names.
  • Backups for the filesystem will be compressed

Note: Ignore the WARNING messages from "amaddclient" about failing to copy files to the Windows Client.

Run amcheck on the Amanda server

Fix all configuration problems found by the amcheck(8) command. Run amcheck as the amandabackup user on the Amanda server.

For example:

$ amcheck -c DailySet1

If there are no amcheck errors, you are ready to do backup of Windows client. In case of amcheck errors, take a look at amcheck troubleshooting section.

Restoring files to the Windows client

To restore files to the Windows client, the backup image will have to be recovered on the Amanda server and copied to the Windows client. Windows machine to which files being restored to, does not require Amanda software.

  • On the Amanda server, use amadmin and amfetchdump to extract the backup image on the Amanda server. You will have to use amfetchdump repeatedly to extract images of multiple backup levels. It has to be performed as "amandabackup" user.

Example:

$ amfetchdump DailySet1 windowsdesktop.company.com C:/ 20080818143408
  • Copy the backup images to the Windows client. It will appear as Microsoft compressed folder. You can also use WinZIP or PKZIP to extract the ZIP archive.

Log Files

Installation logs
C:\ZWC_install.log
Amanda logs
C:\Program Files\Zmanda\Zmanda Client for Windows\Debug\LogFile.txt