Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best way to run rsync automatically but monitor status. 1

Status
Not open for further replies.

nerbonne

Technical User
Dec 11, 2006
99
US
Hi. I want to run rsync jobs automatically at midnight. The thing is that I want to be able to see the job in the workspace (or desktop, not quite sure what the proper linux term is for the GUI). I know I can run the jobs automatically with cron, but I won't be able to see them right? They will just run in the background.

Any suggestions on the best way to do this?

My rsync commands look similar to:

rsync -avz --delete --progress --exclude-from=inc.txt root@server_IP_here:/home /backup/servername
 
Try this:

Append the output of rsync to a file

rsync -avz --delete --progress --exclude-from=inc.txt root@server_IP_here:/home /backup/servername >>/tmp/rsync.log

Then in a terminal window

tail -f /tmp/rsync.log
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top