Change the location of the Security Management Center backup directories for the Management and Log servers

Article Number: 000010128

Products: NGFW Security Management Center

Version: 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.9, 5.8, 5.5, 5.10

Last Published Date: January 03, 2019

Problem Description

You may need to change the location of the backup creation folder as well as the backup folder for the log server for the following reasons:

Daily Management Server backups take up a significant amount of disk space on the SMC installation partition.

Log Server backup is too large to store on the server installation partition.

Resolution

To configure a new location for the Management server backup folder:

Stop the Management Service:

On Microsoft Windows:

Open the Services panel.

Stop the Forcepoint Management Server Service.

On Linux:

Open a command-line session.

Type service sgMgtServer stopand press Enter.

Configure the new backup location:

Open the file <installation folder>/data/SGConfiguration.txt in a text editor.

Note On a Microsoft Windows installation, if the default installation path was used then the data folder is under the C:\ProgramData\Forcepoint\Stonesoft Management Center directory.

Add the following line to define a new backup folder path:

SG_BACKUP_DIR=<new backup folder>

For example on Linux:SG_BACKUP_DIR=/opt/smc/backups

On a Microsoft Windows installation you must escape the special characters, for example: SG_BACKUP_DIR=D\:\\Forcepoint\\SMC

Start the Management Service

On Microsoft Windows:

Open the Services panel.

Start the Forcepoint Management Server Service.

On Linux:

Open a command-line session.

Type service sgMgtServer startand press Enter.

The defined directory must have the correct permissions to allow the sgadmin user to create files.

On Linux:

Open a command-line session.

Type chmod 755 <new backup folder> and press Enter.

Type chown sgadmin <new backup folder> and press Enter.

Type chgrp sgadmin <new backup folder> and press Enter.

To configure a new location for the Log server backup folder:

NoteYou do not have to include logs in a backup, whether you reinstall your log server on the same host or a different host. The log files can simply be moved to the new installation storage folder, but you must keep the existing folder structure.

Stop the Log Service:

On Microsoft Windows:

Open the Services panel.

Stop the Forcepoint Log Server Service.

On Linux:

Open a command-line session.

Typeservice sgLogServer stop and press Enter.

Configure the new backup location:

Open the file <installation folder>/data/LogServerConfiguration.txt in a text editor.

Add the following line to define a new backup folder path: LOG_BACKUP_DIR=<new backup folder>

Start the Log Service:

On Microsoft Windows:

Open the Services panel.

Start the Forcepoint Log Server Service.

On Linux:

Open a command-line session.

Type service sgLogServer startand press Enter.

On Linux, configure proper permissions for new folder:

Open a command-line session.

Type chmod 755 <new backup folder> and press Enter.

Type chown sgadmin <new backup folder> and press Enter.

Type chgrp sgadmin <new backup folder> and press Enter.

Article Feedback

Is the article related to the topic you are looking for?
Yes
No

You must answer this question.

Did the information in this article answer your question or resolve your issue?
Yes
No

Give Feedback

This form submits information to the Support website maintenance team.

To communicate with your Technical Support Representative about a case, please visit the Case Details page and submit a case comment, or call your representative. Comments submitted here will not be added to your case communications.

To file a site categorization request, please to go CSI.forcepoint.com and submit the URL you would like to see recategorized. On the resulting report, click the "Suggest a different categorization" link. Comments submitted here will not recategorize your website.