Jump to content
Fluffy

Rsync with a user other than root.

6 posts in this topic Last Reply

Recommended Posts

As the title suggests I'm trying to backup my synology server to unraid.

I am not using ssh keys but just standard user/pass. i thought it would be as simple as adding the new user to an allow list of some sort..

I can get hyper backup to do this if i use the root credentials but i cannot seem to find how to grant a "backup" user rsync privileges? 

Share this post


Link to post

Is your Synology on the same network? If so just use Unassigned Devices to mount the SMB share and do the rsync to the UD mount instead.

Share this post


Link to post

Thanks for the prompt reply.

I appreciate the help and I'll test it this way, but i really want to know what i need to do to enable rsync on my backup account user.

Share this post


Link to post

Hi Fluffy - yes you can. You'll need the SSH Plugin which allows you to setup a user with a home and /bin/bash profile.

 

I use my "backup-user" to SSH into unRAID and i've actually disabled SSH as root.

Share this post


Link to post
1 hour ago, Derek_ said:

Hi Fluffy - yes you can. You'll need the SSH Plugin which allows you to setup a user with a home and /bin/bash profile.

 

I use my "backup-user" to SSH into unRAID and i've actually disabled SSH as root.

I don't recommend to do this. The Unraid system uses "users" differently from traditional linux systems.

 

Share this post


Link to post
4 minutes ago, bonienl said:

I don't recommend to do this. The Unraid system uses "users" differently from traditional linux systems.

 

It seems to work fine for me at least - it allows the owner of my backed-up files to be that user, and means i don't have to SSH as root. Maybe it depends what you're trying to do?

 

Do you know of any specific side-affects?

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.