[Support] Linuxserver.io - Duplicati


348 posts in this topic Last Reply

Recommended Posts

Just now, CHBMB said:

 

Not really a fan of starting to add random plugins to containers. 

 

You could create a subfolder in duplicati appdata called dupreport and call the script using user.scripts

 


docker exec -it duplicati /path/to/python /config/dupreport/dupReport.py

Never though of doing it that way - have user.scripts already - will be easty to do - thanks for the idea

Myk

 

 

Link to post
  • Replies 347
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Hi Guys. I have made a video about setting up and configuring Duplicati on unRAID for cloud and network backups.  

Application Name: Duplicati Application Site: https://www.duplicati.com/ Docker Hub: https://hub.docker.com/r/linuxserver/duplicati/ Github: https://github.com/linuxserver/docker-duplic

Not sure if this is the issue you're having but it has to do with existing session data at least in the x64 version of Duplicati.   When in the web UI, for Chrome, right click "inspect" go t

Posted Images

ended up running it on unRaid instead of in the docker - since it does not have to be on the same machine, I didn't check if python3 was installed in the docker, but was easy with nerd tools and the user scripts plugin
 
Myk
 
IIRC python is installed in the container, but it may not be apparent as it's in the base image.

Sent from my LG-H815 using Tapatalk

Link to post
is it better to run it in or outside the docker container?
Dude, half my free time is taken up being involved in a docker centric project....

What do you think my answer is going to be? :)

Although in all seriousness, as long as it works it shouldn't matter, but I'd feel better personally if it were sandboxed to a degree within the container, and I suppose that has some advantages so if the container isn't running you won't have a script on your host os running that doesn't need to be.

Sent from my LG-H815 using Tapatalk

Link to post

will have to run it outside - does not look like python3 is installed in the container

 

root@729a54ad7f7d:/usr/bin# ls -la py*
-rwxr-xr-x 1 root root    4123 Dec 10  2015 pyclean
-rwxr-xr-x 1 root root   11894 Dec 10  2015 pycompile
lrwxrwxrwx 1 root root       8 Dec 10  2015 pydoc -> pydoc2.7
-rwxr-xr-x 1 root root      79 Dec  4 18:11 pydoc2.7
lrwxrwxrwx 1 root root      12 Dec 10  2015 pygettext -> pygettext2.7
-rwxr-xr-x 1 root root   22097 Dec  4 18:11 pygettext2.7
lrwxrwxrwx 1 root root       9 Dec 10  2015 python -> python2.7
lrwxrwxrwx 1 root root       9 Dec 10  2015 python2 -> python2.7
-rwxr-xr-x 1 root root 3492656 Dec  4 18:14 python2.7
lrwxrwxrwx 1 root root      29 Dec 10  2015 pyversions -> ../share/python/pyversions.py
root@729a54ad7f7d:/usr/bin# pyversions --installed
python2.7

 

myk

Link to post
6 minutes ago, MyKroFt said:

will have to run it outside - does not look like python3 is installed in the container

 

 


root@729a54ad7f7d:/usr/bin# ls -la py*
-rwxr-xr-x 1 root root    4123 Dec 10  2015 pyclean
-rwxr-xr-x 1 root root   11894 Dec 10  2015 pycompile
lrwxrwxrwx 1 root root       8 Dec 10  2015 pydoc -> pydoc2.7
-rwxr-xr-x 1 root root      79 Dec  4 18:11 pydoc2.7
lrwxrwxrwx 1 root root      12 Dec 10  2015 pygettext -> pygettext2.7
-rwxr-xr-x 1 root root   22097 Dec  4 18:11 pygettext2.7
lrwxrwxrwx 1 root root       9 Dec 10  2015 python -> python2.7
lrwxrwxrwx 1 root root       9 Dec 10  2015 python2 -> python2.7
-rwxr-xr-x 1 root root 3492656 Dec  4 18:14 python2.7
lrwxrwxrwx 1 root root      29 Dec 10  2015 pyversions -> ../share/python/pyversions.py
root@729a54ad7f7d:/usr/bin# pyversions --installed
python2.7

 

 

myk

 

Hey Myk,

 

Could try

 

apt update && apt install python3 -y

as the first line of your script ;)

 

Edited by CHBMB
Link to post
  • 4 weeks later...
15 hours ago, Brettv said:

Hi all, 

