Opsmate

Back Up Specific Directories

Backing up specific directories is very similar to backing up a whole server, except you first need to create a simple file list to include the desired directories and exclude everything else.

Here's an example file include list, which you should put in /etc/opsmate/backups/file-list:

+ /path/to/directory1
+ /path/to/directory2
- *

List as many directories as you'd like to include in your backup. Be sure to add a catch-all - * rule at the end of the file, or Opsmate will back up your whole filesystem.

Once you've created your file list, follow the instructions to back up a whole server.