[Support] Linuxserver.io - Duplicati


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 comment
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 comment
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 comment

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 comment
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 comment
  • 4 weeks later...

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 comment

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 comment

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 comment
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 comment
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 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.