initial take on replication

omitting the credentials for logs. I guess putting the username without password makes more sense.