Jump to content
parsec

Anyone got Idrive working on Unraid ?

7 posts in this topic Last Reply

Recommended Posts

Hi All

 

Was happy with Crashplan for a long time, but switched to Idrive for backing up the increasing number of mobile devices in the family.

Idrive makes some linux stuff...

Have anyone got Idrive working on Unraid, which could give me some hints or a how-to, I would be grateful !!

 

/René

Share this post


Link to post

Hi,

Did you manage to get Idrive working on unRaid i any way.

 

I am running idrive backup from a unraid vm - but maybe there is a smarter way to do this.

There is a idrive docker in the hub, but there is very little description  of what i actually does. Apart from it a idrive datacenter edition (akanto/idrive)

Maybe this doesnt work for homeusers.

 

/michael

Share this post


Link to post

This is an old thread, but I got this working using a Docker container if anyone is interested. Takes some basic Linux commands but nothing too difficult.

Share this post


Link to post
On 3/19/2020 at 4:27 AM, TheSpook said:

This is an old thread, but I got this working using a Docker container if anyone is interested. Takes some basic Linux commands but nothing too difficult.

I would be very interested how you got it working using a Docker container. I allready asked and received the script-files from idrive-support, but I'm not as proficiënt with docker-making and only baby-steps in Linux... So, every piece of advice and help is good for me... And maybe it will help others with this precious info :)

 

Greetings

/Mario

Share this post


Link to post

Hi, I would also be interested in how you got this working using a docker container.

 

I am in the process of migrating a WHS2011 server to unRaid. I was backing up the WHS to IDrive. I could use a Windows VM on the Unraid server but docker would be nicer. I would like to get the backups working before I move the rest of data over to Unraid.

Share this post


Link to post

So sorry! I come here so rarely and didn't turn on "Notify me of replies". My bad! If you're still intrested, here is the method I used.

 

1. Create a new Docker container based on a version of Linux that has all the dependancies. I used the "Python" container because it seemed to have Perl and everything I needed. I mounted a folder for the config file as well ad the /mnt/user directory so I can choose what to backup. You have to run the Docker container in interactive mode or it will just shut down because it has nothing to do. I couldn't find a way to do this in the GUI. So just open a teminal (the little symbol in the top right hand corner of the unRAID dashboard) and type:

 

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -it --name='idrive_ubuntu-ur1' --net='bridge' -e TZ="Australia/Sydney" -e HOST_OS="Unraid" -v '/mnt/user/':'/data':'ro' -v '/mnt/user/appdata/idrive_ubuntu/':'/config':'rw' 'python'

 

Change your Timezone and the name of the container if you want.

 

I mounted the /mnt/user folder as read only because it should only need to read from that folder for the backups.

 

2. Once this is done, exit out of the terminal. Then go to your Docker tab in unRAID. You should see the new container you just created.

3. Copy the idrive Linux scripts into the folder /mnt/user/appdata/idrive_ubuntu/. If you don't have the scripts, let me know and I can send them to you.

4. (optional) Modify the account_settings.pl script and add your idrive username and password. This will avoid you having to manually type them in later:

    a) change the line my $uname = Helpers::getAndValidate(['enter_your', " ", $Configuration::appType, " ", 'username', ': '], "username", 1);
                                to
                                my $uname = 'idriveuser@email.com';

    b) change the line my $upasswd = Helpers::getAndValidate(['enter_your', " ", $Configuration::appType, " ", 'password', ': '], "password", 0);
                                to
                                my $upasswd = 'password';

    c) save the modified file as account_settings2.pl

5. Bash into the new container (in the Docker tab of unRAID, click on the question mark icon next to the container name and click Console.

6. Once you are in, type: perl /config/scripts/account_setting2.pl (or if you didn't modify the script, perl /config/scripts/account_setting.pl)

7. That's it, just follow the prompts to setup the server in your idrive account. Once it is setup, you can configure what you want to backup from your idrive dashboard (https://www.idrive.com/idrive/in/console?path=/remote/devices).

You should see your new docker container there. If you click on Settings you can choose what to backup. Expand the data folder and you will see all your shares in unRAID.

 

Let me know if you have any issues!

 

 

Share this post


Link to post

@TheSpook, Thanks for the walk through. I'm running into an issue though where the IDrive service doesn't automatically start up whenever the docker is restarted. I have to go back in the docker and manually start the services again.

 

How do you get the IDrive service and cron service to start automatically?

 

Thanks

Edited by MrLinux

Share this post


Link to post

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.