Skip to content

Commit 0e7f9d2

Browse files
committed
Add section on generate-metadata and generate-listing commands
1 parent 68884b3 commit 0e7f9d2

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

guides/common/assembly_synchronizing-content-between-servers.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ include::modules/proc_using-upstream-server-to-sync-content-view-versions.adoc[l
88

99
include::modules/proc_synchronizing-a-single-repository.adoc[leveloffset=+2]
1010

11+
include::modules/proc_generating-metadata-and-listing-files-for-syncable-exports.adoc[leveloffset=+2]
12+
1113
include::modules/proc_synchronizing-a-custom-repository.adoc[leveloffset=+1]
1214

1315
include::modules/proc_exporting-the-library-environment.adoc[leveloffset=+1]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[id="generating-metadata-and-listing-files-for-syncable-exports_{context}"]
2+
= Generating metadata and listing files for syncable exports
3+
4+
In most cases, when exporting content in a syncable format using root privileges and the standard commands, metadata and listing files are generated automatically. However, you must manually trigger the generation of these files in the following circumstances:
5+
6+
* When a non-root user is doing the export.
7+
* When the `--async` flag has been passed, for root or non-root user.
8+
* When triggering API manually or using Ansible modules to do the exports.
9+
10+
.Prerequisites
11+
* The syncable export directory is accessible on disk.
12+
13+
.Procedure
14+
. To generate metadata for a syncable export that was performed asynchronously or if the metadata was lost, use the following command:
15+
+
16+
[options="nowrap" subs="+quotes"]
17+
----
18+
# hammer content-export generate-metadata --path=/path/to/syncable/export
19+
----
20+
+
21+
. To generate listing files for a syncable export directory, use the following command:
22+
+
23+
[options="nowrap" subs="+quotes"]
24+
----
25+
# hammer content-export generate-listing --path=/path/to/syncable/export
26+
----

0 commit comments

Comments
 (0)