The Volume Filebrowser for Railway is a tool designed to access the files stored in a volume. This utility provides a simple and efficient way to retrieve files from the designated volume.
- File Retrieval: Download files stored in the attached volume.
Follow these steps to deploy and configure the Railway Platform File Access Utility:
-
Open the Project: Start by opening the project that contains the desired service with the volume you want to download data from.
-
Add Volume File Browser: Click the
+ New
button and search forVolume File Browser
. Although the deployment may crash, it's expected for now. -
Note the Current Mount Path: Right-click on the volume you want to access, then choose
View Settings
. Take note of the current mount path, as you will need it later. -
Disconnect the Volume: Right-click on the volume attached to your service and select
Disconnect
. -
Mount the Volume to Volume File Browser: Click on the newly disconnected volume, then click
Mount
and selectVolume File Browser
as the destination, and use/data
as the mount point. Wait for the redeployment process to complete. -
Retrieve Basic Auth Credentials: The basic authentication credentials will be logged in the deploy logs. Note down these credentials for login purposes.
-
Access the Utility: Click on the Railway-provided domain to access the File Access Utility.
-
Download Files: Once logged in, you can now download your desired files from the volume.
-
Disconnect the Volume: After downloading the files, disconnect the volume from the File Browser service.
-
Remount to Original Service: Finally, mount the volume back to the original service using the original mount path noted earlier.
-
Redeploy the Service: Allow the service to redeploy, ensuring that the volume is correctly attached.