×
Back to OP5 Monitor FAQ
How to include custom files or folders in op5-backup
Single folder backup Copied
If you want to include a custom folder, for example ‘/opt/monitor/foo/’ in op5-backup, then create the file ‘/etc/op5-backup/modules/external/foo’ with the following content:
DESCRIPTION="Custom file collection"
FILES_TO_BACKUP="
/opt/monitor/foo
"
function CHECK()
{
return 0
}
Multiple folder backup Copied
Should you want to include another folder, just add it to the list:
DESCRIPTION="Custom file collection"
FILES_TO_BACKUP="
/opt/monitor/foo
/opt/monitor/bar
"
function CHECK()
{
return 0
}
Conclusion Copied
Now the folders listed in foo will be included every op5-backup run.
["Geneos"]
["FAQ"]