MithiDocs

S32S3-Copy

Overview

The S32S3-Copy request type can be used to copy files from one S3 bucket to another. The source and destination can be your S3 buckets or also the buckets used to host the Vaultastic Open and Deep Stores.

On successful copy, the files will be available on the source as well as the destination.

Before submitting any of the requests, the source and destination buckets have to be registered with LegacyFlo as mentioned here.

The following sections give the details of the parameters to be specified for each request.

Operation Type

FIELD NAMEDescription
CopyChoose this option to copy all the files selected at the source which were created or modified on or after the date specified in the Since field.
If the files are already present in the destination, they will be overridden.
Sync

Choose this option to sync all the files that have been created or modified on or after the date specified in the Since field. 

Files already present in the destination, which have not been modified since the specified date will be skipped. 

Note: If a file synced earlier is deleted from the destination, then the sync operation will skip it


Source information (S3 bucket)


FIELD NAMEDESCRIPTION
S3 Bucket Name

This field is compulsory.

The S3 bucket that has the source file to be copied. Select the S3 bucket name from the drop-down list.

The list will show 

  • S3 buckets in your AWS account registered with LegacyFlo
  • the bucket hosting your Vaultastic Open Store(mithi-ind1-vaultastic-legacystore).
  • the bucket hosting your Vaultastic Deep Store
S3 Folder path

If the source files are on the Vaultastic Open Store or Vaultastic Deep Store, then this parameter should have the name of your Vaultastic domain. Example: baya-com.vaultastic.com

If the file is on your own bucket, give the root folder which contains the files. Leave this value empty if the source file is on the root of the S3 bucket or the folder name is specified in the CSV file.

NOTE: S3 folder path should not start or end with a "/"

CSV fileThis is an optional field.

This file can be used to give a fixed list of files. Each row is a file name.

Select the CSV file with the list of files. The file should have a single column. The first row is the header, with the keyword FileName. Subsequent rows will have the names of the files on the source bucket in the specified path. Each CSV file should not have more than 5000 filenames.

The file name will be appended to the values of S3 Bucket Name and the S3 Folder Path.
Since date

This is an optional field. 

Only files which have been created or modified on or after the specified date will be considered. 

Note: If this field is specified along with a list of files, then only the files which have been created or modified after the specified will be considered, the others will not be considered.

Destination information (S3 Bucket)

FIELD NAMEDESCRIPTION
S3 bucket name

This field is compulsory.

The S3 bucket for the destination files. Select the S3 bucket name from the drop-down list.

The list will show 

  • S3 buckets in your AWS account registered with LegacyFlo
  • The bucket hosting your Vaultastic Open Store(mithi-ind1-vaultastic-legacystore).
  • The bucket hosting your Vaultastic Deep Store.
S3 folder path

If the files have to be copied on the Vaultastic Open Store or the Vaultastic Deep Store, then this parameter MUST have the name of your Vaultastic domain. Example: baya-com.vaultastic.com

If the files have to be copied on your own bucket, give the folder which will contain the file. Leave this value empty if the destination file has to be created on the root of the S3 bucket.

NOTE: S3 folder path should not start or end with a "/"