Skip to content

Commit

Permalink
docs: migrate using docker image (#1581)
Browse files Browse the repository at this point in the history
  • Loading branch information
nopcoder authored Mar 8, 2021
1 parent 412b14e commit 6920ad8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/deploying-aws/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Note that an older version of lakeFS cannot run on a migrated database.
Starting version 0.30.0, lakeFS handles your committed metadata in a [new way](https://docs.google.com/document/d/1jzD7-jun-tdU5BGapmnMBe9ovSzBvTNjXCcVztV07A4/edit?usp=sharing){: target="_blank" }, which is more robust and has better performance.
To move your existing data, you will need to run the following upgrade commands.

Verify lakeFS version == 0.30.0:
Verify lakeFS version == 0.30.0 (can skip if using Docker)

```shell
lakefs --version
Expand All @@ -47,6 +47,12 @@ Migrate data from previous format:
lakefs migrate db
```

Or migrate using Docker image:

```shell
docker run --rm -it -e LAKEFS_DATABASE_CONNECTION_STRING=<database connection string> treeverse/lakefs:rocks-migrate migrate db
```

Once migrated, it is possible to now use more recent lakeFS versions. Please refer to their release notes for more information on ugrading and usage).


Expand Down

0 comments on commit 6920ad8

Please sign in to comment.