LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   rsync backup (https://www.linuxquestions.org/questions/solaris-opensolaris-20/rsync-backup-566766/)

songeek 07-05-2007 03:31 AM

rsync backup
 
I have question on rsync


Please suggest me of any free GUI rsync tool that has the capability to send e-mail in case of failure


Detailed explination:

I don’t have a great deal of knowledge in UNIX, but I have a great passion for UNIX and I was a moderate user of UNIX, until I was given this position as Unix Systems Administrator

Currently I am given a job. Hope you guys could help me please 

Work scenario:

Currently I have a 5 machine that I need to backup every day (incremental)

Machine tet1 which is Master Server ( rsync –daemon)

Clients

1) CL1
2) CL2
3) CL3
4) CL4
5) CL5

Machine tet1 triggers a ssh (rsync ) connection to CL1 at 8 PM and forces CL1 to run a script global_backup which creates a backup for certain application on CL1 and then stores under /backup/<current>

Once the backup is done, it sends the backup’s to machine tet1 using rsync.

I am asked to implement a new strategy for backup. Well I would say sort of a monitoring tool.

1 ) I am asked to design and implement a GUI ( Please let me know if there are any GUI that are available which synchronises with rsync) for rsync.

2 ) E-mail to be sent as Status report every day.

Machine tet1 ( Master Server some time runs out of space and rsync does not work properly) so I need to know when this doesn’t work

I know I am asking for too much from my fellow friend, I am not very familiar with UNIX. I am in the process of learning and I love *nix

Currently all the machines are Solaris 9

Please suggest me of any free GUI rsync tool that has the capability to send e-mail in case of failure
Your help will be extremely appreciated.
Thanks

ilikejam 07-05-2007 07:01 AM

Hi.

Why they would want a GUI for an automated process I don't know. I believe there are GUIs out there, though. Google should provide.

The email part is easy, though. To be emailed a summary of what happened during an rsync session, just redirect the rsync output to mailx. I'd use the '-v' rsync option to see what's going on, e.g.
Code:

rsync -v /patch/to/source target:/patch/to/destination 2>&1 | mailx -s "Backup summary" you@yourcompany.com
adjust to taste, obviously, but you get the idea.

Dave


All times are GMT -5. The time now is 03:49 AM.