250x250
반응형
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
- mysql
- html
- https
- php
- Certbot
- SSL
- crontab
- non-www
- Linux
- DOM Parser
- git pull
- wordpress
- root
- child theme
- new user
- LetsEncrypt
- vscode
- front page
- home page
- Fail2ban
- CentOS7
- launch.json
- Xdebug
- MariaDB
- Liniux
- centos
- Mac
- 구글 클라우드
- Apache
- Google Cloud
Archives
- Today
- Total
목록bash (1)
between 0 and 1
[MySQL] backup (mysqldump) bash script without password
to backup by using mysqldump without password, it needs 2 files. - bash script file (~.sh) and mysql configuration file (w/ any filename and extension) 1. create bash script file. $> vim backup.sh mysqldump --defaults-extra-file=./.sqlconf databaseName > ./backupdb/"$(date '+%F').sql" * -p option must be excluded from the command in order to use the password in the config file. 2. create mysql c..
Software Development Engineering/MySQL
2021. 1. 26. 17:09