Table of Contents
- Introduction
- System Requirements
- Assign Service Logon As Credentials
- Server Configuration
- Agent-Based Monitoring
- Data Providers
- Directory Services
- Audit Work Items
- Hosts
- Templates
- Template Properties
- Batch Update Templates
- Log Management Templates
- File and Directory Monitor Templates
- Windows Monitor Templates
- Account Lockout Monitor Template
- Logon Monitor Template
- CPU Monitor Template
- Memory Monitor Template
- Disk Space Monitor Template
- SMART Monitor Template
- Process Monitor Template
- Service Monitor Template
- Performance Counter Monitor Template
- PowerShell Script Template
- Registry Value Monitor Template
- Active Directory User Monitor Template
- Active Directory User Integrity Monitor Template
- Task Scheduler Template
- Clock Synchronization Template
- Defragment NTFS Disks Template
- Network and Application Monitor Templates
- Database Monitor Template
- Directory Service Monitor Template
- DNS Blacklist Monitor Template
- DNS Monitor Template
- Domain Expiration Monitor Template
- Network Speed Monitor Template
- Ping Monitor Template
- SQL Server Shrink and Backup Template
- SSH Shell
- TCP Port Scan Monitor Template
- Website Monitor Template
- SSL Certificate Monitor Templates
- Email Monitor Templates
- SNMP Monitor Templates
- Monitors
- Reports
- Auto-Configurators
- Filters
- Actions
- Schedules
- Environment Variables
- Options
- Account Lockout Monitoring and Reporting
- SNMP
- SSH Shell
- Exporting and Importing Configuration Objects
- Shared Views
- Auto-Config Host Assignment Properties
- General Executable Properties
- Assign Actions
- Assign Directories
- Assign Disks
- Assign Shares
- Assign Files
- Assign Consolidated Logs
- Assign Event Logs
- Assign Active Directory Audit Logs
- Target Files and Sub-Directories
- Define Log Entry Columns
- Define Log Entry Columns with Regular Expressions
- Define CSV and W3C Log Entry Columns
- Active Directory User and Group Filters
- Explicitly Assigned Logs
- File Explorer
- Report Columns
- Report Date/Time Ranges
- Report Security Event Log Filters
- Select Folder or File
- Command Line Interface
- Troubleshooting
- Terminology
File Collection and Retention Template
The File Collection and Retention template enables you to move files from one location to another then optionally delete files that have reached a threshold age in both the source and destination directories. This template can be used to backup database backups, configuration files and IIS log files.
The File Collection and Retention Template uses Windows Shares, SFTP or FTP/S depending on the host type to scan directories on Windows, Unix, Linux and other operating systems.
You can find a sample implementation of this template installed with this software called Corner Bowl Configuration File Backup. This template is an implementation of the File Collection and Retention template that executes a daily backup of this software's configuration files. The implementation targets *.dat files. The targeted files are compressed to a single zip file then stored for 30 days before being deleted.
How to configure the File Collection and Retention Template:
- From the Menu Bar, select File | New. The Create New Object View displays.
- From the Create New Object View, expand Templates | File and Directory Monitors then select File Collection and Retention. The New Template Properties View displays.
- The Template Properties view contains 5 tabs.
The Options Tab
-
Use the Directories drop-down to select the directory to configure.
Use the Files and Sub-Directories tab to specify the files and sub-directories to both target as well as exclude. -
Use the Target output directory to specify the destination path.
Use the Variables
button to select variables to use when creating the path. For example:
c:\Backups\{YEAR}\{MONTH}\{DAY}\{HOST}If your are accessing the Console from the same machine the service is installed you can browse for the target location, otherwise specify the UNC path or local path on the host the service is installed. -
Use the Output filename text box to specify the output filename. If no value is specified, the output filename is the name of the filename or if zipping to a single zip file the name of the target directory.
Use the Variables
button to select variables to use when creating the filename. For example:
{FILENAME}_{DATE} -
Use the Move option to move the files from the target directory to the destination directory.
If a Windows Service has the files locked, you can assign a Stop Service Action to the On Start Actions then add a corresponding Start Service Action to the On Complete Actions. - Use the Compress to ZIP format to compress each target file to a zip file.
- Use the Compress to a single ZIP file to compress all target files to a single zip file.
- Use the Encrypt option to encrypt and password protect each output file.
- Use the Digitally sign option to specify a certificate and password to sign each output file.
- Use the Delete files in the source directory option to delete files in the source directory older than a threshold number of days.
- Use the Delete files in the destination directory option to delete files in the destination directory older than a threshold number of days.
