Restic, chishandiso chakanakisa che backups ine vhezheni uye Cloud rutsigiro

Kune avo vari kutsvaga mhinduro yekukwanisa kuita backups, mune ino chinyorwa tichataura nezvazvo chishandiso chakanakisa chinonzi "restic" uye ichangobva kugamuchira update itsva.

Restic ndiye a backup system iyo inopa seti yezvishandiso zvekuchengetedza backups mune yakashandurwa repository iyo inogona kugarwa pane ekunze maseva uye cloud storages.

About Restic

Restic data inochengetwa mune encrypted fomu, pamwe nemushandisi anogona kutsanangura inochinjika mitemo yekusanganisa uye kusasanganisa mafaera nemadhairekitori paunenge uchigadzira backup.

Ane tsigiro yekuchengetedza ma backups pane yemuno faira system, pane yekunze server nemugwagwa SFTP/SSH kana HTTP REST, mumakore Amazon S3, OpenStack Swift, BackBlaze B2, Microsoft Azure Blob Storage, uye Google Cloud Storage, pamwe nechero chengetedzo. kune izvo kune rclone backends.

Yakakosha sevha yekuzorora inogona zvakare kushandiswa kuronga chengetedzo, iyo inopa kushanda kwepamusoro kana ichienzaniswa nemamwe kumashure uye inogona kushanda mune yekuwedzera-chete modhi iyo isingakubvumidze iwe kudzima kana kushandura backups kana iyo yekutanga server ikakanganisika uye kuwana iyo encryption. .

Imwe yeakanaka mapoinzi erestic ndeyekuti ine tsigiro yekutsanangura inochinjika mitemo yekusabvisa mafaera nemadhairekitori paunenge uchigadzira mabhaudhi (semuenzaniso, kusabvisa matanda, mafaira enguva pfupi, uye data inogona kudhindwa zviri nyore kubva kune backup). Iyo fomati yemitemo yekusateerera inozivikanwa uye yakafanana rsync kana gitignore.

Restic iri nyore kuisa, kushandisa, uye kudzoreredza ruzivo, uye zvakakodzera kuti titaure kuti ndeye muchinjiko-chikuva (Linux, macOS, Windows, FreeBSD, uye OpenBSD).

Kuti ushande nema backups, zvakakwana kukopa faira rinogoneka rinogona kushandiswa pasina mamwe marongero. Unganidzo inodzokororwa inopihwa iyo faira rinogoneka iro pacharo, richikutendera iwe kuti uzvionere wakazvimirira kuti bhainari gungano rakaumbwa kubva kune yakapihwa magwaro.

Snapshots inotsigirwa, iyo inoratidza mamiriro eimwe dhairekitori ine ese mafaera uye subdirectories panguva yakatarwa. Pese painogadzirwa backup nyowani, snapshot yakabatana nayo inogadzirwa, ichikubvumidza kuti udzorere iyo yazvino mamiriro. Zvinogoneka kukopa snapshots pakati akasiyana repositories.

Kuti uchengetedze traffic, data yakashandurwa chete inokopwa panguva yekuchengetedza maitiro. Kuti ive nechokwadi chekuchengetedza kwakanaka, repository data haina kudzokororwa uye mamwe snapshots anovhara chete akachinja data.

Iyo system haibati mafaera ese, asi mabhuroko float-size yakasarudzwa uchishandisa siginecha yeRabin. Ruzivo rwunochengetwa mukubatana nezvirimo, kwete nemazita emafaira (mazita uye masangano ane hukama nedata anotsanangurwa padanho remetadata ye block). Zvichienderana neSHA-256 hash yezviri mukati, kudhirowa kunoitwa uye kukopa kusingakodzeri kwedata kunobviswa.

Kuti utarise nemaziso zviri mukati meiyo repository uye kurerutsa kupora, mufananidzo une backup unogona kuisirwa muchimiro chechikamu chechikamu (chakaiswa neFUSE). Inopawo mirairo yekuongorora shanduko uye kusarudza kubvisa mafaira.

Mashoko pamaseva ekunze inochengetwa mu encrypted form (SHA-256 inoshandiswa kucheki, AES-256-CTR yekuvharidzira, uye Poly1305-AES-yakavakirwa makodhi echokwadi kuti ive nechokwadi chekutendeseka.) Iyo sisitimu yakatanga kugadzirwa kuti ive nechokwadi chekuti ma backups anochengetwa munzvimbo dzisina kuvimbika uye kuti backup inowira mumaoko asiri iwo haikanganisi sisitimu. Encryption inogona kupihwa neese makiyi ekuwana uye mapassword.

Zvinogoneka kuongorora backup kushandisa checksums uye makodhi echokwadi kuti asimbise kuti kutendeseka kwemafaira hakuna kutyorwa uye kuti mafaera anodiwa anogona kudzoserwa uye haasanganisi akavanzika magadzirirwo.

Maitiro ekuisa Restic paLinux?

Kune avo vanofarira kukwanisa kuisa chishandiso ichi, sezvataurwa pamusoro apa, maitiro ayo ekumisikidza ari nyore, sezvo utility iri mukati mehuwandu hwematura ekugoverwa kukuru kweLinux.

Semuenzaniso, kuisa Restic paUbuntu, Debian kana zvinobva, ingovhura terminal uye nyora:

sudo apt-get install restic

Munyaya yeavo vari vashandisi veArch Linux, Manjaro kana chero chimwe chinobva:

sudo pacman -S restic

Kune vashandisi veFedora:

sudo dnf install restic

Kana mune yeRed Hat kana CentOS uye zvinobva kana zvichibva pane izvi:

sudo dnf install epel-release
sudo dnf install restic

Panguva yeOpenSUSE:

sudo zypper install restic

Kune avo vari Solus vashandisi

 eopkg install restic

Finalmente kune vanoda kuziva zvakawanda nezvazvo uye zvakare mukubvunza maitiro ayo ekushandisa, unogona kubvunza iwo ruzivo Mune inotevera chinongedzo.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako