X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/78baf73e784e01fb44d1b16aefaf6e295bb4d5b4..da8714584a1649fb128e0f13718c2507c518a210:/doc/user/topics/arv-copy.html.textile.liquid diff --git a/doc/user/topics/arv-copy.html.textile.liquid b/doc/user/topics/arv-copy.html.textile.liquid index ed0a126a41..74868bcab4 100644 --- a/doc/user/topics/arv-copy.html.textile.liquid +++ b/doc/user/topics/arv-copy.html.textile.liquid @@ -3,7 +3,15 @@ layout: default navsection: userguide title: "Using arv-copy" ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} + +{% include 'crunch1only_begin' %} +On those sites, the "copy a pipeline template" feature described below is not available. However, "copy a workflow" feature is not yet implemented. +{% include 'crunch1only_end' %} This tutorial describes how to copy Arvados objects from one cluster to another by using @arv-copy@. @@ -78,3 +86,26 @@ For example, we can copy the same object using this tag.
~$ arv-copy --src qr1hi --dst dst_cluster --dst-git-repo $USER/tutorial --no-recursive qr1hi-p5p6p-9pkaxt6qjnkxhhu
 
+ +h3. How to copy a workflow + +We will use the uuid @zzzzz-7fd4e-sampleworkflow1@ as an example workflow. + + +
~$ arv-copy --src zzzzz --dst dst_cluster --dst-git-repo $USER/tutorial zzzzz-7fd4e-sampleworkflow1
+zzzzz-4zz18-jidprdejysravcr: 1143M / 1143M 100.0%
+2017-01-04 04:11:58 arvados.arv-copy[5906] INFO:
+2017-01-04 04:11:58 arvados.arv-copy[5906] INFO: Success: created copy with uuid dst_cluster-7fd4e-ojtgpne594ubkt7
+
+
+ +The name, description, and workflow definition from the original workflow will be used for the destination copy. In addition, any *locations* and *docker images* found in the src workflow definition will also be copied to the destination recursively. + +If you would like to copy the object without dependencies, you can use the @--no-recursive@ flag. + +For example, we can copy the same object non-recursively using the following: + + +
~$ arv-copy --src zzzzz --dst dst_cluster --dst-git-repo $USER/tutorial --no-recursive zzzzz-7fd4e-sampleworkflow1
+
+