?
Solved

Rsync on RH 7.3 Log file question

Posted on 2003-03-12
7
Medium Priority
?
293 Views
Last Modified: 2013-12-15
Does any one know how to log (write out to a file) the file names and the date and timestamp of the files that were transferred using RSYNC over SSH ?

Rsync version 2.5.5 Protocol Version 26

SSH - OpenSSH_3.4p1, SSH Protocols 1.5/2.0

Oper. Sys.: RH Linux 7.3 Kernel 2.4.18-10
0
Comment
Question by:nshashi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
7 Comments
 
LVL 3

Expert Comment

by:naccad
ID: 8120832
I believe this is a option for the rsync daemon.

man rsyncd.conf for more details

tc
-nick
0
 
LVL 38

Accepted Solution

by:
yuzh earned 400 total points
ID: 8250287
Hi nshashi,

   Have a look at my command in your other question,:

http://www.experts-exchange.com/Operating_Systems/Linux/Q_20570683.html

  In your script, you can log the starting time, before starting the rsync command.

  eg:
LOG=/path-to/yourlog

STARTIME=`date`

echo "Backup start at $STARTIME " >>$LOG

#if you want log the ending time, you can do the similar thing after your rsync statment.


0
 
LVL 38

Expert Comment

by:yuzh
ID: 8266094
How's it going ???
0
 

Expert Comment

by:CleanupPing
ID: 9076640
nshashi:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 9077263
my 1st comment is the answer for the question
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month8 days, 12 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question