DEV Community

Alexey Timin for ReductStore

Posted on • Updated on

Introducing the mirror command in ReductStore CLI version 0.3.0

We are excited to announce the release of Reduct CLI version 0.3.0, which includes the new mirror command for copying data between buckets. This command allows you to easily transfer data between two buckets, regardless of whether they are on the same storage engine or on different storage engines.

To use the mirror command, simply specify the source and destination buckets as follows:

rcli alias add server-1
rcli alias add server-2
rcli mirror server-1/bucket server-2/bucket
Enter fullscreen mode Exit fullscreen mode

You can also specify a time interval for mirroring data using the --start and --stop flags. For example:

rcli  mirror --start 2022-11-06T20:10:30 --stop 2022-11-06T20:14:30  server-1/bucket server-2/bucket
Enter fullscreen mode Exit fullscreen mode

This will only copy data from the source bucket that was created or modified within the specified time interval. This can be useful if you only want to transfer a specific subset of data from the source bucket.

We hope you find the new mirror command to be helpful. Please let us know if you have any feedback or suggestions for future releases.

Top comments (0)