1.0.8 • Published 1 year ago

@cscharpf/minio-client-versioned v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Installation

To install MCV, you need to have Node.js and npm installed. Then, you can install MCV globally using npm:

npm install -g @cscharpf/minio-client-versioned

Usage

MCV provides commands for mirroring buckets and managing aliases.

Mirror Command

The mirror command is used to mirror objects between source and target buckets.

mcv mirror [options]

Options:

  • -b, --bucket [bucket]: Bucket to mirror.
  • -s, --source [source]: Source client.
  • -t, --target [target]: Target client.
  • -c, --clean: Clean objects in the target bucket that are not in the source bucket.
  • -v, --verbose: Verbose output.
  • -C, --concurrency: Number of concurrent object streams (default 100).

Alias Command

The alias command is used to manage aliases for clients.

mcv alias [add|remove|list] [options]

Subcommands:

  • add: Add a new alias.
  • remove: Remove an existing alias.
  • list: List all aliases.

Options:

  • -n, --name: Alias name.
  • -e, --endpoint: Endpoint.
  • -p, --port: Port.
  • --use-ssl: Use SSL.
  • --access-key: Access key.
  • --secret-key: Secret key.

Examples

Mirror a Bucket

mcv mirror -b my-bucket -s source-client -t target-client

Add Alias

mcv alias add -n my-alias -e example.com -p 9000 --use-ssl --access-key my-access-key --secret-key my-secret-key

Remove Alias

mcv alias remove -n my-alias

List Aliases

mcv alias list

Contributing

If you have suggestions or found bugs, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago