You can use a third-party tool to back up your repository, or you can use the API to download and back up your repository manually.