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.
Comments
0 comments
Please sign in to leave a comment.