View Source

The Linux Backup Agent installer automatically sets default parameters for the configuration file located in:
{code}/usr/sbin/r1soft/conf/agent_config{code}
After making changes to this file you need to restart the Agent daemon. To restart the Backup Agent use:
{code}/etc/init.d/cdp-agent restart{code}


h3. Backup Agent Configuration Options

|| Option Name || Default Value || Description ||
| *ConfDir* | {{/usr/sbin/r1soft/conf}} | Configuration directory path. |
| *LogDir* | \\ | Directory where the Backup Agent saves its log files. |
| *LogFileMaxBytes* | 33554432 | Sets the maximum size in bytes of an Server log file before it is rolled over and a new log file is created. |
| *LogFileMaxFiles* | 10 | LogFilesMaxFiles sets the maximum number of log files the Backup Agent will create before it starts deleting older log files. The value of zero will allow an unlimited number of files. |
| *BindTo* | 0.0.0.0 | The Backup Agent will listen for requests on this IP. Default is 0.0.0.0, meaning the Backup Agent accepts connections on any IP address configured on your Linux server. |
| *LocalPort* | 1167 | TCP port the Backup Agent will listen on. |
{newversion}| *PidFile* | {{/var/run/buagent.pid}} | File to which Backup Agent will write its process identifier for {{/etc/init.d/cdp-agent}} to shut it down. |
| *LockFile* | {{/var/run/buagent.lock}} | Backup Agent lock file. Prevents multiple Agents from starting at the same time. |
| *IPAuthentication* \\ | 0 \\ | If set to 1, the Backup Agent looks for a file in the {{server.allow}} directory matching the IP address of an incoming connection before performing RSA Key authentication. The new default as of Linux |

Backup Agent 1.56 is "No." This means the Backup Agent will only perform RSA Key authentication and will not check the source IP address of the connecting Backup Manager. 
\\
*Recommended Setting:* RSA Key authentication is VERY strong and is just like using SSH with RSA or DSA key authentication (authentication without a password). For added security, you can have the Backup Agent check that the source IP address of the connecting Backup Manager attempting to authenticate is a configured IP address in the {{/etc/buagent/server.allow}} directory which contains Backup Manager RSA public keys named with the source IP address of the Backup Manager. \|
{newversion}Run the following command to list all configuration options:
{code}cat /usr/sbin/r1soft/conf/agent_config{code}
or
{code}less /usr/sbin/r1soft/conf/agent_config{code}


!agent-config.png|border=1!

\\ {excerpt:hidden=true}Instructions on how to change Linux Backup Agent configuration: configuration directory path, log path, IP address to listen to, TCP port, PID file, lock file, IPAuthentication parameter. Description of the Backup Agent configuration options. {excerpt}