Initial commit

This commit is contained in:
Blake Ridgway
2026-03-21 18:00:16 -05:00
commit 952257f1f7
2 changed files with 95 additions and 0 deletions

45
README.md Normal file
View File

@@ -0,0 +1,45 @@
# arcline-migrate
CLI tool for migrating sites from cPanel/Plesk servers to Arcline. Connects via SSH, exports files, database dumps, and DNS zone into a structured tarball ready to import.
Reduces migration friction for new customers coming from GoDaddy, Bluehost, SiteGround, and similar hosts.
## Status
Planned. Not yet started.
## Stack
- Go — single static binary, no runtime dependencies on the client side
- Requires SSH access to the source server and `mysqldump` available remotely
## Supported sources
- cPanel (primary target)
- Plesk (stretch goal)
- Generic LAMP/LEMP via SSH (fallback — manual DB credentials)
## Usage
```sh
arcline-migrate export --host example.com --user myuser --domain example.com
arcline-migrate export --host example.com --user myuser --domain example.com --out ./export
arcline-migrate verify ./arcline-export-example.com-20260303/
arcline-migrate import --bundle ./arcline-export-*.tar.gz # future
```
## Export bundle layout
```
arcline-export-example.com-20260303/
├── files/ # public_html contents
├── databases/
│ └── db_name.sql # mysqldump output
├── dns/
│ └── example.com.zone
├── config/
│ └── php.ini
└── manifest.json # domain, PHP version, MySQL version, export date
```
See [todo.md](todo.md) for the full task list.