LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-11-2013, 02:22 AM   #1
jwonnacott
LQ Newbie
 
Registered: Jun 2013
Posts: 20

Rep: Reputation: Disabled
Tweaking rsync logs


Good morning All, I'm new to posting here but I've found the forum a great place for answers over the years!
I use rsync to incrementally back up a large amount of data (total size about 5TB) each night and it works brilliantly.
I'd like to be able to see the file sizes and modify dates in the rsync logs, is this possible?

Many thanks,

James
 
Old 06-11-2013, 04:43 AM   #2
shm0
Member
 
Registered: Aug 2012
Location: Bahrain
Distribution: Slackware
Posts: 58

Rep: Reputation: 16
Quote:
Originally Posted by jwonnacott View Post
I'd like to be able to see the file sizes and modify dates in the rsync logs, is this possible?
In the rsyncd.conf file, and under the "log format" parameter, you can add "%l" for length of the file in bytes and "%M" for the last-modified time of the file. Check the man page for full info.
 
1 members found this post helpful.
Old 06-11-2013, 05:16 AM   #3
jwonnacott
LQ Newbie
 
Registered: Jun 2013
Posts: 20

Original Poster
Rep: Reputation: Disabled
Many thanks shm0.

James
 
Old 06-11-2013, 05:28 AM   #4
jwonnacott
LQ Newbie
 
Registered: Jun 2013
Posts: 20

Original Poster
Rep: Reputation: Disabled
Interesting, I don't have an rsyncd.conf!
However it works if I put it in the command line as log-file-format.

Many thanks for your help.

James.
 
  


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
logs are not generating inside sftp logs, while acitive directory users are loggin in deepak_message Linux - Server 6 03-24-2013 12:37 PM
[SOLVED] rsync execution issue with crontab - Have given full path to rsync too!! Prabagaran Linux - Server 6 04-15-2011 02:39 AM
Tweaking an rsync script - need a few extras fruitwerks Linux - Server 1 06-26-2010 02:15 AM
Question about the logs viewer application (/var/logs) balteo Linux - General 1 11-21-2009 12:13 AM
Finding LDAP Server Logs / Application Logs in Linux arbignay Linux - Newbie 2 03-24-2008 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration