Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ Deduplication Guide
  3. Using the NetBackup Deduplication Shell
  4. Monitoring and troubleshooting NetBackup services from the deduplication shell
  5. Collecting and transferring troubleshooting files
NetBackup™ Deduplication Guide

Collecting and transferring troubleshooting files

You can collect files from the following categories and transfer them to another host for easier viewing:

  • The Media Server Deduplication Pool (MSDP) history files

  • The MSDP configuration files

  • The MSDP log files

  • The system log files

Use the following procedure to collect and transfer these files from the deduplication shell:

To collect and transfer files

  1. Open an SSH session to the server as the msdpadm user, or for NetBackup Flex Scale, as an appliance administrator.
  2. If you plan to collect and transfer a large log file, you may need to increase the amount of time before the SSH connection times out. The default is 10 minutes. Use the following steps to increase the time:
    • Run the following command:

      setting ssh set-ssh-timeout ssh_timeout=<number of seconds>

    • Run the following command to verify the change:

      setting ssh show-ssh-timeout

    • Close the current SSH session and open a new one.

  3. Run one of the following commands to collect files of interest from the desired category:
    • support MSDP-history collect

    • support MSDP-config collect

    • support MSDP-log collect

    • support syslogs collect

    You can also use the following optional parameters:

    • pattern=<keyword>

      This parameter searches for a keyword within the files.

    • mmin="<minutes, +minutes, or -minutes>"

      This parameter specifies the timeframe to collect files from, in minutes. To collect the files from x minutes ago, enter mmin="x". To collect the files from less than x minutes ago, enter mmin="-x". To collect the files from more than x minutes ago, enter mmin="+x".

    • mtime="<days, +days, or -days>"

      This parameter specifies the timeframe to collect files from, in days. To collect the files from x days ago, enter mtime="x". To collect the files from less than x days ago, enter mtime="-x". To collect the files from more than x days ago, enter mtime="+x".

    For example:

    support MSDP-log collect pattern=spoold* mmin="+2"

  4. Run the scp command from any category to create a tarball of all previously collected files (from all categories) and transfer the tarball to the target host using the scp protocol. For example:

    support MSDP-config scp scp_target=user@example.com:/tmp

  5. If applicable, run the following command to set the SSH time-out back to the default:

    setting ssh set-ssh-timeout ssh_timeout=600

    Verify the change with the setting ssh show-ssh-timeout command.

Feedback

Was this page helpful?
Previous

Viewing the log files

Next

Managing S3 service from the deduplication shell

Feedback

Was this page helpful?