Home Man
Search
Today's Posts
Register

Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Using Rsync as root in Solaris 11 for DR

Tags
advanced, rsync

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 02-11-2016
Using Rsync as root in Solaris 11 for DR

Hi,

I am working on a Solaris 11 server for the first time and am trying to set up the DR server. Usually I use trusted rsync between Production and DR to copy changed files to the latter, but this doesn't seem possible now that root is a role.

I want to copy things like the password, group files plus home directories and some other files. They are reasonably substantial, so I only want to transfer changed files rather than all of them.

Does anyone have a solution for this without changing root back to a normal user and thereby reducing security? Needless to say my client wouldn't be keen on reduced security.

Thanks in advance
# 2  
Old 02-18-2016
How about sending a zfs stream to DR site, on some other pool beside rpool and then copying what you require from that ?

You should be able to create a user on both sides and delegate permission to create snapshots and send/receive it, even incremental.
Then copy the required files you want to keep.

Other options is to use zfs send to a file then scp / rsync the file with regular user to other machine and recv it on DR side from file into dummy zpool or zfs filesystem.

Depending on your Solaris release, from 11.2 there are also UAR archives from which you can backup entire system and restore it on the other side, but i have found standard zfs commands to be more straightforward.

As for root user, you can enable it and exchange ssh keys for it. As an extra layer of security a you can put PermitRootLogin without-password
Auth will only be possible with keys not passwords for root user.

Hope that helps
Regards
Peasant.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
[Solaris] rsync unexpected EOF in read_timeout osp UNIX for Advanced & Expert Users 1 03-06-2015 04:31 AM
Rsync is not working at root "/" level between two servers kchinnam Shell Programming and Scripting 0 04-15-2014 11:35 PM
rsync in osx - nondestructive with differnt names of root directory briandanielz UNIX for Dummies Questions & Answers 3 08-06-2012 07:55 AM
rsync backup root files samalogo AIX 2 01-26-2012 12:12 PM
root disk mirroring in solaris volume manager for solaris 10 ramareddi16 Solaris 1 09-16-2011 07:55 AM
Problem of install rsync on Solaris 10 Tlg13team Solaris 3 07-29-2009 12:29 AM
Root owns removable drive and rsync won't work triplemaya Shell Programming and Scripting 0 07-28-2009 03:16 PM
Solaris 8 - Asks for current root password when trying to change root password. tferrazz Solaris 8 04-07-2009 02:28 PM


All times are GMT -4. The time now is 05:57 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password