---
title: "How to include custom files or folders in op5-backup"
description: "Including custom files or folders in op5-backup requires creating a module file with the folder paths. Adding these paths to the module file ensures they are backed up during every op5-backup run."
url: "https://docs.itrsgroup.com/docs/faq/op5/360009193257-op5-monitor-how-to-include-custom-files-or-folders-in-op5-backup/index.html"
---
## Single folder backup

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

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

Now the folders listed in *foo* will be included every op5-backup run.


