Generate rsync command line from python

This will allow us to grow a "run now" feature avoiding code
duplication.

Ticket:	#5061