Migrate to v0.6.x from Old Versions
Migrate to v0.6.x from Old Versions
From v0.5.x
Suppose you have deployed Crawlab v0.5.x and have been running a bunch of spiders on production environment. You can follow the steps for migration as below.
- Install latest crawlab-sdk
- Execute the CLI command below to migrate your spider data to v0.6.x
crawlab migrate \ --mongo_host=<v0.5 mongo_host> \ --mongo_port=<v0.5 mongo_port> \ --mongo_db=<v0.5 mongo_db> \ --mongo_username=<v0.5 mongo_username> \ --mongo_password=<v0.5 mongo_password> \ --mongo_auth_source=<v0.5 mongo_auth_source>