11.Nas_1


● ubuntu 설치된 패키지 apt-clone 저장 백업 복원하기


  • 링크


  • 컨텐츠 정보


    본문

    ● ubuntu 설치된 패키지 apt-clone 저장 백업 복원하기

    Apt-clone, Ubuntu에 설치된 패키지 복제

    https://github.com/mvo5/apt-clone

    Ubuntu에 설치된 패키지를 복제하고 다른 컴퓨터로 복원하십시오. 매우 간단하고 빠른 방법으로. 여러 Ubuntu 시스템에 동일한 패키지 세트를 여러 번 설치하는 것은 시간이 많이 걸리고 지루한 작업입니다. 여러 시스템에 동일한 패키지를 반복해서 설치하는 데 시간을 낭비하고 싶지 않다면 이것은 좋은 옵션입니다.


    사실에 관해서는 유사한 아키텍처의 Ubuntu 시스템에 패키지 설치,이 작업을 용이하게하는 데 사용할 수있는 많은 방법이 있습니다. 다음을 사용하여 몇 번의 마우스 클릭만으로 기존 Ubuntu 시스템의 응용 프로그램, 설정 및 데이터를 새로 설치된 시스템으로 간단히 마이그레이션 할 수 있습니다. 앱 티크. 패키지 관리자를 사용하여 설치된 패키지의 전체 목록을 백업 할 수도 있습니다. 예를 들어 APT를 사용하고 나중에 새로 설치된 시스템에 설치할 수 있습니다.


    3232235521_1673453916.9143.png

    https://ubunlog.com/ko/apt-clone-copia-seguridad-paquetes/

    참조 작업해봅니다

    root@ubuntu1:~/paquetesInstalados# apt-clone -h
    usage: apt-clone [-h] [--debug]
                     {info,clone,restore,restore-new-distro,show-diff} ...
    Clone/restore package info
    optional arguments:
      -h, --help            show this help message and exit
      --debug               enable debug output
    Commands:
      {info,clone,restore,restore-new-distro,show-diff}
        info                info about a apt-clone archive
        clone               create a clone-file into <destination>. An alternative
                            source dir can be specified with --source.
        restore             restore a clone file from <source>. An alternative
                            destination can be given with --destination.
        restore-new-distro  restore a clone file from <source> to <destination>
                            and try upgrading along the way. this can be used so
                            that the current release is cloned, a new install is
                            done and then the old clone is installed
        show-diff           show the difference of a clone file from <source> to
                            the system. An alternative destination can be given
                            with --destination.
    root@ubuntu1:~/paquetesInstalados#


    ===========

    apt install apt-clone
    ll ~/paquetesInstalados
    mkdir ~/paquetesInstalados
    ll ~/paquetesInstalados
    df


    백업
    apt-clone clone ~/paquetesInstalados


    파일정보
    root@ubuntu1:~/paquetesInstalados# ll ~/paquetesInstalados
    total 24
    drwxr-xr-x 2 root root  4096 Jan 12 00:58 ./
    drwx------ 5 root root  4096 Jan 12 00:57 ../
    -rw-r--r-- 1 root root 13369 Jan 12 00:58 apt-clone-state-ubuntu1.tar.gz
    root@ubuntu1:~/paquetesInstalados#


    확인
    apt-clone info ~/paquetesInstalados/apt-clone-state-ubuntu1.tar.gz


    복원
    apt-clone restore ~/paquetesInstalados/apt-clone-state-ubuntu1.tar.gz

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

    뷰PDF add1,add2



    관련자료

    댓글 0
    등록된 댓글이 없습니다.


    전체 1,746 / 1 페이지
    전체 1,746 / 1 페이지



    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-04-20 14:23:11

    오늘의 홈 현황


    • 현재 접속자♨ 162 명
    • 오늘 가입자※ 1 명
    • 어제 가입자※ 7 명
    • 주간 가입자※ 15 명
    • 오늘 방문자 1,616 명
    • 어제 방문자 2,250 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,280,524 명
    • 전체 게시물※ 8,521 개
    • 전체 댓글수※ 24,485 개
    • 전체 회원수 10,913 명

    QR코드


    ☞ 사진기로 촬영하시면 방문링크 됩니다

    알림 0








    최신글↑