Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mysqldump 시 replication 정보 추가 #7

Open

Description

mariadb replication 상태에서 master 백업시, slave 에서 복원을 위한 replication 정보 추가

--single-transaction 설정은 이미 포함되어 있음

--master-data=2

백업된 sql 상단에 추가되는 내용

--
-- Position to start replication or point-in-time recovery from
--
-- CHANGE MASTER TO MASTER_LOG_FILE='mysql-bin.000113', MASTER_LOG_POS=72282874;
--
-- GTID to start replication from
--
-- SET GLOBAL gtid_slave_pos='0-1-193208812';

ex) --single-transaction --master-data=2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /