Bulk operations
Copy a key​
To copy of a key the following command can be used:
./rostore-cli copy-key -c source-container -k source-key -tc target-container -tk target-key [-p source-profile] [-tp target-profile]
It will copy a value, associated with the source-key in the container source-container, and put it to the target-key in the target container.
The operation can copy a value between two different instances of the rostore. If it is required the target-profile and source-profile can be provided.
Copy a container​
To copy the content of the whole container the following command can be used:
./rostore-cli copy-container -c source-container -tc target-container [-p source-profile] [-tp target-profile]
It will copy all the keys available in the source-container to the target-container.
The operation can copy a container between two different instances of the rostore. If it is required the target-profile and source-profile can be provided.
Copy a complete storage​
To copy the content of the whole rostore storage the following command can be used:
./rostore-cli copy-storage [-p source-profile] [-tp target-profile]
It will copy all the containers in the storage references by the source-profile to the storage referenced by target-profile.
It will copy not only all the containers, but also the api-keys from the original storage to the new one.