Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- git
- centos7
- cd
- Streams
- CI
- bean
- Entity
- QueryDSL
- PAGING
- CodePipeline
- ECS
- mirror maker2
- Spring Data JPA
- topic생성
- mysql
- Kotlin
- spring
- kafka
- Spring JPA
- API
- AWS
- consumer
- JPA
- spring kafka
- entity graph
- Kubernetes
- offsetdatetime
- producer
- K8s
- transactionaleventlistener
Archives
- Today
- Total
Yebali
Mysql DB 백업 및 복구 본문
DB 백업
mysqldump -u [mysql 계정] -p [원본 DB명] > [백업 DB명].sql
DB 복원
mysql -u [mysql 계정] -p [복원할 타겟 DB] < [백업된 DB명].sql
모든 DB 백업
mysqldump --all-databases -u root -p > [백업 DB명].sql
모든 DB 복원
mysql --all-databases -u [mysql 계정] -p < [백업된 DB].sql
'DB' 카테고리의 다른 글
[Database] Database의 Index (0) | 2022.11.20 |
---|---|
Mysql Join (0) | 2021.09.21 |
Mysql 테이블 복사 (0) | 2021.09.21 |
Mysql 계정 비밀번호 변경하기 (0) | 2021.09.21 |
CentOS7에 Mysql 5.6 설치하기 (0) | 2021.09.21 |