7.1. Default Workflows¶
This section documents all the workflows which come installed in Ngenea Hub by default. See Custom Workflows for guidance on how to create your own workflows.
7.1.1. migrate
¶
Migrate one or more files from a site.
discovery: recursive
steps:
fields:
lock_level
(choice): Filesystem locking level for ngenea operations. One of:partial
,implicit
,none
. Default=partial
7.1.2. premigrate
¶
Premigrate one or more files from a site.
discovery: recursive
steps:
-
premigrate
: True
fields:
lock_level
(choice): Filesystem locking level for ngenea operations. One of:partial
,implicit
,none
. Default=implicit
7.1.3. recall
¶
Recall one or more files on to a site.
discovery: recursive
steps:
fields:
lock_level
(choice): Filesystem locking level for ngenea operations. One of:partial
,implicit
,none
. Default=implicit
7.1.4. send
¶
Send files from one site to another via cloud storage.
discovery: recursive
steps:
-
premigrate
: True
fields:
destinationsite
(string): site to send files tohydrate
(bool): hydrate files on the destination site
7.1.5. site_sync
¶
Sync a fileset from one site to another via cloud storage.
The snapdiff
discovery looks for changes within the fileset on the source site since the last time the workflow was invoked. These changes are then synced to the destination site.
The workflow should be invoked with a single path which is the link point of the independent fileset to be synced.
discovery: snapdiff
fields:
destinationsite
(string): site to sync changes tosync_preference
(string): determines how conflicts should be resolved on the remote site. One of: newest, local, ignore
7.1.5.1. created¶
Files with state created
are sent to the destination site, subject to sync_preference
steps:
-
premigrate
: Trueoverwrite
: Trueabort_missing
: True
-
overwrite
: True
7.1.5.2. updated¶
Files with state updated
are sent to the destination site, subject to sync_preference
steps:
-
premigrate
: Trueoverwrite
: Trueabort_missing
: True
-
overwrite
: True
7.1.5.3. moved¶
Files with state moved
are moved 'in-place' on the destination site
steps:
7.1.5.4. deleted¶
Files with state deleted
are removed on the destination site
steps: