Fileset Examples
In this section, some fileset examples are presented:
FileSet {
Name = fs-e2ws-adelev
Include {
Options { signature = MD5 }
Plugin = "e2ws: endpoint=myexchange.myorg.com admin_user=ex-admin@myorg.com admin_password=xxxxxxx user=adelev@myorg.com"
}
}
FileSet {
Name = fs-e2ws-adelev
Include {
Options { signature = MD5 }
Plugin = "e2ws: config_file=/opt/bacula/etc/e2ws.settings user=adelev@myorg.com"
}
}
Config file contents in stored in the same File Daemon host in /opt/bacula/etc/e2ws.settings:
endpoint=myexchange.myorg.com
admin_user=ex-admin@myorg.com
admin_password=xxxxxxx
FileSet {
Name = fs-e2ws-adelev-email
Include {
Options { signature = MD5 }
Plugin = "e2ws: config_file=/opt/bacula/etc/e2ws.settings service=email user=adelev@myorg.com"
}
}
FileSet {
Name = fs-e2ws-email-calendar
Include {
Options { signature = MD5 }
Plugin = "e2ws: config_file=/opt/bacula/etc/e2ws.settings service=email,calendar"
}
}
FileSet {
Name = fs-e2ws-all-inbox-important
Include {
Options { signature = MD5 }
Plugin = "e2ws: config_file=/opt/bacula/etc/e2ws.settings service=email folder=inbox,important"
}
}
FileSet {
Name = fs-e2ws-mime-u1-u2
Include {
Options { signature = MD5 }
Plugin = "e2ws: config_file=/opt/bacula/etc/e2ws.settings service=email mime=true user=user1@myorg.com,user2@myorg.com"
}
}
FileSet {
Name = fs-e2ws-user1-user2-no-attach
Include {
Options { signature = MD5 }
Plugin = "e2ws: config_file=/opt/bacula/etc/e2ws.settings service=email,contact mime=true exclude_attachments=true user=user1@myorg.com,user2@myorg.com"
}
}
FileSet {
Name = fs-e2ws-org-users
Include {
Options { signature = MD5 }
Plugin = "e2ws: config_file=/opt/bacula/etc/e2ws.settings user_regex_include=\"org.*\""
}
}
FileSet {
Name = fs-e2ws-user1-min
Include {
Options { signature = MD5 }
Plugin = "e2ws: config_file=/opt/bacula/etc/e2ws.settings user=user1@myorg.com concurrent_threads=1 concurrent_listing_threads=1"
}
}
# Warning: This configuration could provoke throttling issues
FileSet {
Name = fs-e2ws-user1-max
Include {
Options { signature = MD5 }
Plugin = "e2ws: config_file=/opt/bacula/etc/e2ws.settings user=user1@myorg.com concurrent_threads=50 concurrent_listing_threads=10 backup_queue_size=500 api_list_page_size=500"
}
}
FileSet {
Name = fs-e2ws-exclude-private
Include {
Options { signature = MD5 }
Plugin = "e2ws: config_file=/opt/bacula/etc/e2ws.settings email_exclude_index_expr=\"emailSubject.includes('private')\"""
}
}
See also
Go back to Fileset Connection Parameters
Go back to Fileset Backup Parameters
Go back to Fileset Common Parameters
Go back to Fileset Tuning Parameters
Go back to Fileset Advanced Parameters
Go back to the Fileset Configuration article.