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
Percy
Percy11mo ago
Project ID: 47759509-fa37-4a16-83ee-9d01a6434bfd
swooders.
swooders.OP11mo ago
47759509-fa37-4a16-83ee-9d01a6434bfd
Fragly
Fragly11mo ago
Download the railway volume - this will contain the database with the historical data
this seems like this most plausible option
Medim
Medim11mo ago
Yeah, and u can use the File Explorer template for that How did u try to do that in the first time?
Brody
Brody11mo ago
fragly surely you've watched me walk enough users through this process, why don't you give it a try
swooders.
swooders.OP11mo ago
is the idea I deploy this to the repo to get access to the volume files? https://railway.app/template/guiCBv
Medim
Medim11mo ago
The other one
Fragly
Fragly11mo ago
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?
swooders.
swooders.OP11mo ago
yeah if its just for a few minutes thats fine
Fragly
Fragly11mo ago
Awesome! let me know once you've deployed the template into your project
swooders.
swooders.OP11mo ago
I've deployed it, but don't see the data i"m looking for:
No description
No description
Fragly
Fragly11mo ago
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 proceed
swooders.
swooders.OP11mo ago
I think this worked, thanks!
Fragly
Fragly11mo ago
oh ok, awesome and no problem :)
jugaadonline
jugaadonline10mo ago
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)
volume mount point is set to /data
caddy version: v2.7.6
using provided configuration
admin endpoint disabled
automatic HTTPS is completely disabled for server
started background certificate maintenance
stopped background certificate maintenance
Error: loading initial config: loading new config: loading pki app module: provision pki: provisioning CA 'local': generating root: saving root certificate: mkdir /data/caddy: no space left
volume mount point is set to /data
caddy version: v2.7.6
using provided configuration
admin endpoint disabled
automatic HTTPS is completely disabled for server
started background certificate maintenance
stopped background certificate maintenance
Error: loading initial config: loading new config: loading pki app module: provision pki: provisioning CA 'local': generating root: saving root certificate: mkdir /data/caddy: no space left
Brody
Brody10mo ago
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
Want results from more Discord servers?
Add your server