LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   rsync : how to use and implement (https://www.linuxquestions.org/questions/solaris-opensolaris-20/rsync-how-to-use-and-implement-529536/)

indiancosmonaut 02-16-2007 02:22 AM

rsync : how to use and implement
 
hi friends

can anyone please tel me something about rsync.
How to implement use this and how to configure it on a system...

please tel me in detail...
really need it


thanks in advance...
indiancosmonaut

jlliagre 02-17-2007 02:35 AM

Did you read the man page ?

billymayday 02-17-2007 02:58 AM

What are you trying to do with it?

mdhmi 02-24-2007 11:38 PM

Installation of rsync is trivial. Configuring it to perform exotic tasks can be somewhat involved. What exactly are you trying to get rsync to do?

indiancosmonaut 02-28-2007 12:22 AM

Sorry for not interacting for so long...

Actually i want to user rsync to transfer Directory Structure from one server to another, WITHOUT any user interaction...

The Unix Script is supposed to run rsync...

I have found out that it can be done by using a Password File or by including the password in the rsync command line...like...

rsync -av --password-file "xyz.pwd" ~/Source_directory user@host:~/target_directory

But i haven't been able to understand the implementation...

Please Help
Thanks and Regards,
indiancosmoanut :newbie:

jlliagre 02-28-2007 01:59 AM

Quote:

Originally Posted by indiancosmonaut
I have found out that it can be done by using a Password File or by including the password in the rsync command line...like...

rsync -av --password-file "xyz.pwd" ~/Source_directory user@host:~/target_directory

But i haven't been able to understand the implementation...

The rsync manual page states that --password-file cannot be used with remote shell transport, and you are precisely using remote shell transport (single colon in the destination).

indiancosmonaut 02-28-2007 10:21 AM

hi jlliagre,

Can you kindly explain it in a little detail please :)
and also suggest another way to do the same task, i mean using rsync...

Thanks and Regards
indiancosmonaut :)

jlliagre 02-28-2007 10:53 AM

Depending on the configuration (O/Ses, versions) and requirements (volume, bandwidth, security, firewalls, proxies, ...), there are many different ways and protocols to achieve unattended file transfers.

Can you provide more information about your goals and system/network settings.

indiancosmonaut 03-04-2007 11:54 PM

rsync!
 
Hi jlliagre,

CONFIGURATION : SOURCE SYSTEM

Machine hardware: sun4u
OS version: 5.7
Processor type: sparc
Hardware: SUNW,Ultra-Enterprise-10000

The following components are installed on your system:


Sun WorkShop Professional C 3.0
Sun WorkShop Compiler C 4.2
Sun WorkShop IPE 4.0
Sun WorkShop Dbx 4.0
Sun WorkShop Performance Analyzer 4.0
Sun WorkShop IPE 4.0

Sun WorkShop Compiler C++ 4.2
Sun WorkShop Tools.h++ 7.0
Sun WorkShop Tools.h++ 6.0.4
Sun WorkShop FileMerge 3.0
------------------------------------------------------------
CONFIGURATION : DESTINATION SYSTEM

Machine hardware: sun4u
OS version: 5.9
Processor type: sparc
Hardware: SUNW,Sun-Fire

The following components are installed on your system:


Sun Studio 11
Sun Studio 11 C Compiler
Sun Studio 11 C++ Compiler
Sun Studio 11 Tools.h++ 7.1
Sun Studio 11 C++ Standard 64-bit Class Library
Sun Studio 11 Documentation Set

version of "/opt/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.8 2005/10/13
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.8 2005/10/13
------------------------------------------------------------------
GOAL : What i need to do is transfer files from SOURCE SYSTEM to DESTINATION SYSTEM... I need to use "rsync" to achieve this and I need to do this without user interaction.

I believe for that we have to make use of some "rsync deamon"...
Please tel me how to work this out and how to configure the deamon etc...

And... I am not sure about the other attributes like bandwidth and security etc but i guess the bandwidth is high and the security required is moderate to high.

I also need to keep a log of all the transfers that take place

I am struck on this since i am new to Unix.
Kindly help!

Thanks and Regards,
indiancosmonaut


All times are GMT -5. The time now is 10:39 AM.