Prepare for replication

Still missing: add replication user