Update README to reflect migration tool renaming and usage examples

- Changed all instances of `./migration-tool` to `./remnawave-migrate` in usage examples.
- Ensured consistency in command-line instructions for user migration scenarios.

This update clarifies the tool's name and improves the documentation for users.

Co-authored-by: Yury Kastov <kastov@gog.sh>
This commit is contained in:
Sergey Kutovoy 2025-03-17 01:04:34 +05:00
parent 953517f61d
commit 6059bd1361
No known key found for this signature in database
GPG key ID: 485DE7FCA2B08DD2

View file

@ -60,7 +60,7 @@ The tool can be configured using command-line flags or environment variables:
```bash
# Migrate all users (sets all users to ACTIVE status)
./migration-tool \
./remnawave-migrate \
--panel-type=marzban \
--panel-url="http://marzban.example.com" \
--panel-username="admin" \
@ -73,7 +73,7 @@ The tool can be configured using command-line flags or environment variables:
```bash
# Migrate users preserving their original status
./migration-tool \
./remnawave-migrate \
[other flags...] \
--preserve-status
```
@ -82,7 +82,7 @@ The tool can be configured using command-line flags or environment variables:
```bash
# Migrate only the last 50 users
./migration-tool \
./remnawave-migrate \
[other flags...] \
--last-users=50
```
@ -91,7 +91,7 @@ The tool can be configured using command-line flags or environment variables:
```bash
# Migrate users with a specific reset strategy
./migration-tool \
./remnawave-migrate \
[other flags...] \
--preferred-strategy=MONTH
```
@ -119,7 +119,7 @@ export LAST_USERS="50"
export PREFERRED_STRATEGY="MONTH"
export PRESERVE_STATUS="true"
./migration-tool
./remnawave-migrate
```
## Contribute