Is it enough to add the option --single-transaction in mysqldump to create a backup with consistency..
Or do you need to setup master/slave replication?
mysqldump --single-transaction -h localhost -u root ...
The database consists of only innoDB tables
Yes,
executes
so this will provide you consistency. You do not need to set up replication.
For reference:
executes:
and
executes:
so for your needs,
mysqldump --single-transactionis correct.