LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2008, 11:43 PM   #1
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Rep: Reputation: 15
rsync backup monitoring


Hi,

I am backing up windows workstations' data onto Linux Server using rsync. In this regard, i would like to know the status of backup such as date, file error etc., on one screen, may be through web interface.

Please let me know if anyone of you have any solution.

regards,

T. Saravana.
 
Old 02-14-2008, 05:36 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Use the -v switch which will give verbose output and detail the process. If you don't want to monitor the process live you can create a log file. An example of such an instruction is;

rsync --delete-after -avH /home/ /mnt/backup/home > /var/log/backup.log

the dialog of the process is written to backup.log.

Hope this helps.
 
Old 02-14-2008, 06:35 AM   #3
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TigerOC View Post
Use the -v switch which will give verbose output and detail the process. If you don't want to monitor the process live you can create a log file. An example of such an instruction is;

rsync --delete-after -avH /home/ /mnt/backup/home > /var/log/backup.log

the dialog of the process is written to backup.log.

Hope this helps.
Thank you very much for your reply.

I will try as per your log. But before that i would like to know that i backup everyday approximately 40 windows workstations onto Linux Server which happens automatically on system shutdown. Therefore the log will be very big. Hence, i feel it will be cumbersome to know that which all the systems are backed up and are there any failures. In this regard, i would like to know if there is any log reader or any idea you have specifically for rsync.

regards,

T. Saravana.
 
Old 02-15-2008, 03:31 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
The first rsync log will probably be big, but thereafter it should not be that large as it will record only the changed files that have been backed up. Remember that rsync is progressive and will only backup those files that have changed. I have had a look at my file and it is not that large. As far as I know that is really the only way you are going to determine whether the process is successful. You may want to investigate writing a small script that examines the log file and and greps the word failed.
 
  


Reply



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
rsync backup songeek Solaris / OpenSolaris 1 07-05-2007 07:01 AM
Using RSync to backup a secondary off-site backup server pezdspencer Linux - Software 4 06-29-2007 03:40 PM
backup with rsync muhammednavas Linux - Networking 4 12-01-2006 06:58 AM
Using rsync to backup data. Best way to backup folders? Micro420 Linux - General 2 11-23-2006 01:13 AM
rsync backup... tarballed Linux - Networking 10 06-27-2003 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 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