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,675 / 83 Page
    [ tvheadend를 docker에 가동 에러 원인 확인(추가 문의) ]

    tvheadend를 docker에 가동 에러 원인 확인(추가 문의)초기설치후는 정상시놀로지 도커로 tvh 설치후/아래 tv_grab 적용시 문제…

    [ CoreELEC IR remote LGUplus 4k 전면부 리모컨 스캔 scan code 값 설정 ] 댓글 8

    CoreELEC IR remote LGUplus 4k 전면부 리모컨 스캔 scan code 값 설정모든 키를 아래와 같이 정의 합니다전면부 bt…

    [ termux booting autorun bash_profile 자동실행 ] 댓글 2

    [termux booting autorun bash.profile 자동실행]# Termux 어플 자동 실행Autorun 어플설치 2개 실행te…

    [ bee-link gt-mini 2g 제품 netflix key 등록하기 ] 댓글 13

    bee-link gt-mini 2g 제품 netflix key 등록하기https://m.cafe.naver.com/mk802/33978에서 파일…

    [ 최상의 경험을 위해 Titan Bingie 모드 스킨을 구성하는 방법 ]

    최상의 경험을 위해 Titan Bingie 모드 스킨을 구성하는 방법기본적으로이 스킨은 기본 설정에서 잘 보이지 않지만 좋은 소식은 즉시 구성하…

    [ 홈페이지 만들 때 도움이 되는 무료 텍스트 에디터 추천 (코딩, 프로그래밍, 웹개발) ]

    홈페이지 만들 때 도움이 되는 무료 텍스트 에디터 추천 (코딩, 프로그래밍, 웹개발)by 스마일보이랩2019년 5월 12일07387blog.sm…

    [ 정보)[두줄설치 업데이트] S***.2 Linux Native에 설치하기. ]

    정보)[두줄설치 업데이트] s...a0.2 Linux Native에 설치하기.cafe.naver.com의 정보 입니다Ubuntu bionic, …

    [ ssh server 안드로이드엡으로 설치후 pc에서 연결 ]

    간단 linux환경의 ssh server 연결으로 엡으로 설치 연결ssh server 안드로이드엡으로 설치후 pc에서 연결ssh server 설…

    [ Let 's Encrypt 인증서를 등록하거나 갱신 할 수 없습니다. 어떡해 ]

    Let 's Encrypt 인증서를 등록하거나 갱신 할 수 없습니다.어떡해Synology 장치에서Let 's Encrypt인증서를 생성하거나 갱…

    [ tvheadend 관리자 로그인 안될때 superuser 추가후 reset 하기 ]

    ●tvheadend 관리자 로그인 안될때 superuser 추가후 reset 하기 - 관리자 admin check 잘못 제거시 괸리자 로그인 안…

    [ ● 터미널에서 파일 작성 시간 변경이 되지 않아 우분투 ui매뉴로 서울지역설정 하기 ]

    ●터미널에서 파일 작성 시간 변경이 되지 않아 우분투 ui매뉴로 서울지역설정 하기vmware ubuntu 사용조건에 터미널에서 파일생성 시간이 …

    [ ● 파일공유) 1008일자 redpill Hei Qunhui 7.0 부트 파일 다운로드 (211008에 의해… ] 댓글 12

    ● 파일공유)1008일자 redpillHei Qunhui 7.0 부트 파일 다운로드 (211008에 의해 컴파일됨)정보 출처Black Qunhu…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-26 08:57:53

    오늘의 홈 현황


    • 현재 접속자♨ 805 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 2 명
    • 주간 가입자※ 8 명
    • 오늘 방문자 1,318 명
    • 어제 방문자 2,051 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,395,925 명
    • 전체 게시물※ 8,654 개
    • 전체 댓글수※ 24,772 개
    • 전체 회원수 11,068 명

    QR코드


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

    알림 0








    최신글↑