Skip to content

Commit

Permalink
Alternate way to view temp/CSV files on Windows. (#18482)
Browse files Browse the repository at this point in the history
Document alternate method, using Docker intrinsic functionality, to copy temp files locally in the situation that cannot be browsed through WSL2's file explorer.
  • Loading branch information
AndyTwiss authored Oct 26, 2022
1 parent 5222093 commit 1d2df97
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/operator-guides/locating-files-local-destination.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ While running Airbyte's Docker image on Windows with WSL2, you can access your t
4. You can start digging here, but it is recommended to start searching from here and just search for the folder name you used for your local files. The folder address should be similar to `\\wsl$\docker-desktop\tmp\docker-desktop-root\containers\services\docker\rootfs\tmp\airbyte_local`
5. You should be able to locate your local destination CSV or JSON files in this folder.

Note that there are scenarios where you may not be able to browse to the actual files in which case, use the below method to take a local copy.

## Use Docker to Copy your temp folder files

Note that this method does not allow direct access to any files directly, instead it creates local, readable copies.

1. Open and standard CMD shell
2. Type the following (where <local path> is the path on your Windows host machine to place copies)
`docker cp airbyte-server:/tmp/airbyte_local <local path>`
3. This will copy the entire `airbyte_local` folder to your host machine.

Note that if you know the specific filename or wildcard, you can add append it to the source path of the `docker cp` command.

## Notes

1. Local JSON and Local CSV files do not persist between Docker restarts. This means that once you turn off your Docker image, your data is lost. This is consistent with the `tmp` nature of the folder.
Expand Down

0 comments on commit 1d2df97

Please sign in to comment.