LinuxQuestions.org
Help answer threads with 0 replies.
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-14-2008, 12:43 AM   #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, 06: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, 07: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, 04: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


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

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

All times are GMT -5. The time now is 08:48 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration