LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 02-16-2007, 02:22 AM   #1
indiancosmonaut
Member
 
Registered: Feb 2007
Posts: 65

Rep: Reputation: 15
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
 
Old 02-17-2007, 02:35 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,491

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Did you read the man page ?
 
Old 02-17-2007, 02:58 AM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What are you trying to do with it?
 
Old 02-24-2007, 11:38 PM   #4
mdhmi
Member
 
Registered: Dec 2005
Location: Detroit, Michigan
Distribution: Ubuntu
Posts: 86

Rep: Reputation: 15
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?
 
Old 02-28-2007, 12:22 AM   #5
indiancosmonaut
Member
 
Registered: Feb 2007
Posts: 65

Original Poster
Rep: Reputation: 15
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
 
Old 02-28-2007, 01:59 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,491

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
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).
 
Old 02-28-2007, 10:21 AM   #7
indiancosmonaut
Member
 
Registered: Feb 2007
Posts: 65

Original Poster
Rep: Reputation: 15
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
 
Old 02-28-2007, 10:53 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,491

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
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.
 
Old 03-04-2007, 11:54 PM   #9
indiancosmonaut
Member
 
Registered: Feb 2007
Posts: 65

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to implement bridging kaleeshwari Linux - Networking 1 01-22-2007 06:11 AM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM
About SSH, how to implement this? ICO Linux - Networking 2 04-14-2006 03:52 PM
Shell implement in c SatYr_84 Programming 8 10-06-2005 12:44 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration