Download historical data for kuma service
We have a kuma service deployed on railway, and are trying to download the historical data collected by the service. There are a few ways we can get the data we need:
* Download the railway volume - this will contain the database with the historical data
* Download the current docker image
* SSH into the service to download the data
* Download all the service logs, which also contains all the information we need
However, I haven't been able to do any of these with the Railway console or CLI. Are any of these options possible, and if so, what do you recommend?
16 Replies
Project ID:
47759509-fa37-4a16-83ee-9d01a6434bfd
47759509-fa37-4a16-83ee-9d01a6434bfd
Download the railway volume - this will contain the database with the historical datathis seems like this most plausible option
Yeah, and u can use the File Explorer template for that
How did u try to do that in the first time?
fragly surely you've watched me walk enough users through this process, why don't you give it a try
is the idea I deploy this to the repo to get access to the volume files? https://railway.app/template/guiCBv
The other one
You'd want to deploy this one: https://railway.app/new/template/Nan7Bs
You'll have my full attention in a second
Make sure you depoy it into your project though
Make sure the
USE_VOLUME_ROOT
variable is set to 1
While we're doing this, your kuma service will need to be offline, is that alright?yeah if its just for a few minutes thats fine
Awesome!
let me know once you've deployed the template into your project
I've deployed it, but don't see the data i"m looking for:
You'd want to remove the volume that comes with the Filebrowser deployment
after that, you can disconnect the volume from your kuma service, and then mount it to your Filebrowser deployment on the mount
/data
and make sure you did this in your filebrowser service variables
let me know when you're ready to proceedI think this worked, thanks!
oh ok, awesome
and no problem :)
Is there an option without attaching? (I maybe? screwed up, and accidentally let my DB quickly max out, cant login with pgsl or any db client)
you're on pro right? what's the current size of your volume? if it's not 50gb then you can grow the volume when the project is located in a pro workspace