11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


phpmyadmin_sql_backup.py 자동화 백업

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    phpmyadmin_sql_backup.py

    phpmyadmin_sql_backup.py "http://www.example.com/phpmyadmin/" your_user your_password

    phpmyadmin_sql_backup.py "http://www.example.com/phpmyadmin/" your_user your_password --exclude-dbs mydb2,mydb4 --prepend-date --basename example_dump --output-directory /tmp --compression zip

    데이터베이스 mydb2및 mydb4제외 된 압축 된 덤프 , 이름 기본 example_dump및 앞에 추가 된 UTC 날짜 /을 디렉토리 time- /tmp에 다운로드합니다 (예 : /tmp/2016-03-11--15-19-04-UTC_example_dump.zip.

    phpmyadmin_sql_backup.py "https://11q.kr/phpmyadmin/" user password --exclude-dbs mydb2,mydb4 --prepend-date --basename 11q_kr --output-directory /volumeUSB2
    --compression zip

    phpMyAdmin 웹 인터페이스 를 통해 SQL 백업 다운로드를 자동화 하는 Python 3 펼쳐보기 .

    이는 웹 호스팅 제공 업체가 콘솔에 대한 액세스 권한을 부여하지 않지만 (용 mysqldump) 데이터베이스 백업을 자동화하려는 경우 (수동으로 브라우저를 사용할 필요없이) 유용합니다.

    Linux 및 Windows에서 Python 3.4 이상 및 다음 버전의 phpMyAdmin으로 테스트되었습니다. 4.3.x - 4.8.x, 5.0.0

    참고 : phpMyAdmin의 웹 인터페이스는 변경 되어이 펼쳐져 중단 될 수 있습니다. 이 문제가 발생하면 버그 보고서 (사용중인 phpMyAdmin 버전 포함)을 출시합니다.



    usage: phpmyadmin_sql_backup.py [-h] [-o OUTPUT_DIRECTORY] [-p]
                                    [-e EXCLUDE_DBS] [-s SERVER_NAME]
                                    [--compression {none,zip,gzip}]
                                    [--basename BASENAME] [--timeout TIMEOUT]
                                    [--overwrite-existing]
                                    [--prefix-format PREFIX_FORMAT] [--dry-run]
                                    [--http-auth HTTP_AUTH]
                                    URL USERNAME PASSWORD
    
    Automates the download of SQL dump backups via a phpMyAdmin web interface.
    
    positional arguments:
      URL                   phpMyAdmin login page url
      USERNAME              phpMyAdmin login username
      PASSWORD              phpMyAdmin login password
    
    optional arguments:
      -h, --help            show this help message and exit
      -o OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY
                            output directory for the SQL dump file (default: the
                            current working directory)
      -p, --prepend-date    prepend current UTC date & time to the filename; see
                            the --prefix-format option for custom formatting
      -e EXCLUDE_DBS, --exclude-dbs EXCLUDE_DBS
                            comma-separated list of database names to exclude from
                            the dump
      -s SERVER_NAME, --server-name SERVER_NAME
                            mysql server hostname to supply if enabled as field on
                            login page
      --compression {none,zip,gzip}
                            compression method for the output file - must be
                            supported by the server (default: none)
      --basename BASENAME   the desired basename (without extension) of the SQL
                            dump file (default: the name given by phpMyAdmin); you
                            can also set an empty basename "" in combination with
                            --prepend-date and --prefix-format
      --timeout TIMEOUT     timeout in seconds for the requests (default: 60)
      --overwrite-existing  overwrite existing SQL dump files (instead of
                            appending a number to the name)
      --prefix-format PREFIX_FORMAT
                            the prefix format for --prepend-date (default:
                            "%Y-%m-%d--%H-%M-%S-UTC_"); in Python's strftime
                            format. Must be used with --prepend-date to be in
                            effect
      --dry-run             dry run, do not actually download any file
      --http-auth HTTP_AUTH
                            Basic HTTP authentication, using format
                            "username:password"
    
    Written by Christoph Haunschmidt et al., version: 2019-05-07.1
    

    phpmyadmin_sql_backup.py "http://www.example.com/phpmyadmin/" your_user your_password
    

    .sql모든 데이터베이스 의 일반 텍스트 백업을 현재 작업 디렉토리에 다운로드합니다.


    phpmyadmin_sql_backup.py "http://www.example.com/phpmyadmin/" your_user your_password --exclude-dbs mydb2,mydb4 --prepend-date --basename example_dump --output-directory /tmp --compression zip
    

    데이터베이스 mydb2및 mydb4제외 된 압축 된 덤프 , 기본 이름 example_dump및 앞에 추가 된 UTC 날짜 / 시간을 디렉토리 /tmp에 다운로드합니다 (예 : /tmp/2016-03-11--15-19-04-UTC_example_dump.zip.

    요구 사항

    Windows 사용자를위한 참고 사항 : 기본적으로 요구 사항을 설치할 수 있지만 Windows 10을 사용하는 경우 Linux 용 Windows 하위 시스템 을 사용하는 것이 더 쉽습니다.

    변경 로그

    현재는 변경 로그가 없습니다. 현재 가장 좋은 방법은 커밋 메시지를 읽는 것입니다.

    ■ ▶ ☞ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다 ♠ . ☞ 본자료는 https://11q.kr 에 등록 된 자료 입니다♠.

    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    맥가이버79790님의 댓글

    no_profile 맥가이버79790 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (210.♡.107.106) 작성일

    ㄳㅎㄴㄷ

    목록

    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,684 / 57 Page
    [ hyperlink(하이퍼링크)에 관한 설명 ]

    hyperlink(하이퍼링크)에 관한 설명 \r\n\r\nhttp://ektha307.com.ne.kr/TAG/tag6/tag6_9.html#\…

    [ [라이트] 배추라이트 왼편 로그인, 서브, 설문을 오른쪽에 배치하기 ]

    \r\n\r\n\r\n[라이트]\r\n배추라이트 왼편 로그인, 서브, 설문을 오른쪽에 배치하기\r\n\r\n\r\n\r\n글쓴이 :사노라가노라날…

    [ [팁] MySQL 테이블 에러 해결 방법 ]

    \r\n[팁] MySQL 테이블 에러 해결 방\r\n\r\n\r\n요며칠 개인적인 용도로 운영중인 서버가 말썽을 부렸습니다.바쁘다는 핑계로 서버…

    [ 아미나 모바일에서 글 수정시 html 태그 없애고 저장 하기 ]

    .림스 모바일 부분 내용 참조 추가부분 \r\n. Shims HomePage [https://11q.kr 홈피] .\r\n\r\n\r\n\r\n…

    [ 디지털시계 홈피 추가 ]

    \r\n\r\n\r\n\r\n\r\n\r\n\r\n### ■ https://11q.kr는 정보를 찾아 공유 합니다.. ■ https://11q.…

    [ [1.1] 타이틀 & 배너용 최근글 스킨 ] 댓글 1

    \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\…

    [ 림스모바일에 최신글 new.php 추가 하기 ] 댓글 1

    bbs/new.phpskin/new/basic/new.skin.php폴더에 넣고bbs/new.php를 링크추가 사용하세요https://11q.k…

    [ 백수건달 소스 html 삽입 배추게시판 gediter ] 댓글 1

    백수건달 소스 html 삽입\r\n\r\n\n\n[이 게시물은 관리자님에 의해 2013-06-10 21:06:36 21.PC_BBS에서 이동 됨…

    [ [홈피up/g4s] g4s와 아미나테마v3를 이용 그룹 자동메뉴 적용 ]

    ###\r\n\r\n■ https://11q.kr는 정보를 찾아 공유 합니다..\r\n■ https://11q.kr\r\n\r\n\r\n아미나테…

    [ 배추 스킨 게시판 진입을 하면 아래와같이 특정게시판만 문제 발생 하여 문의 드립니다 ]

    배추 스킨 게시판 진입을 하면 아래와같이 특정게시판만 문제 발생 하여 문의 드립니다어디를 수정해야 할지 초보자 문의 드립니다\r\n- 사용조건 …

    [ 최종] 마운트하여 2개의 홈피 data 공유 하기 / config file edit dsm5.0 수정 정보… ] 댓글 9

    최종] 마운트하여 2개의 홈피 data 공유 하기\r\n\r\n마운트 하기 최종\r\n터미널 활성화\r\n\r\nPutty 실행\r\n\r\nm…

    [ 림스모바일 2.6.3 ] 댓글 3

    림스모바일 2.6.3..............................\n[이 게시물은 관리자님에 의해 2013-11-17 20:01:01 …

    [ 로그인이 필요한 게시판 이동 m/m/view m/config.php ]

    m/m/view \r\n1) 로그인이 필요한 게시판을 최근 장착?했습니다.\r\n게시물을 볼 권한이 없다하여 로그인을 하니까 로그인이 안 되고 …

    [ V3-Img 최근글 목록 스킨 ..설치참고 ]

    ###V3-Img 최근글 목록 스킨LV 1 eyoom3조회 265그누보드2013.10.27 04:51관련링크 - http://eyoom.me/a…

    [ [자료] NetDrive (광고없는 무료버전, 1.3.4) ] 댓글 5

    \r\n[자료] NetDrive (광고없는 무료버전, 1.3.4)\r\nPosted 2014/09/18 14:18 by archjang\r\n\…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-07-03 13:08:47

    오늘의 홈 현황


    • 현재 접속자♨ 657 명
    • 오늘 가입자※ 2 명
    • 어제 가입자※ 3 명
    • 주간 가입자※ 13 명
    • 오늘 방문자 1,349 명
    • 어제 방문자 2,223 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,410,701 명
    • 전체 게시물※ 8,673 개
    • 전체 댓글수※ 24,818 개
    • 전체 회원수 11,083 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