How to use rsync to provide alternate folders for rsync

Solution In Progress - Updated -

Issue

  • Using rsync for Openshift gears gives below error :
rsync -avz $OPENSHIFT_LOG_DIR/fulfillment/*.gz root@518783-example.com:/var/log/applogs/logs/settlement-matchbook.ose.prod/fulfillment/ --remove-source-filesThe authenticity of host '518783-example.com (172.16.0.120)' can't be established.RSA key fingerprint is 99:50:a9:7e:ef:89:d9:7e:f1:02:1d:02:36:04:94:ba.Are you sure you want to continue connecting (yes/no)? yesFailed to add the host to the list of known hosts (/var/lib/openshift/55af4d5729d33b8bd4000011/.ssh/known_hosts).--------------------------------------------

Environment

  • Openshift Enterprise
    • 2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.