inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

173만명의 커뮤니티!! 함께 토론해봐요.

DB 백업 쉘 스크립트 오류 문의

미해결

시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script

아래와 같이 오류 발생합니다. [00] FATAL ERROR: 2021-12-03 01:56:26 Can't open backup-my.cnf for reading 해결 방법 좀 알려 주세요~ [root@cent2 BACKUP]# ./db_backup.sh 백업 디렉토리가 있어요. 문제없음. [00] 2021-12-03 01:56:26 Connecting to MySQL server host: localhost, user: not set, password: not set, port: not set, socket: not set [00] 2021-12-03 01:56:26 Failed to connect to MySQL server: Access denied for user ''@'localhost' (using password: NO). /usr/bin/mariabackup based on MariaDB server 10.3.28-MariaDB Linux (x86_64) [00] 2021-12-03 01:56:26 cd to /root/SHELL/BACKUP/xtrabackup_backupfiles/ [00] 2021-12-03 01:56:26 open files limit requested 0, set to 1024 [00] FATAL ERROR: 2021-12-03 01:56:26 Can't open backup-my.cnf for reading /usr/bin/tar: Cowardly refusing to create an empty archive Try '/usr/bin/tar --help' or '/usr/bin/tar --usage' for more information. /usr/bin/ls: cannot access '/mnt/BACKUP/cent2/2021.12.03_cent2_DB.tgz': No such file or directory /usr/bin/ls: cannot access '/mnt/BACKUP/cent2/2021.12.03_cent2_DB.tgz': No such file or directory

  • mariadb
  • 백업
  • shell-script
  • linux
  • 쉘스크립트
투덜이™ 댓글 1 좋아요 0 조회수 524

인기 태그

인프런 TOP Writers

주간 인기글