Jump to content

Question regarding FTP, array access and dockers


Czanien

Recommended Posts

Hello people!

 

I build my first Unraid Server a few months ago and I am really happy with it! Have yet to get some big drives for actual media storage.

 

Right now it is mainly being used as a docker hub for some Minecraft servers.

I will do my best to keep it short and informational.

 

All of my dockers are installed on my Cache drive.

I have installed a Minecraft server with this docker (https://hub.docker.com/r/ich777/minecraftbasicserver/) through Community Apps.
I have installed a few plugins on the minecraftserver and a special backup-plugin that does a backup of the server every so often.

It currently saves the backups of the minecraftserver in the docker itself. But my cache drive is kinda small so I would like to save the backup on the Array instead.

 

This backup plugin has the possibility to save a backup through FTP

 

What I would like to do is to either;

- If possible, FTP from my docker on the Unraidserver into the Unraidserver to the array and save the backup there on a path like /mnt/user/backups/minecraftserver/

- If possible, just change the filepath to be something like /mnt/user/backups/minecraftserver/ instead of saving it in the docker.

 

I have tried the FTP thing myself but haven't been able to get it working. It works to FTP from my other computer but not from within Unraid itself.

The other thing i have not yet tried.

 

So my questions is:

1. Is it possible to FTP to the Unraid server from within the Unraid server? I feel like it won't work but I want to check with people who actually knows things!

2. Inside a docker, could I just change a filepath to /mnt/user/xxxx and it should work? Or does the Docker's block it in some way? The current filepath for saving my backups is "'plugins/eBackup/backups'", where plugins is a folder inside the docker's "first layer".

 

 

Thanks in advance and sorry if the post is cluttered or unclear in any way.

 

EDIT: Removed un-needed parentheses and made a few lines a bit clearer

Edited by Czanien
Link to comment

Another idea, set another path in the docker configuration. Example /backup and map it to a share on your unRAID server mnt/user/xxxx (as in your #2 above). You should be able to select /backup as a destination inside the docker. I haven’t tried this with your particular docker but in theory it should work.

 

There is also an app to backup apps and dockers. CA Auto Backup available in Community Applications.

Link to comment
24 minutes ago, wgstarks said:

Another idea, set another path in the docker configuration. Example /backup and map it to a share on your unRAID server mnt/user/xxxx (as in your #2 above). You should be able to select /backup as a destination inside the docker. I haven’t tried this with your particular docker but in theory it should work.

 

There is also an app to backup apps and dockers. CA Auto Backup available in Community Applications.

Oh I didn't know that was a feature! I will try the first thing you said. Thank you!

 

I have actually looked into the CA Auto Backup app. It looks great and it would probably work amazing. If it weren't for this line

Quote

"When a Backup is running (either manually or a scheduled backup), your docker applications will be stopped and then restarted at the conclusion of the backup"

Really don't want to stop the minecraft server for every backup. Mostly because I do a 2 backups a day and the downtime will be quite substantial if it restarts every time.

Thanks for the tip though!

 

Best regards

 

EDIT: Clarification in last paragraph

Edited by Czanien
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...