do_checkpoint was splitted to remote_sync and log_changes with appropriate command options