Closed jmayday closed 6 years ago
Well, I'm blind. I didn't notice the prefix requirement for this option.
Can't get the --store-metadata working.
NOTE: Storage options must be prefixed by source- or target-, depending on
which role they assume
--store-metadata when used as a target, stores
source metadata in a json
file, since filesystems have
no concept of user metadata
How to use this option?
@jmayday, the option has no value. To use it, simply put --target-store-metadata
by itself as an option (do not add =true
). Also, always be sure to specify the --source
, --filters
, and --target
options first.
By some reason I can't force storing metadata when cloning atmos space to filesystem.
The way I run ecs-sync is as following:
Seems like --store-metadata option is not consumed as after modifying source code and recompiling (changing boolean assignment storeMetadata = true in config class) I was able to get metadata persisted on file system.