How to Move ZWC MySQL folder to another directory

This article is for Amanda Enterprise (AE)

In some cases the Zmanda Windows Client (ZWC) database grows larger than the available disk space. This can be addressed in two ways: Uninstall/Reinstall ZWC on a drive with more space or move the database to a different drive. To move it to a different drive. To do this, follow the below steps:

  1. Stop “ZWC Service” in the Services panel of Windows
  2. Create a new directory
  3. Copy the contents of the existing C:\Program Files\Zmanda\Zmanda Client for Windows – Server Edition(x64)\Database\data directory to this new directory/drive
  4. Edit my.ini file which is located in C:\Program Files\Zmanda\Zmanda Client for Windows – Server Edition(x64)\Database and add the below line under the mysqld section
    • datadir = path of the new directory
    • e.g.: datadir=E:\MySQLdata
  5. Start “ZWC Service” in the Services panel