I am trying to get Duplicati working, however upon creation, when i go the the web ui the page just sits there spinning
logs below

https://pastebin.com/MmnC43Gv

https://pastebin.com/dzVX6Ld3

https://pastebin.com/hudfi9EL

 

Not sure what to say, everything looks ok in the logs, fresh pull on my machine works fine.  Tried a different browser?

Link to post

Hey,
 
I'm wanting to backup my Share of 1.09Tb of Photos to the cloud.  I have come across Duplicati that looks like it could do this but I am confused with the install.
 
When installing, the form is asking me to enter locations for each of the following. Where do I point them to and what is each one for?
 
- /tmp
- /backup
- /source
 
Thanks,
Neil

Edited by rctneil
Fix typo
Link to post

Tmp = temporary storage
Source = location of files you want to back up
Backup = Destination of any incoming backups

You can call these mount points anything you want, add more or remove them as you see fit. Take a look at the docker FAQ if you're struggling to get your head around mount points.

Sent from my LG-H815 using Tapatalk

Link to post

I think the latest update is competing with threads. I'm getting this error. 

 

Quote

 

SIGABRT: abort
PC=0x760397 m=3 sigcode=18446744073709551610

goroutine 0 [idle]:

goroutine 1 [chan receive, locked to thread]:
runtime.gopark(0x859a90, 0xc42005c058, 0x8460e2, 0xc, 0xc420014017, 0x3)
/usr/local/go/src/runtime/proc.go:271 +0x13a
runtime.goparkunlock(0xc42005c058, 0x8460e2, 0xc, 0x17, 0x3)
/usr/local/go/src/runtime/proc.go:277 +0x5e
runtime.chanrecv(0x7c5a80, 0xc42005c000, 0x0, 0xc42004ff01, 0x417881)
/usr/local/go/src/runtime/chan.go:513 +0x371
runtime.chanrecv1(0x7c5a80, 0xc42005c000, 0x0)
/usr/local/go/src/runtime/chan.go:395 +0x35
runtime.gcenable()
/usr/local/go/src/runtime/mgc.go:213 +0x84
runtime.main()
/usr/local/go/src/runtime/proc.go:151 +0x12a
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1

rax 0x0
rbx 0xc257c8
rcx 0x760397
rdx 0x6
rdi 0x2d74
rsi 0x3a01
rbp 0x877ae2
rsp 0x14645f046868
r8 0xa
r9 0x14645f047700
r10 0x8
r11 0x206
r12 0x1464580008c0
r13 0x34
r14 0x0
r15 0xf3
rip 0x760397
rflags 0x206
cs 0x33
fs 0x0
gs 0x0
runtime/cgo: pthread_create failed: Resource temporarily unavailable

 

Link to post
On 22/2/2018 at 7:09 PM, CHBMB said:

Tmp = temporary storage
Source = location of files you want to back up
Backup = Destination of any incoming backups

You can call these mount points anything you want, add more or remove them as you see fit. Take a look at the docker FAQ if you're struggling to get your head around mount points.

Sent from my LG-H815 using Tapatalk
 

 

What would be the best strategy to bakcup the files to a local share (NFS) or to an external HDD?

I guess the first case would work out of the box but what about the second? Do I have to passthrough the HD to the container? How?

Link to post
On 11/03/2018 at 7:15 PM, L0rdRaiden said:

 

What would be the best strategy to bakcup the files to a local share (NFS) or to an external HDD?

I guess the first case would work out of the box but what about the second? Do I have to passthrough the HD to the container? How?

 

Mount the HDD with UD and then edit the docker container template and add a new mapping with this the mount point of the ext drive.

Link to post
12 hours ago, CHBMB said:

 

Mount the HDD with UD and then edit the docker container template and add a new mapping with this the mount point of the ext drive.

I have found how how to do it for a VM but can I passthrough a USB port to a docker container?

Link to post
I have found how how to do it for a VM but can I passthrough a USB port to a docker container?
You don't need to I don't think, mount the drive with Unassigned Devices.

Sent from my LG-H815 using Tapatalk

Link to post
5 hours ago, CHBMB said:

You don't need to I don't think, mount the drive with Unassigned Devices.

Sent from my LG-H815 using Tapatalk
 

I know but I don't want to have it as part of the array, I want to have it as an external HDD in NTFS probably. Is this possible?

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.