Everything posted by PeacefulWarri0r
-
Handle local user or better solution
Hey, thank you very much for the hints. Thats all to complicated for me. I build up a container now, it's not perfect and everything finish. But it does what I need. github
-
Handle local user or better solution
Happy to see you save me from writing a own docker image. I checked the user script plugin out. But where to put the private key? Script location: /tmp/user.scripts/tmpScripts/backup_webserver_db/script Note that closing this window will abort the execution of this script + whoami root + rsync -avr -e 'ssh -i /boot/config/ssh/root/.ssh/id_rsa -p 9999' [email protected]:/var/tmp/ /mnt/disk1/backup/ Warning: Identity file /boot/config/ssh/root/.ssh/id_rsa not accessible: No such file or directory. rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: unexplained error (code 255) at io.c(231) [Receiver=3.2.7]
-
Handle local user or better solution
Soo...when I understand correctly you telling me "sell your thinclient - buy a nas"? I dont want to backup in the cloud, I like to backup from the cloud. Multiple servers, multiple directory's. Im not that good in using existing docker containers for it.
-
Handle local user or better solution
I see. Okay, i will put my script into a docker container. I think that could be the thing. Regarding USB, I just got a Lenovo ThinkCentre M910q with one small ssd included. I guess the only way to achieve more disk space are usb disks?
-
Handle local user or better solution
Hi there, im a brand new unraid user since ...today. I got a thinkcentre thinclient with 3 usb disks attached. I would like to backup my servers in the internet. Therefore I add a new user and add his home directory and wrote a python program with backup multiple servers via rsync. Then I reboot and surprise everything was gone. I guess /home was on the unraid flash drive. Before I try it again with home directory pointing to the array, I would like to ask if a) there's maybe a better solution? b) is it the correct way to create a user via webui changing home directory path in /etc/passwd and go? I think I'm on the wrong path: root@ratzfatz:~# grep backup /etc/passwd backup:x:1000:1000::/mnt/disk1/home/backup:/bin/false root@ratzfatz:~# su - backup -s /bin/bash -su: cd: /root: Permission denied WARNING: Error loading config file: /root/.docker/config.json: open /root/.docker/config.json: permission denied -su: /root/.bash_profile: Permission denied backup@ratzfatz:/mnt/disk1/home/backup$ Cheers