Skip to main content

How can we help you?

Druva Documentation

How to move Phoenix logs and Phoenix configuration directory to a custom location

 

Overview

This article describes the steps to move the Phoenix log and configuration directories from their default location in Windows and Linux servers to a custom location. The default location in Windows is C:\ProgramData\Phoenix while the default location in Linux is var/Phoenix (Phoenix Configuration file) and /var/log/Phoenix (Logs).  Use these steps when the default drive where Phoenix is installed does not have sufficient disk space. Druva recommends checking the system requirements before you install Phoenix on Windows or Linux servers. We use junction points in Windows and symbolic links in Linux to move these files in Linux.

For information on prerequisites and configuration details for Phoenix, refer:

Procedure for Windows servers

Prerequisite: Stop all the Phoenix processes running on the server.

  1. Go to services.msc and stop Druva Phoenix Agent Client Service.
  2. Copy the Phoenix directory from C:\ProgramData\Phoenix to the target location, for example D:\Phoenix Agent\.
  3. You can choose any location which has sufficient space to store data. 
  4. Rename the Phoenix directory at the default location to C:\ProgramData\Phoenix.Moved.
  5. Open the command prompt as administrator and run command:
    C:\Users\Administrator>mklink /j "C:\ProgramData\Phoenix" "D:\Phoenix Agent\Phoenix"  
    This creates a junction point under C:\ProgramData\Phoenix.
  6. Start Phoenix agent services and verify whether all the services are running correctly.

Note: After verifying all the Phoenix agent services are running perfectly, you can delete the Phoenix directory from C:\ProgramData\Phoenix.Moved. 

Procedure for Linux servers

You can use symbolic link to make /var/Phoenix directory point to the new location on the volume which has more space. 

  1. Stop Phoenix service 
    /etc/init.d/Phoenix stop
  2. Move the current data in /var/Phoenix data to the new location.
  3. Mount /var/Phoenix to a new location using the following symbolic link command.
    ln -s /var/Phoenix /path/to/symlink<path to new location>
  4. Start the Phoenix service.
    /etc/init.d/Phoenix start
  • Was this article helpful?