?
Solved

run rsync process continously on solaris

Posted on 2014-04-07
1
Medium Priority
?
762 Views
Last Modified: 2014-04-29
Dear experts -

          Currently I am running a rsync command like the following

rsync -avp /backup/tbs/ akp007@172.*.*.*:/backup/tbs  &

what's happening was the command is dying after some time. is there a way to continuously run it in the background ?  I am on Solaris 10

Regards
0
Comment
Question by:akp007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 1500 total points
ID: 39984216
Your command isn't really "dying", instead it's coming to a regular end as soon as there is nothing left to be transferred. There's no way to keep rsync from behaving like this.

Generally, among other good options for keeping local and remote directories in sync are "lsyncd" or "drbd", but since you're on Solaris they won't work for you.

I'd suggest restarting  the synchronization regularly, either by means of a looping script or by means of a cronjob.

A cronjob will require some additional logic in order to avoid running several rsync processes in parallel.

wmp
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question