wiki:TipAndDoc/backup

Version 4 (modified by mitty, 12 years ago) (diff)

--

backuppc

  • $ sudo aptitude install -R backuppc
    The following NEW packages will be installed:
      apache2{a} apache2-mpm-worker{a} apache2-utils{a} apache2.2-bin{a}
      apache2.2-common{a} backuppc ca-certificates{a} libapr1{a} libaprutil1{a}
      libaprutil1-dbd-sqlite3{a} libaprutil1-ldap{a} libarchive-zip-perl{a}
      libasn1-8-heimdal{a} libcap2{a} libclass-isa-perl{a}
      libencode-locale-perl{a} libfile-listing-perl{a} libgcrypt11{a}
      libgdbm3{a} libgnutls26{a} libgpg-error0{a} libgssapi3-heimdal{a}
      libhcrypto4-heimdal{a} libheimbase1-heimdal{a} libheimntlm0-heimdal{a}
      libhtml-parser-perl{a} libhtml-tagset-perl{a} libhtml-tree-perl{a}
      libhttp-cookies-perl{a} libhttp-date-perl{a} libhttp-message-perl{a}
      libhttp-negotiate-perl{a} libhx509-5-heimdal{a} libio-socket-ssl-perl{a}
      libkrb5-26-heimdal{a} libldap-2.4-2{a} liblwp-mediatypes-perl{a}
      liblwp-protocol-https-perl{a} libnet-http-perl{a} libnet-ssleay-perl{a}
      libp11-kit0{a} libroken18-heimdal{a} libsasl2-2{a} libsocket6-perl{a}
      libswitch-perl{a} libtalloc2{a} libtasn1-3{a} libtdb1{a}
      libtime-modules-perl{a} libtimedate-perl{a} liburi-perl{a}
      libwbclient0{a} libwind0-heimdal{a} libwww-perl{a}
      libwww-robotrules-perl{a} openssl{a} perl{a} perl-modules{a} postfix{a}
      samba-common{a} samba-common-bin{a} smbclient{a} ssl-cert{a}
    The following packages are RECOMMENDED but will NOT be installed:
      libfile-rsyncp-perl libhtml-form-perl libhtml-format-perl
      libhttp-daemon-perl libio-dirent-perl libio-socket-inet6-perl
      libmailtools-perl libsasl2-modules rrdtool rsync rsync:i386
    0 packages upgraded, 63 newly installed, 0 to remove and 1 not upgraded.
    Need to get 36.3 MB of archives. After unpacking 116 MB will be used.
    
  • /var/lib/backuppc/pc/ 以下にバックアップされる
    root@backup:~# ls -l /var/lib/backuppc/pc/localhost/0/f%2fetc/
    total 572
    -rw-r----- 2 backuppc backuppc  1445 Nov 22 15:28 attrib
    -rw-r----- 2 backuppc backuppc  1388 Nov 22 15:28 fadduser.conf
    -rw-r----- 2 backuppc backuppc    65 Nov 22 15:28 faliases
    -rw-r----- 2 backuppc backuppc   299 Nov 22 15:28 faliases.db
    drwxr-x--- 2 backuppc backuppc  4096 Nov 22 15:28 falternatives
    drwxr-x--- 7 backuppc backuppc  4096 Nov 22 15:28 fapache2
    

DAR

Bacula

rsync