{"id":83100,"date":"2020-05-28T13:42:10","date_gmt":"2020-05-28T11:42:10","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/bekap-hranilishhe-dlya-tysyach-virtualnyh-mashin-svobodnymi-instrumentami"},"modified":"2020-05-28T13:42:10","modified_gmt":"2020-05-28T11:42:10","slug":"bekap-hranilishhe-dlya-tysyach-virtualnyh-mashin-svobodnymi-instrumentami","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/bekap-hranilishhe-dlya-tysyach-virtualnyh-mashin-svobodnymi-instrumentami","title":{"rendered":"Biztons\u00e1gi ment\u00e9si t\u00e1rol\u00f3 ezer virtu\u00e1lis g\u00e9p sz\u00e1m\u00e1ra ingyenes eszk\u00f6z\u00f6kkel","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Biztons\u00e1gi ment\u00e9si t\u00e1rol\u00f3 ezer virtu\u00e1lis g\u00e9p sz\u00e1m\u00e1ra ingyenes eszk\u00f6z\u00f6kkel\" src=\"\/wp-content\/uploads\/2020\/05\/e1be85f9fdec702ce8db043ac72dd507.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Hell\u00f3, nemr\u00e9g egy \u00e9rdekes feladatot kaptam, hogy be\u00e1ll\u00edtsak egy t\u00e1rol\u00f3t nagy mennyis\u00e9g\u0171 blokkos eszk\u00f6z\u00f6k ment\u00e9s\u00e9re.<\/p>\n<p><\/p>\n<p>Minden h\u00e9ten elv\u00e9gezz\u00fck az \u00f6sszes virtu\u00e1lis g\u00e9p biztons\u00e1gi ment\u00e9s\u00e9t a felh\u0151nkben, \u00edgy k\u00e9pesnek kell lenn\u00fcnk ezer biztons\u00e1gi m\u00e1solat kezel\u00e9s\u00e9re, \u00e9s ezt a lehet\u0151 leggyorsabban \u00e9s a leghat\u00e9konyabban kell megtenn\u00fcnk.<\/p>\n<p><\/p>\n<p>Sajnos a szabv\u00e1nyos konfigur\u00e1ci\u00f3k <strong>RAID5<\/strong>, <strong>RAID6<\/strong> ebben az esetben nem alkalmasak, mert a helyre\u00e1ll\u00edt\u00e1si folyamat olyan nagy lemezek eset\u00e9n, mint a mieink, k\u00ednosan hossz\u00fa lesz, \u00e9s val\u00f3sz\u00edn\u0171leg sosem \u00e9r v\u00e9get.<\/p>\n<p><\/p>\n<p>N\u00e9zz\u00fck meg, milyen alternat\u00edv\u00e1k vannak:<\/p>\n<p><\/p>\n<p><strong><noindex><a rel=\"nofollow\" href=\"https:\/\/docs.min.io\/docs\/minio-erasure-code-quickstart-guide.html\">Erasure Coding<\/a><\/noindex><\/strong> \u2014 A RAID5, RAID6 anal\u00f3gja, de testreszabhat\u00f3 parit\u00e1sszinttel. Ezenk\u00edv\u00fcl a ment\u00e9s nem blokk alap\u00fa, hanem minden egyes objektumra vonatkozik. A legegyszer\u0171bb m\u00f3dja az erasure coding kipr\u00f3b\u00e1l\u00e1s\u00e1nak az, hogy telep\u00edtj\u00fck a <noindex><a rel=\"nofollow\" href=\"https:\/\/min.io\/\">minio-t<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><strong><noindex><a rel=\"nofollow\" href=\"https:\/\/openzfs.github.io\/openzfs-docs\/Basic%20Concepts\/dRAID%20Howto.html?highlight=draid\">DRAID<\/a><\/noindex><\/strong> \u2014 ez jelenleg m\u00e9g nem megval\u00f3s\u00edtott ZFS-funkci\u00f3. A RAIDZ-hez k\u00e9pest a DRAID elosztott parit\u00e1sblokkot haszn\u00e1l, \u00e9s a helyre\u00e1ll\u00edt\u00e1s sor\u00e1n az \u00f6sszes lemezt aktiv\u00e1lja a t\u00f6mbb\u0151l, \u00edgy jobban ellen\u00e1ll a lemezhib\u00e1knak, \u00e9s gyorsabban helyre\u00e1ll a hiba ut\u00e1n. <\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<p><img decoding=\"async\" alt=\"Biztons\u00e1gi ment\u00e9si t\u00e1rol\u00f3 ezer virtu\u00e1lis g\u00e9p sz\u00e1m\u00e1ra ingyenes eszk\u00f6z\u00f6kkel\" src=\"\/wp-content\/uploads\/2020\/05\/aa867bbd4f52501c8708636d2cd1fb27.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Biztons\u00e1gi ment\u00e9si t\u00e1rol\u00f3 ezer virtu\u00e1lis g\u00e9p sz\u00e1m\u00e1ra ingyenes eszk\u00f6z\u00f6kkel\" src=\"\/wp-content\/uploads\/2020\/05\/47b0a233d5db5b66472e17fb5a822fad.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>Tiszt\u00e1ban vagyok egy szerverrel <strong>Fujitsu Primergy RX300 S7<\/strong> Intel Xeon CPU E5-2650L 0 @ 1.80GHz processzorral <strong>, kilenc DDR3 RAM-modullal<\/strong>Samsung DDR3-1333 8Gb PC3L-10600R ECC Registered (M393B1K70DH0-YH9) <strong>, egy lemezkioszt\u00f3val<\/strong>Supermicro SuperChassis 847E26-RJBOD1 <strong>, csatlakoztatva<\/strong>Dual LSI SAS2X36 Expander <strong>\u00e9s 45 lemezzel<\/strong> Seagage ST6000NM0115-1YZ110 <strong>6TB<\/strong> hogy <strong>mindegyik.<\/strong> Miel\u0151tt b\u00e1rmit eld\u00f6nten\u00e9k, el\u0151sz\u00f6r alaposan tesztelni kell mindent.<\/p>\n<p><\/p>\n<p>Ehhez felk\u00e9sz\u00fcltem \u00e9s k\u00fcl\u00f6nf\u00e9le konfigur\u00e1ci\u00f3k tesztel\u00e9s\u00e9t v\u00e9geztem. Ehhez a minio-t haszn\u00e1ltam, amely S3 h\u00e1tt\u00e9rk\u00e9nt m\u0171k\u00f6d\u00f6tt, \u00e9s k\u00fcl\u00f6nb\u00f6z\u0151 m\u00f3dokban futtattam k\u00fcl\u00f6nb\u00f6z\u0151 sz\u00e1m\u00fa c\u00e9l\u00e1llom\u00e1ssal.<\/p>\n<p><\/p>\n<p>F\u0151k\u00e9nt a minio erasure coding esete, a szoftveres RAID-hez hasonl\u00edtva, ugyanazzal a lemezk\u00e9szlettel \u00e9s parit\u00e1sos lemezekkel volt tesztelve, ezek: RAID6, RAIDZ2 \u00e9s DRAID2.<\/p>\n<p><\/p>\n<p>A t\u00e1j\u00e9koztat\u00e1s kedv\u00e9\u00e9rt: amikor a minio-t egyetlen c\u00e9llal ind\u00edtja el, akkor a minio S3 \u00e1tj\u00e1r\u00f3 m\u00f3dban m\u0171k\u00f6dik, lehet\u0151v\u00e9 t\u00e9ve a helyi f\u00e1jlrendszer S3 t\u00e1rol\u00e1sk\u00e9nt t\u00f6rt\u00e9n\u0151 megjelen\u00edt\u00e9s\u00e9t. Ha azonban a minio-t t\u00f6bb c\u00e9l meghat\u00e1roz\u00e1s\u00e1val ind\u00edtja, automatikusan aktiv\u00e1l\u00f3dik az Erasure Coding m\u00f3d, amely a c\u00e9l \u00e1llom\u00e1sok k\u00f6z\u00f6tt elosztja az adatokat, biztos\u00edtva a hib\u00e1tlans\u00e1got.<\/p>\n<p><\/p>\n<blockquote><p>Inform\u00e1ci\u00f3k\u00e9nt: amikor a minio-t csak egy c\u00e9llal ind\u00edtja el, akkor a minio S3-h\u00edd \u00fczemm\u00f3dba l\u00e9p, \u00e9s a helyi f\u00e1jlrendszer\u00e9t S3-t\u00e1rhelyk\u00e9nt szolg\u00e1ltatja. Ha azonban a minio-t t\u00f6bb c\u00e9llal ind\u00edtja el, akkor automatikusan bekapcsol a Erasure Coding m\u00f3d, amely elosztja az adatokat a c\u00e9lszerverek k\u00f6z\u00f6tt az adott redundancia biztos\u00edt\u00e1sa \u00e9rdek\u00e9ben.<\/p>\n<p>Alap\u00e9rtelmezetten a Minio 16 lemezes csoportokra osztja a c\u00e9lokat, ahol minden csoporthoz 2 parit\u00e1s tartozik. Ez\u00e9rt egyszerre k\u00e9t lemez is meghib\u00e1sodhat adatveszt\u00e9s n\u00e9lk\u00fcl.<\/p><\/blockquote>\n<p>A teljes\u00edtm\u00e9ny tesztel\u00e9s\u00e9hez 16 darab 6 TB-os lemezt haszn\u00e1ltam, \u00e9s kis 1 MB-os objektumokat \u00edrtam r\u00e1juk, ami maxim\u00e1lisan pontosan t\u00fckr\u00f6zte a j\u00f6v\u0151beli terhel\u00e9s\u00fcnket, mivel minden modern biztons\u00e1gi ment\u00e9si eszk\u00f6z blokkra osztja az adatokat t\u00f6bb megab\u00e1jt m\u00e9retben, \u00e9s \u00edgy \u00edrja \u0151ket.<\/p>\n<p><\/p>\n<p>A benchmark elv\u00e9gz\u00e9s\u00e9hez az s3bench seg\u00e9dprogramot haszn\u00e1ltuk, amelyet egy t\u00e1voli szerveren futtattunk, \u00e9s t\u00edzezernyi ilyen objektumot k\u00fcld\u00f6tt a Miniohoz sz\u00e1z sz\u00e1lban. Ezut\u00e1n ugyanilyen m\u00f3don pr\u00f3b\u00e1ltuk visszah\u00edvni \u0151ket.<\/p>\n<p><\/p>\n<p>A benchmark eredm\u00e9nyeit az al\u00e1bbi t\u00e1bl\u00e1zat tartalmazza:<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Biztons\u00e1gi ment\u00e9si t\u00e1rol\u00f3 ezer virtu\u00e1lis g\u00e9p sz\u00e1m\u00e1ra ingyenes eszk\u00f6z\u00f6kkel\" src=\"\/wp-content\/uploads\/2020\/05\/218a14dcd9311e4b350a3b7aafbd290c.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Ahogy l\u00e1tjuk, a Minio saj\u00e1t erasure coding \u00fczemm\u00f3dban jelent\u0151sen rosszabb \u00edr\u00e1si teljes\u00edtm\u00e9nyt ny\u00fajt, mint a Minio, amelyet szoftveres RAID6, RAIDZ2 \u00e9s DRAID2 felett futtatnak ugyanabban a konfigur\u00e1ci\u00f3ban.<\/p>\n<p><\/p>\n<p>K\u00fcl\u00f6n megk\u00e9rtek <noindex><a rel=\"nofollow\" href=\"https:\/\/t.me\/sds_ru\/15987\">arra, hogy teszteljem a Minio-t ext4 vs XFS. Meglep\u0151 m\u00f3don, de az \u00e9n terhel\u00e9sem t\u00edpus\u00e1hoz az XFS jelent\u0151sen lassabbnak bizonyult, mint az ext4.<\/a><\/noindex> Az els\u0151 tesztek sor\u00e1n az Mdadm f\u00f6l\u00e9nyben volt a ZFS-sel szemben, de k\u00e9s\u0151bb<\/p>\n<p><\/p>\n<p>gmelikov <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/users\/gmelikov\/\" class=\"user_link\">javasolta,<\/a><\/noindex> <noindex><a rel=\"nofollow\" href=\"https:\/\/t.me\/sds_ru\/15724\">hogy jav\u00edthat\u00f3 a ZFS teljes\u00edtm\u00e9nye a k\u00f6vetkez\u0151 opci\u00f3k telep\u00edt\u00e9s\u00e9vel:<\/a><\/noindex>xattr=sa atime=off recordsize=1M<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">\u00e9s ezut\u00e1n a ZFS-tesztjeim l\u00e9nyegesen jobbak lettek.<\/code><\/pre>\n<p><\/p>\n<p>Azt is \u00e9szrevehetj\u00fck, hogy a DRAID nem ad k\u00fcl\u00f6n\u00f6sebb el\u0151nyt a RAIDZ-hez k\u00e9pest, de elm\u00e9letileg sokkal biztons\u00e1gosabb kellene legyen.<\/p>\n<p><\/p>\n<p>Az utols\u00f3 k\u00e9t tesztem sor\u00e1n megpr\u00f3b\u00e1ltam a metaadatokat (special) \u00e9s a ZIL-t (log) SSD t\u00fck\u00f6rbe helyezni. De a metaadatok kihelyez\u00e9se nem hozott k\u00fcl\u00f6n\u00f6sebb sebess\u00e9gel\u0151nyt, m\u00edg a ZIL kihelyez\u00e9s\u00e9n\u00e9l a<\/p>\n<p><\/p>\n<p>SSDSC2KI128G8 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.memory4less.com\/intel-ssd-ssdsc2ki128g8\">bottleneckhez \u00e9rt, 100%-os kihaszn\u00e1lts\u00e1ggal, \u00edgy ezt a tesztet megbukottnak tartom. Nem z\u00e1rk\u00f3zom el att\u00f3l, hogy ha gyorsabb SSD-lemezeim lettek volna, ez jelent\u0151sen jav\u00edthatta volna az eredm\u00e9nyeimet, de sajnos nem voltak ilyenek.<\/a><\/noindex> V\u00e9g\u00fcl \u00fagy d\u00f6nt\u00f6ttem, hogy a DRAID haszn\u00e1lat\u00e1n\u00e1l maradok, \u00e9s a b\u00e9tast\u00e1tusza ellen\u00e9re ez a leggyorsabb \u00e9s leghat\u00e9konyabb megold\u00e1s a t\u00e1rol\u00e1sra az eset\u00fcnkh\u00f6z.<\/p>\n<p><\/p>\n<p>Egyszer\u0171 DRAID2-t hoztam l\u00e9tre h\u00e1rom csoporttal \u00e9s k\u00e9t elosztott tartal\u00e9kkal:<\/p>\n<p><\/p>\n<p>J\u00f3l van, a t\u00e1rol\u00e1ssal mindent tiszt\u00e1ztunk, most n\u00e9zz\u00fck, hogy mivel fogunk biztons\u00e1gi menteni. Itt h\u00e1rom megold\u00e1sr\u00f3l szeretn\u00e9k besz\u00e9lni, amelyeket siker\u00fclt kipr\u00f3b\u00e1lnom:<\/p>\n<p><\/p>\n<pre><code class=\"bash\"># zpool status data\n  pool: data\n state: ONLINE\n  scan: none requested\nconfig:\n\n    NAME                 STATE     READ WRITE CKSUM\n    data                 ONLINE       0     0     0\n      draid2:3g:2s-0     ONLINE       0     0     0\n        sdy              ONLINE       0     0     0\n        sdam             ONLINE       0     0     0\n        sdf              ONLINE       0     0     0\n        sdau             ONLINE       0     0     0\n        sdab             ONLINE       0     0     0\n        sdo              ONLINE       0     0     0\n        sdw              ONLINE       0     0     0\n        sdak             ONLINE       0     0     0\n        sdd              ONLINE       0     0     0\n        sdas             ONLINE       0     0     0\n        sdm              ONLINE       0     0     0\n        sdu              ONLINE       0     0     0\n        sdai             ONLINE       0     0     0\n        sdaq             ONLINE       0     0     0\n        sdk              ONLINE       0     0     0\n        sds              ONLINE       0     0     0\n        sdag             ONLINE       0     0     0\n        sdi              ONLINE       0     0     0\n        sdq              ONLINE       0     0     0\n        sdae             ONLINE       0     0     0\n        sdz              ONLINE       0     0     0\n        sdan             ONLINE       0     0     0\n        sdg              ONLINE       0     0     0\n        sdac             ONLINE       0     0     0\n        sdx              ONLINE       0     0     0\n        sdal             ONLINE       0     0     0\n        sde              ONLINE       0     0     0\n        sdat             ONLINE       0     0     0\n        sdaa             ONLINE       0     0     0\n        sdn              ONLINE       0     0     0\n        sdv              ONLINE       0     0     0\n        sdaj             ONLINE       0     0     0\n        sdc              ONLINE       0     0     0\n        sdar             ONLINE       0     0     0\n        sdl              ONLINE       0     0     0\n        sdt              ONLINE       0     0     0\n        sdah             ONLINE       0     0     0\n        sdap             ONLINE       0     0     0\n        sdj              ONLINE       0     0     0\n        sdr              ONLINE       0     0     0\n        sdaf             ONLINE       0     0     0\n        sdao             ONLINE       0     0     0\n        sdh              ONLINE       0     0     0\n        sdp              ONLINE       0     0     0\n        sdad             ONLINE       0     0     0\n    spares\n      s0-draid2:3g:2s-0  AVAIL   \n      s1-draid2:3g:2s-0  AVAIL   \n\nerrors: No known data errors<\/code><\/pre>\n<p>Benji Backup<\/p>\n<p><\/p>\n<p><strong><noindex><a rel=\"nofollow\" href=\"https:\/\/benji-backup.me\">\u2014 forkja<\/a><\/noindex><\/strong> a Backy2-nek. <noindex><a rel=\"nofollow\" href=\"http:\/\/backy2.com\/\">Backy2<\/a><\/noindex>, egy speci\u00e1lis megold\u00e1s blokkok biztons\u00e1gi ment\u00e9s\u00e9re, szoros integr\u00e1ci\u00f3val a Ceph-tel. K\u00e9pes a pillanatfelv\u00e9telek k\u00f6z\u00f6tti diff-eket begy\u0171jteni, \u00e9s azokat inkrement\u00e1lis biztons\u00e1gi ment\u00e9sk\u00e9nt form\u00e1lni. T\u00e1mogatja a t\u00e1rol\u00e1s sz\u00e1m\u00e1ra sz\u00e1mos backendot, amelyek k\u00f6z\u00f6tt megtal\u00e1lhat\u00f3 a helyi t\u00e1rol\u00e1s \u00e9s az S3. K\u00fcl\u00f6n adatb\u00e1zist ig\u00e9nyel a deduplik\u00e1ci\u00f3s hash-t\u00e1bl\u00e1k t\u00e1rol\u00e1s\u00e1ra. H\u00e1tr\u00e1nyai: Python-ra \u00edr\u00f3dott, \u00e9s valamivel lassabb a parancssori interf\u00e9sze.<\/p>\n<p><\/p>\n<p><strong><noindex><a rel=\"nofollow\" href=\"https:\/\/borgbackup.readthedocs.io\/en\/stable\/\">Borg Backup<\/a><\/noindex><\/strong> a Backy2-nek. <noindex><a rel=\"nofollow\" href=\"https:\/\/attic-backup.org\/\">Attic<\/a><\/noindex>, r\u00e9g\u00f3ta ismert \u00e9s bev\u00e1lt eszk\u00f6z az adatok biztons\u00e1gi ment\u00e9s\u00e9re, amely k\u00e9pes az adatok biztons\u00e1gi ment\u00e9s\u00e9re \u00e9s j\u00f3l deduplik\u00e1lja azokat. K\u00e9pes a biztons\u00e1gi m\u00e1solatokat helyben vagy t\u00e1voli szerverre m\u00e1solni SCP-n kereszt\u00fcl. Blokkszint\u0171 eszk\u00f6z\u00f6ket is k\u00e9pes biztons\u00e1gi m\u00e1solatba venni, ha az al\u00e1bbi flag-gel ind\u00edtj\u00e1k: <code>--special<\/code>, h\u00e1tr\u00e1nya: a biztons\u00e1gi m\u00e1solat l\u00e9trehoz\u00e1sakor a repository teljesen le van z\u00e1rva, ez\u00e9rt minden virtu\u00e1lis g\u00e9phez aj\u00e1nlott k\u00fcl\u00f6n repository-t l\u00e9trehozni, ami nem jelent probl\u00e9m\u00e1t, mivel nagyon k\u00f6nnyen l\u00e9trehozhat\u00f3.<\/p>\n<p><\/p>\n<p><strong><noindex><a rel=\"nofollow\" href=\"https:\/\/restic.net\/\">Restic<\/a><\/noindex><\/strong> \u2014 akt\u00edvan fejl\u0151d\u0151 projekt, Go nyelven \u00edr\u00f3dott, el\u00e9gg\u00e9 gyors \u00e9s t\u00e1mogatja a t\u00e1rol\u00e1s sz\u00e1mos backend-j\u00e9t, bele\u00e9rtve a helyi t\u00e1rol\u00e1st, SCP-t, S3-at \u00e9s sok egyebet. K\u00fcl\u00f6n megeml\u00edten\u00e9m, hogy van egy speci\u00e1lisan l\u00e9trehozott <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/restic\/rest-server\">rest-server<\/a><\/noindex> a restic sz\u00e1m\u00e1ra, amely lehet\u0151v\u00e9 teszi a t\u00e1rol\u00e1s leggyorsabb export\u00e1l\u00e1s\u00e1t t\u00e1voli haszn\u00e1latra. Az \u00f6sszes fent eml\u00edtett k\u00f6z\u00fcl nekem ez tetszett a legjobban. K\u00e9pes stdin-b\u0151l biztons\u00e1gi m\u00e1solatot k\u00e9sz\u00edteni. Szembet\u0171n\u0151 h\u00e1tr\u00e1nyai szinte nincsenek, de van n\u00e9h\u00e1ny saj\u00e1toss\u00e1ga:<\/p>\n<p><\/p>\n<ul>\n<li>\n<p>El\u0151sz\u00f6r is, megpr\u00f3b\u00e1ltam haszn\u00e1lni k\u00f6z\u00f6s repository-m\u00f3dban minden virtu\u00e1lis g\u00e9phez (mint a Benji), \u00e9s ez eg\u00e9sz j\u00f3l m\u0171k\u00f6d\u00f6tt, de a helyre\u00e1ll\u00edt\u00e1si m\u0171veletek meglehet\u0151sen hossz\u00fa id\u0151t vettek ig\u00e9nybe, mivel minden helyre\u00e1ll\u00edt\u00e1s el\u0151tt a restic megpr\u00f3b\u00e1lja elolvasni az \u00f6sszes biztons\u00e1gi m\u00e1solat metadataj\u00e1t. Ezt a probl\u00e9m\u00e1t k\u00f6nnyed\u00e9n megoldottuk, mint a borg eset\u00e9ben, azzal, hogy minden virtu\u00e1lis g\u00e9phez k\u00fcl\u00f6n repository-t hozzunk l\u00e9tre. Ez a megk\u00f6zel\u00edt\u00e9s szint\u00e9n nagyon hat\u00e9kony volt a biztons\u00e1gi m\u00e1solatok kezel\u00e9s\u00e9re. A k\u00fcl\u00f6n\u00e1ll\u00f3 repository-knak lehet k\u00fcl\u00f6n jelszava az adatokhoz val\u00f3 hozz\u00e1f\u00e9r\u00e9shez, \u00e9s b\u00e1tran elker\u00fclhetj\u00fck, hogy a glob\u00e1lis repo valahogy t\u00f6nkremenjen. \u00daj repository-kat szint\u00e9n olyan egyszer\u0171en lehet l\u00e9trehozni, mint a Borg Backup eset\u00e9ben.<\/p>\n<p><\/p>\n<p>Minden esetben a deduplik\u00e1ci\u00f3 csak a backup kor\u00e1bbi verzi\u00f3j\u00e1ra vonatkozik, a kor\u00e1bbi backup az adott backup el\u00e9r\u00e9si \u00fatja alapj\u00e1n hat\u00e1rozhat\u00f3 meg, ez\u00e9rt ha k\u00fcl\u00f6nb\u00f6z\u0151 objektumokat ment a stdin-b\u0151l egy k\u00f6z\u00f6s t\u00e1rol\u00f3ba, ne felejtse el megadni az opci\u00f3t. <code>--stdin-filename<\/code>, vagy minden alkalommal kifejezetten megadni az opci\u00f3t. <code>--parent<\/code>.<\/p>\n<p>\n<\/li>\n<\/ul>\n<p><\/p>\n<ul>\n<li>\n<p>M\u00e1sodszor, az stdout-ra val\u00f3 vissza\u00e1ll\u00edt\u00e1s jelent\u0151sen t\u00f6bb id\u0151t vesz ig\u00e9nybe, mint a f\u00e1jlrendszerre val\u00f3 vissza\u00e1ll\u00edt\u00e1s a p\u00e1rhuzamoss\u00e1ga miatt. A j\u00f6v\u0151ben tervezik a backupok szorosabb t\u00e1mogat\u00e1s\u00e1t blokk alap\u00fa eszk\u00f6z\u00f6k sz\u00e1m\u00e1ra.<\/p>\n<p>\n<\/li>\n<li>\n<p>Harmadszor, jelenleg javasolt haszn\u00e1lni a <noindex><a rel=\"nofollow\" href=\"https:\/\/beta.restic.net\/?sort=time&amp;order=desc\">master \u00e1gb\u00f3l sz\u00e1rmaz\u00f3 verzi\u00f3t<\/a><\/noindex>, mivel a 0.9.6 verzi\u00f3 bugja miatt hossz\u00fa ideig tart a nagy f\u00e1jlok vissza\u00e1ll\u00edt\u00e1sa.<\/p>\n<p>\n<\/li>\n<\/ul>\n<p><\/p>\n<p>A backup hat\u00e9konys\u00e1g\u00e1nak \u00e9s a m\u00e1sol\u00e1s\/vissza\u00e1ll\u00edt\u00e1s sebess\u00e9g\u00e9nek tesztel\u00e9s\u00e9re l\u00e9trehoztam egy k\u00fcl\u00f6n t\u00e1rol\u00f3t, \u00e9s pr\u00f3b\u00e1ltam menteni egy kis virtu\u00e1lis g\u00e9p (21 GB) k\u00e9pet. K\u00e9t backupot v\u00e9geztem a v\u00e1ltozatlan eredeti felhaszn\u00e1l\u00e1s\u00e1val, az eml\u00edtett megold\u00e1sok mindegyik\u00e9vel, hogy ellen\u0151rizzem, mennyivel gyorsabban\/lassabban m\u00e1solj\u00e1k a deduplik\u00e1lt adatokat.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Biztons\u00e1gi ment\u00e9si t\u00e1rol\u00f3 ezer virtu\u00e1lis g\u00e9p sz\u00e1m\u00e1ra ingyenes eszk\u00f6z\u00f6kkel\" src=\"\/wp-content\/uploads\/2020\/05\/acab0d9f0d535e29ff272fef4e92de0f.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Ahogy \u00e9szlelhetj\u00fck, a Borg Backup a legjobb kezd\u0151 backup hat\u00e9konys\u00e1ggal rendelkezik, de lemarad a m\u00e1sol\u00e1s \u00e9s a vissza\u00e1ll\u00edt\u00e1s sebess\u00e9g\u00e9ben.<\/p>\n<p><\/p>\n<p>A Restic gyorsabbnak bizonyult, mint a Benji Backup, de hosszabb ideig tart a stdout-ra val\u00f3 vissza\u00e1ll\u00edt\u00e1s, \u00e9s sajnos m\u00e9g nem tud k\u00f6zvetlen\u00fcl blokk alap\u00fa eszk\u00f6zre \u00edrni.<\/p>\n<p><\/p>\n<p>Mindent m\u00e9rlegelve \u00fagy d\u00f6nt\u00f6ttem, hogy meg\u00e1llok a <strong>restic<\/strong> a <strong>rest-server<\/strong> megold\u00e1sn\u00e1l, mint a legk\u00e9nyelmesebb \u00e9s leg\u00edg\u00e9retesebb backup megold\u00e1s.<\/p>\n<p><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/asciinema.org\/a\/333393\"><img decoding=\"async\" alt=\"Biztons\u00e1gi ment\u00e9si t\u00e1rol\u00f3 ezer virtu\u00e1lis g\u00e9p sz\u00e1m\u00e1ra ingyenes eszk\u00f6z\u00f6kkel\" src=\"\/wp-content\/uploads\/2020\/05\/cb174ab1522f529dea0712b64c0ac923.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/p>\n<p><\/p>\n<p>Ebben a screencastban l\u00e1thatja, hogy a 10 gigabites csatorna teljesen ki van haszn\u00e1lva, mik\u00f6zben t\u00f6bb p\u00e1rhuzamosan fut\u00f3 backup m\u0171velet zajlik. \u00c9rdemes megjegyezni, hogy a lemezek kihaszn\u00e1lts\u00e1ga nem emelkedik 30% f\u00f6l\u00e9.<\/p>\n<p><\/p>\n<p>A kapott megold\u00e1ssal t\u00f6bb mint el\u00e9gedett vagyok!<\/p>\n<p>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/504152\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u043c\u043d\u0435 \u043f\u043e\u043f\u0430\u043b\u0430\u0441\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u043a\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0434\u043b\u044f \u0431\u044d\u043a\u0430\u043f\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0431\u043b\u043e\u0447\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u041a\u0430\u0436\u0434\u0443\u044e \u043d\u0435\u0434\u0435\u043b\u044e \u043c\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u043e\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u0432 \u043d\u0430\u0448\u0435\u043c \u043e\u0431\u043b\u0430\u043a\u0435, \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u043c\u0435\u0442\u044c \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0442\u044c \u0442\u044b\u0441\u044f\u0447\u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0445 \u043a\u043e\u043f\u0438\u0439 \u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u044d\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 RAID5, RAID6 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430\u043c \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0442\u044f\u0442 \u0432 \u0432\u0438\u0434\u0443 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":83101,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-83100","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u0438\u0432\u0435\u0442.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/bekap-hranilishhe-dlya-tysyach-virtualnyh-mashin-svobodnymi-instrumentami\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0411\u044d\u043a\u0430\u043f-\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0434\u043b\u044f \u0442\u044b\u0441\u044f\u0447 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u043c\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u0438\u0432\u0435\u0442.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/bekap-hranilishhe-dlya-tysyach-virtualnyh-mashin-svobodnymi-instrumentami\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-05-28T11:42:10+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-28T11:42:10+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Backup t\u00e1rol\u00f3 ezer virtu\u00e1lis g\u00e9phez ingyenes eszk\u00f6z\u00f6kkel | ProHoster","description":"Hell\u00f3.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/bekap-hranilishhe-dlya-tysyach-virtualnyh-mashin-svobodnymi-instrumentami","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0411\u044d\u043a\u0430\u043f-\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0434\u043b\u044f \u0442\u044b\u0441\u044f\u0447 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u043c\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 | ProHoster","og:description":"\u041f\u0440\u0438\u0432\u0435\u0442.","og:url":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/bekap-hranilishhe-dlya-tysyach-virtualnyh-mashin-svobodnymi-instrumentami","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-05-28T11:42:10+00:00","article:modified_time":"2020-05-28T11:42:10+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"83100","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 15:25:22","updated":"2022-09-28 15:47:37","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/83100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=83100"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/83100\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media\/83101"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=83100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=83100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=83100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}