Creates an Amazon FSx for Lustre data repository task. You use data
repository tasks to perform bulk operations between your Amazon FSx file
system and its linked data repository. An example of a data repository
task is exporting any data and metadata changes, including POSIX
metadata, to files, directories, and symbolic links (symlinks) from your
FSx file system to its linked data repository. A
CreateDataRepositoryTask
operation will fail if a data repository is
not linked to the FSx file system. To learn more about data repository
tasks, see Using Data Repository Tasks.
To learn more about linking a data repository to your file system, see
Setting the Export Prefix.
fsx_create_data_repository_task(Type, Paths, FileSystemId, Report,
ClientRequestToken, Tags)
[required] Specifies the type of data repository task to create.
(Optional) The path or paths on the Amazon FSx file system to use when
the data repository task is processed. The default path is the file
system root directory. The paths you provide need to be relative to the
mount point of the file system. If the mount point is /mnt/fsx
and
/mnt/fsx/path1
is a directory or file on the file system you want to
export, then the path to provide is path1
. If a path that you provide
isn\'t valid, the task fails.
[required]
[required] Defines whether or not Amazon FSx provides a CompletionReport once the
task has completed. A CompletionReport provides a detailed report on the
files that Amazon FSx processed that meet the criteria specified by the
Scope
parameter. For more information, see Working with Task Completion Reports.
svc$create_data_repository_task( Type = "EXPORT_TO_REPOSITORY", Paths = list( "string" ), FileSystemId = "string", Report = list( Enabled = TRUE|FALSE, Path = "string", Format = "REPORT_CSV_20191124", Scope = "FAILED_FILES_ONLY" ), ClientRequestToken = "string", Tags = list( list( Key = "string", Value = "string" ) ) )