Skip to end of metadata
Go to start of metadata

The Linux Backup Agent CLI includes the cdp-agent command that allows you to start, stop, and restart the Backup Agent. If the Backup Agent is not running when you submit a restart, the command starts the Backup Agent before continuing. For more information about the cdp-agent command, see About the cdp-agent and serverbackup-setup tools.

Start the Backup Agent

To start the Backup Agent using the Linux Backup Agent CLI:

1. Run the cdp-agent command using the start option as follows:

# /etc/init.d/cdp-agent start

The system returns the following data: 

/etc/init.d/cdp-agent start: cdp started

 
2. Verify the Backup Agent status by running the cdp-agent command using the status option as follows:

# /etc/init.d/cdp-agent status

The system returns the following data:

/etc/init.d/cdp-agent status: cdp (pid 6975) running

For more information about the cdp-agent command, see About the cdp-agent and serverbackup-setup tools.

Stop the Backup Agent

To stop the Backup Agent using the Linux Backup Agent CLI:

1. Run the cdp-agent command using the stop option as follows:

# /etc/init.d/cdp-agent stop

The system returns the following data:

/etc/init.d/cdp-agent stop: cdp stopped

2. Verify the Backup Agent status by running the cdp-agent command using the status option as follows:

# /etc/init.d/cdp-agent status

The system returns the following data:

/etc/init.d/cdp-agent status: cdp (no pid file) not running

For more information about the cdp-agent command, see About the cdp-agent and serverbackup-setup tools.

Restart the Backup Agent

To restart the Backup Agent using the Linux Backup Agent CLI:

1. Run the cdp-agent command using the restart option as follows:

# /etc/init.d/cdp-agent restart

The system returns the following data:

/etc/init.d/cdp-agent stop: cdp stopped /etc/init.d/cdp-agent start: cdp started

Note that it may require up to 60 seconds to stop the Backup Agent.

2. Verify the Backup Agent status by running the cdp-agent command using the status option as follows:

# /etc/init.d/cdp-agent status

The system returns the following data:

/etc/init.d/cdp-agent status: cdp (pid 6975) running

For more information about the cdp-agent command, see About the cdp-agent and serverbackup-setup tools.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.