# Back Up Agent

Using Nessus CLI Agent Commands , you can back up your Nessus Agent to restore it later on any system, even if it is a different operating system. When you back up Nessus Agent, your settings are preserved. Nessus Agent does not back up scan results.

Note: If you perform a cross-platform backup and restore between Linux and Windows systems, after you restore Nessus Agent, you must reconfigure any Nessus Agent configurations that use schedules (for example, scan schedules). Schedules do not transfer correctly across these platforms because the operating systems use different timezone names.

To back up Nessus Agent:

1. Access Nessus Agent from a command terminal.
2. Create the Nessus Agent backup file:

> nessuscli backup --create <backup_filename>

Nessus Agent creates the backup file in the following directory:

• Linux: /opt/nessus_agent/var/nessus
• Windows: C:\ProgramData\Tenable\Nessus Agent\nessus\
• Mac: /Library/NessusAgent/run/var/nessus/

What to do next: