# Migrating away from lakeFS

## Copying data from a lakeFS repository to an S3 bucket

The simplest way to migrate away from lakeFS is by copying data from a lakeFS repository to an S3 bucket (or any other object store).

For smaller repositories, you can do this by using the [AWS CLI](<https://docs.lakefs.io/reference/aws-cli/index.md>) or [Rclone](<https://docs.lakefs.io/guides/copying/index.md#using-rclone>). For larger repositories, running [distcp](<https://hadoop.apache.org/docs/stable/hadoop-distcp/DistCp.html>) with lakeFS as the source is also an option.
