gadzirira windows Shamwari yebhizimisi maitiro

Cloudberry Backup yeLinux: Gadzira uye Mhanya Backup Kuchengetedza Yako Dhata

Cloud-based Backup mhinduro vane mhepo mune maseiri avo. Nhasi ndichaongorora iyo CloudBerry Backup yeLinux. Ndiyo mhinduro yakapihwa neCloudberry Lab ye "kushandiswa kwemubatanidzwa uye wega".

Icho chishandiso chinopa zvese zviri zviviri GUI uye CLI interface. Iyo GUI interface iri nani intuitive sezvaungaona nekutsikirira kuburikidza ne peji peji. Saka ndafunga kutarisisa nhasi pane yekuraira-mutsara interface ndichitarisa icho chigadzirwa. Kunyange zvakadaro, ndiwo mashandisiro andingaite mune "yemakambani" nharaunda kugadzirisa macomputer pane server semuenzaniso, kana kana uchishanda kure kuburikidza ssh.

Kuwana CloudBerry Backup yeLinux

Cloudberry Backup yeLinux inogona kuva akasununguka kurodha pasi kubva kune edhari webhusaiti. Asi iwe haugone kuita backup kusvikira wawana rezinesi. Asi usavhunduke: haufanire kubhadhara izvo nekuti kune mahara marezinesi anowanikwa.

Iyo yeLinux vhezheni yakanyanya kudhura pane yayo Windows mumwe uyezve anouya se "freeware" yekushandisa wega. Shanduro dziripo parizvino (dzakateedzerwa kubva pawebhusaiti):

  • Shanduro yemahara: Yakagadzirirwa wega wega kushandisa. Inouya nezvakawanda zvezvinhu zvePRO vhezheni, senge inoshanduka kuronga uye yekuchengetedza marongero.
  • Pro vhezheni: Inouya neyemberi maficha: kumanikidza uye kunyorera. Mutengo i $ 29.99 yeimwe isingagumi rezinesi.
  • Yekupedzisira vhezheni: Inouya isina miganhu yekuchengetedza.

Semubatsiri, zvakakodzera kutaura nezve muganho wekuchengetedza weiyo "Mahara" vhezheni yakaderera kunge 200GB. Asi inomutsa pa5TO yeiyo "Pro" vhezheni uye haina muganho weiyo "Yekupedzisira" vhezheni. Izvo zvisingakwanisike miganho inosimbisirwa neiyo software. Kuzvimiririra kwekupedzisira kwekushomeka kwekugadza kunoiswa neako wekuchengetedza

Kutaura nezve izvo, CloudBerry inongopa mhinduro yekuchengetedza. Kutenga kana kukodha chaiko kuchengetedza kuri kwauri. Saka, kana mutengo werezinesi uri "one time fees" pakombuta imwe- iwe unofanirwa kuwedzera mutengo wekuchengetedza kuti ufungidzire mutengo wakazara wevaridzi wemhinduro iyoyo.

Uine rezinesi rakabhadharwa iwe unowana mahara kuwana kune ese magadziriso eiyo software kwegore rimwe. Mushure menguva iyoyo, uchafanirwa kubhadhara imwezve 20% yemutengo wegore rimwezve rekuvandudza.

Kune izvo zvandakanzwisisa, iwe unogona kugara uchishandisa iyo "yemahara rezinesi" kudzoreredza data rako. Saka, pakupedzisira, iwe unofanirwa kubhadhara chete kana iwe ukaronga kushandisa icho chigadzirwa kune akaenzana akakura mabhakiti kana kana iwe uchida epamberi maficha senge encryption.

Nezve ino ongororo, isu takawana yekuwedzera rezinesi. Yaive yeiyo "CloudBerry Backup yeLinux Standard Edition" zvinoenderana neemail ine kiyi yelayisensi yandakagamuchira. Ini ndinogona kungofungidzira iyo “Standard Edition” iri, kutaura zvazviri, iyo "Pro vhezheni" sezvakatsanangurwa pawebhusaiti.

Wongorora setup

Nezve ino ongororo, ini ndaishandisa nyowani uye shoma Debian 9.0 system inomhanya pane chaiyo muchina ne4GB kana RAM. Iyo sisitimu yaive yekumisikidza sefaera server inomhanya NFS uye inobata 6.5GB yedata neyakajairika kugoverwa kwemafaira ehukuru hwakasiyana uye mhando.

Uye zvakare, ini ndamisa setup yakafanana yekudzorera tarisiro, asi pasina iyo data kuitira kuti ndione kugona kweCloudBerry Backup kuti itorezve data pane rakasiyana muchina mushure medambudziko. Tichaedza izvo pakupera kwechinyorwa.

Zvekuchengetedza zvekuchengetedza, ini ndaishandisa zvese zviri munzvimbo yakamisikidzwa diski uye neGoogle Cloud Storage bhaketi.

kugadzwa

Kubva pawebhu reCloudBerry, unogona kurodha pasi software bhaisari pasuru yeUbuntu 12/14/16, Suse 11/12, Red Hat-CentOS 6.x / 7.x uye Fedora 12/21.

Sezvo ini ndiri kushandisa chaiyo Debian system - yangu yekufungidzira yaive iyo Ubuntu vhezheni ichashanda.

itsfoss:~# dpkg -i ubuntu14_CloudBerryLab_CloudBerryBackup_v2.0.2.39_20170620155447.deb
[...]
/opt/local/CloudBerry Backup/raw_bin/cbbUpdater: error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file: No such file or directory

Ok: inotevera nguva pandichaisa CloudBerry Backup pane mashoma system, ini ndichafanirwa rangarira kuisa libglib2.0-0 kutanga (iyo iine iyo inoshaikwa raibhurari faira libgthread-2.0.so.0)

itsfoss:~# apt-get install -y libglib2.0-0
itsfoss:~# dpkg -i ubuntu14_CloudBerryLab_CloudBerryBackup_v2.0.2.39_20170620155447.deb

Ino nguva inoshanda:

itsfoss:~# ps -edf | grep CloudBerry
root      1301     1  0 15:33 ?        00:00:00 /opt/local/CloudBerry Backup/raw_bin/cbbLocalManagement
root      1328   442  0 15:33 pts/0    00:00:00 grep CloudBerry

Mazhinji ezvinyorwa iwe aunowana nezve CloudBerry Backup ichaunza iyo GUI chishandiso. Kusanganisira iye mukuru Kuisirwa uye Gadziriso Yekutungamira. Uye zvirokwazvo, kushandisa iyo GUI ndiyo ingangoita iri nyore nzira yekushandisa uye kugadzirisa chishandiso chakapihwa huwandu hwesarudzo dziripo. Asi ini handizokwanise kushandisa iyo GUI kubva kune yangu bvunzo system. Zvisinei, mune chaiyo mamiriro, ini handidi kuisa GUI pane server kungo gadzirisa yangu backup nzira. Ndinovimba, Cloud Berry Backup inopa yekuraira-mutsara interface zvakare:

itsfoss:~# ls /opt/local/CloudBerry Backup/bin/
cbb  cbbCommandLine  cbbgui  cbbGUI  cbbLocalManagement  cbbUpdater  cbbWorker

Handizive kuti sei, asi pane yangu yekuisa, pane maviri akafanana magwaro ekumhanyisa iyo CLI:

itsfoss:.../CloudBerry Backup/bin# diff -s cbb cbbCommandLine
Files cbb and cbbCommandLine are identical

Kutanga kubva ikozvino, ini ndinoshandisa cbb sezvazvinorehwa muzvinyorwa zviri pamutemo.

Rezinesi kumisikidza

Cloudberry Lab inopa rumwe ruzivo nezve iyo cbb raira yekushandisa mutsara pawebhusaiti yavo. Zvinyorwa hazvina kunyatsotsanangurwa hazvo. Zvakadaro, zvichibva pane izvo uye nemimwe miedzo uye zvikanganiso, heino maitiro andinoita setup cbb kubva pamutsetse wekuraira pane yangu system.

Chinhu chekutanga iwe chaunofanira kuita usati wagona kushandisa cbb kutora uye kumisikidza yako kiyi rezinesi.

itsfoss:~# cd /opt/local/CloudBerry Backup/bin
itsfoss:.../CloudBerry Backup/bin# ./cbb activatelicense -h
CloudBerry Backup Command Line Interface started
activateLicense -e Email < <-k License key | -t LicenseType >  [-or | -oa ActivationKey] > | -free <-un userName | -oa ActivationKey> >
    -e Email           : Email for license activation
    -k License key     : Key for license activation
    -t License type    : Request trial license. Possible values: pro, ultimate
    -free              : Request free license
    -un userName       : User name to register free license
    -or                : Generate offline license request. Email & key are required. Request should be send via email to [email protected]
    -oa ActivationKey  : Offline license activation key. You should receive this key via email in response to offline request, or free license registration.

Iyo inline rubatsiro, pamwe nezvakanyorwa zviri pamutemo zvataurwa pamusoro, tsanangura maitiro aunogona kukumbira zvakananga rezinesi kubva ku cbb raira yekushandisa turu. Kana ndiri ini, ndato gamuchira kiyi yelayisensi neemail. Saka ini ndaifanira chete kuisa iro rezinesi:

# Use your own license key instead of the X's below:
itsfoss:.../CloudBerry Backup/bin# ./cbb activatelicense 
                                         -k "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"

CloudBerry Backup Command Line Interface started
Success

Mhando dzekuchengetedza

Kubva nhasi, iyo Linux vhezheni yeCloudberry Backup inongotsigira faira-chikamu backups. Izvi zvinoreva kuti haugone kuchengetedza rese disks block ne block, asi chete mafaera nemaforodha awakatsanangura. Mune mamwe mazwi, iwe unogona chete backup yakamisikidzwa partition / diski, uye iwe haugone backup asiri-FS zvikamu. Asi kune vazhinji vashandisi, iyi haizove iri nyaya. Bvisa zvigadzirwa zvekuchengetedza zviripo mu Windows mhando. Asi parizvino paLinux zvakanakisa zvaunogona kutarisira mbishi block zvishandiso zvingave kuedza kutsigira inoenderana / dev kupinda. Asi ini handina kuyedza izvo, saka ini handina kana chokwadi chekuti izvi zvinoshanda, uye haugone kugadzira incremental or kusiyanisa backup ye diski nenzira iyoyo. Nekudaro, kana iwe uine rumwe ruzivo pane iwo musoro wenyaya, usazeze kugovana izvo uchishandisa chikamu chemashoko pazasi.

CloudBerry Backup yekushandisa

Kuti ushande neCloudBerry Backup iwe unofanirwa kunzwisisa maviri akakosha mazano:

  • nhoroondo
  • uye zvirongwa

"Akaunti" izita rakajairika rakapihwa muCloudberry Backup yebasa rekuchengetedza (faira system nzvimbo, an Amazon S3 or Google Cloud Kuchengetedza bhaketi,…). Iwe unofanirwa kumisikidza imwechete "account" usati wagona kuita backup / kudzorera mashandiro.

"Zano" ndeyekuchengetedza / kudzoreredza zano, kutsanangura chii, riini uye sei backup kana kudzoreredza data rako. Zano rega rega rinofanirwa kuverengerwa neayo imwe chete "account".

Kugadzira nzvimbo yekuchengetera Nhoroondo

Saka chinhu chekutanga kuita usati wakwanisa kuita chero backup ndeyekugadzira iyo Nhoroondo. Kutanga, ini ndaishandisa "File system" account. Iyo inzvimbo yemuno yakachengetedzwa nzvimbo. Mune yangu kesi, yaive yechipiri (chaiyo) diski yakaiswa pamusoro /backup

itsfoss:.../CloudBerry Backup/bin# ./cbb addAccount 
                                         -st FileSystem 
                                         -d "Local Backup" 
                                         -c "/backup"
CloudBerry Backup Command Line Interface started
Success

Kuumba a negadziriro yeparutivi

Tevere, ndinofanira kugadzira negadziriro yeparutivi. Iyo yegadziriro yekuchengetedza ichajekesa iwo akasiyana siyana ezve chiitiko chekuchengetedza backup. Kusanganisira tarisiro uye chirongwa.

itsfoss:.../CloudBerry Backup/bin# ./cbb addBackupPlan 
                   -n "NFS files" 
                   -a "Local Backup" 
                   -f /srv/nfs 
 -bef -es no 
                   -every day -at "22:56"
CloudBerry Backup Command Line Interface started
Success
  • -n "NFS files" ndiro (rinomiririra) zita rerongwa hwekuchengetedza
  • -a "Local Backup" izita reakaundi rakagadzirwa pamusoro uye iro richabatana nechirongwa ichocho.
  • -f /srv/nfs iro dhairekitori randinoda kusevha. Unogona kudoma akati wandei -f sarudzo muhurongwa hwakafanana hwekuchengetedza, kamwe chete kune yega faira kana dhairekitori muti waunoda kuchengetedza.
  • -bef isarudzo yekuchengetedza mafaira asina chinhu.
  • -es no iyi yainetsa kunzwisisa: sekureva kwenyaya yandaive nayo pakunyora chinyorwa ichi, yainge yajairwa kwete kusanganisa mafaera ehurongwa. Asi- uye izvi zvinofanirwa kugadziriswa parizvino muzvinyorwa- kana iwe ukaisa -es to yes (kukosha kwayo kusiri kwayo) chirongwa ichi chinobvisa mafaera akavanzwa pamwe chete negadziriro yeparutivi. Izvi zvinoreva kuti mafaera / maforodha ane zita riri kutanga neine doti haingave aripo mukuchengetedza. Asi na -es no vacha.
  • -every day -at "22:56" runotsanangudza.

Uye na22: 56 zuva iro… iyo backup yatotanga. Uye mushure menguva refu, refu, YEMAHARA maminetsi iyo backup yapedza.

Mushure meizvozvo, ini ndaitarisira kuwana imwe hombe yekuchengetedza faira mu / backup folda. Asi zviripo, iyo CloudBerry backup inotaridzika se kopi yakapusa yemuti wekutanga:

itsfoss:.../CloudBerry Backup/bin# find /backup | head
/backup
/backup/lost+found
/backup/CBB_itsfoss
/backup/CBB_itsfoss/srv
/backup/CBB_itsfoss/srv/nfs
/backup/CBB_itsfoss/srv/nfs/sample
/backup/CBB_itsfoss/srv/nfs/sample/gcc-4.6.3

Asi zvinhu zvishoma zvishoma zvakavanzika. Muchokwadi mune iyo backup, yega yega faira inotsiviwa nedhairekitori ine akasiyana mavhezheni efaira sekuburitswa kwakasiyana mabackups.

Ndakaongorora izvo nekugadzirisa faira uye nesimba rekutanga zvekare backup:

# Create a dummy file and start a backup
itsfoss:.../CloudBerry Backup/bin# echo hello > /srv/nfs/some_file
itsfoss:.../CloudBerry Backup/bin# ./cbb plan -r "NFS files"
CloudBerry Backup Command Line Interface started
Success

# Wait for completion, then alter the file, and restart the backup
itsfoss:.../CloudBerry Backup/bin# echo world > /srv/nfs/some_file
itsfoss:.../CloudBerry Backup/bin# ./cbb plan -r "NFS files"
CloudBerry Backup Command Line Interface started
Success

Zvakakodzera kutaurwa pano mabhakitiriya aya akatora nguva shoma yekupedzisa kupfuura yekutanga nekuti CloudBerry Backup yakangoteedzera mafaira akachinjwa. Uye zvirokwazvo, ndine izvozvi maBhaibheri maviri anowanikwa mu /backup dhairekitori, imwe neimwe ichibatanidzwa neye yakapihwa timestamp.

itsfoss:.../CloudBerry Backup/bin# find /backup/CBB_itsfoss/srv/nfs/some_file: -type f
/backup/CBB_itsfoss/srv/nfs/some_file:/20170730220336/some_file
world
/backup/CBB_itsfoss/srv/nfs/some_file:/20170730215602/some_file
hello

Dzosera backup

Kutora huchenjeri hwakakurumbira, “Haudi chirongwa chekuchengetedza, asi chirongwa chekudzorera, kusanganisira kuyedzwa”. Nekudaro, ini ndinokukurudzira zvakanyanya kuti uedze sarudzo dzakasiyana dzekupora dzakapihwa neCloudBerry Backup.

Kungofanana neyekuchengetedza, usati wamhanya kudzoreredza chiito, unofanirwa kugadzira "kudzoreredza chirongwa". Ino nguva, uchishandisa iyo addRestorePlan raira. Heano akati wandei misiyano inogona kuitika:

itsfoss:.../CloudBerry Backup/bin# ./cbb addRestorePlan 
                                         -n "Restore Missing" 
                                         -a "Local Backup" 
                                         -f /srv/nfs 
                                         -se yes 
                                         -ol yes

Mazhinji esarudzo dzemirairo anorangarira iwo eiyo addBackupPlan raira. Asi pamusoro pezvo, iwe uchawana pano:

  • The -se sarudzo, yaishandiswa kusvetuka mafaira aripo kana uchidzosera data.
  • And the -ol mureza unoshandiswa kudzorera data munzvimbo yavo yepakutanga.
itsfoss:.../CloudBerry Backup/bin# ./cbb addRestorePlan 
                                         -n "Restore All" 
                                         -a "Local Backup" 
                                         -f /srv/nfs 
                                         -se no 
                                         -ol yes

Mukusiyana kwechipiri uku, ini ndakaisa -se to no ku… ASI kusvetuka mafaira aripo. Mukuita, izvi zvinonyora pasi mafaera ese munzvimbo dzawo nemumwe wavo mu backup.

itsfoss:.../CloudBerry Backup/bin# ./cbb addRestorePlan 
                                         -n "Restore At" 
                                         -a "Local Backup" 
                                         -rt PointInTime 
                                         -pointintime "30.07.2017 22:00" 
                                         -f /srv/nfs 
                                         -se no 
                                         -ol yes

Sekusiyana kwechitatu, iwe unogona zvakare kudzorera iyo data sezvaivepo pane yakapihwa zuva. Nezve izvo, iwe unofanirwa kushandisa iyo PointInTime mode (iyo default modhi iri yekudzosera yazvino data). Ehezve, iwo anongova mashoma mienzaniso. Mibatanidzwa yese inogoneka. Kusanganisira akaronga kudzorera mashandiro. Asi ini ndinozvisiya izvo kuzviedza zvako pachako.

Parizvino, ngatiedzei uye muenzanise zvinhu zvitatu zviri pamusoro:

# My "Restore Missing" plan will restore deleted files
itsfoss:.../CloudBerry Backup/bin# rm /srv/nfs/some_file
itsfoss:.../CloudBerry Backup/bin# ./cbb plan -r "Restore Missing"
# Wait for completion
itsfoss:.../CloudBerry Backup/bin# cat /srv/nfs/some_file
world
# My "Restore Missing" plan will NOT overwrite existing files
itsfoss:.../CloudBerry Backup/bin# echo modified > /srv/nfs/some_file
itsfoss:.../CloudBerry Backup/bin# ./cbb plan -r "Restore Missing"
# Wait for completion
itsfoss:.../CloudBerry Backup/bin# cat /srv/nfs/some_file
modified
# My "Restore All" plan will happily overwrite all modified files
# by the latest version available in the backup
itsfoss:.../CloudBerry Backup/bin# ./cbb plan -r "Restore All"CloudBerry Backup Command Line Interface started
# Wait for completion
itsfoss:.../CloudBerry Backup/bin# cat /srv/nfs/some_file
world
# My "Restore At" plan will happily overwrite all modified files
# by the version available at the "Point in Time"
itsfoss:.../CloudBerry Backup/bin# ./cbb plan -r "Restore At"
CloudBerry Backup Command Line Interface started
Success
# Wait for completion
itsfoss:.../CloudBerry Backup/bin# cat /srv/nfs/some_file
hello

Encryption

Parizvino, ini ndaishandisa chete akajeka-mameseji backups. Ino yave nguva yekutarisa kunyorera kunyorera kwechishandiso. Kungofanana nekumanikidza, kunyorera kunongowanikwa chete kubhadhara vashandisi. Uye haigone kushandiswa nerusununguko rwechishandiso.

Kushandisa encryption harisi basa rakawanda pane kungo wedzera iyo -ea uye -ep sarudzo paunenge uchigadzira iyo backup system:

itsfoss:.../CloudBerry Backup/bin# ./cbb addBackupPlan 
                                         -n "Backup Encrypted" 
                                         -a "Local Backup" 
                                         -f /srv/nfs 
                                         -ea AES_256 -ep [email protected]
CloudBerry Backup Command Line Interface started
Success

itsfoss:.../CloudBerry Backup/bin# ./cbb getPlanDetails 
                                         -n "Backup Encrypted"
CloudBerry Backup Command Line Interface started
Name                 : Backup Encrypted
Type                 : Backup
ID                   : {9c00b94c-03b1-4a4b-818a-73abd0eb44e9}
Destination ID       : {1137a608-94bd-48a2-ad0b-018c0e6965e5}
Destination name     : Local Backup
Backup items:
    /srv/nfs
Compress             : false
Exclude system folders: true
Encryption           : true
Encryption algorithm : AES_256
Schedule             : Not specified

itsfoss:.../CloudBerry Backup/bin# ./cbb plan -r "Backup Encrypted"

Iine encryption inogoneswa, CloudBerry Backup inozvibata zvakanyanya zvakafanana, asi pachinzvimbo chekuchengetedza iyo yakajeka data faira mune ye backup dhairekitori, inochengeta iyo faira yezvinyorwa ichishandisa imwe yepamutemo bhainari fomati. Izvo zvirimo mumafaira hazvinyatso kujekesa zvinyorwa, asi sezvo ini ndisina mukana weiyo yepasi fomati fomati, zvinonetsa kutaura kana yakanyatso nyorwa seAES_256 sekukumbira kwandakaita ini, kana ndeipi chaiyo nzira yakashandiswa (EBC, CTC, CTR,…)

Ini ndaizove nechivimbo, sezvo iyo cbbWorker yakabatana ne libcrypto.so.1.0.0. Asi sezvo raibhurari yacho inotumirwa pamwe nechigadzirwa uye chigadzirwa chakavharwa sosi, ini handigone kutaura chokwadi.

Zvese zvandinogona kutaura idata inooneka kuverengerwa sezvo mafaera anokonzeresa ane entropy padyo padyo nemasere masere pamabheti:

# Create 1MB file full of NUL bytes
itsfoss:.../CloudBerry Backup/bin# dd if=/dev/zero 
                                      of=/srv/nfs/_zero 
                                      bs=1M count=1
# Perform an encrypted backup
itsfoss:.../CloudBerry Backup/bin# ./cbb plan -r "Backup Encrypted"
# wait, wait, wait until completion, then check ciphertext entropy:
itsfoss:.../CloudBerry Backup/bin# ent /backup/CBB_itsfoss/srv/nfs/_zero:/20170731133530/_zero
Entropy = 7.999839 bits per byte.

Kugadzira chirongwa chekudzoreredza chakavharirwa backups chiri nyore, nekuti iwe unofanirwa kungo wedzera iyo -ep sarudzo yekutsanangura password.

Izvo zvakatomboita zvakapusa, ini ndakatora iwo mukana kusuma akati wandei dzimwe sarudzo mumuenzaniso unotevera:

  • -f /srv/nfs/_zero dzosera iyo chete faira
  • -ol no -de /tmp/ dzosera mu /tmp/ kwete panzvimbo yepakutanga
itsfoss:.../CloudBerry Backup/bin# ./cbb addRestorePlan 
                                         -n "Restore Encrypted" 
                                         -a "Local Backup" 
                                         -f /srv/nfs/_zero 
                                         -se no 
                                         -ep [email protected] 
                                         -ol no -de /tmp/
CloudBerry Backup Command Line Interface started
Success

itsfoss:.../CloudBerry Backup/bin# ./cbb plan -r "Restore Encrypted"
CloudBerry Backup Command Line Interface started
Success
# Wait for completion
itsfoss:.../CloudBerry Backup/bin# diff -s /tmp/_zero /srv/nfs/_zero
Files /tmp/_zero and /srv/nfs/_zero are identical

Kushandisa gore kuchengetedza

Kusvika parizvino, ini ndaishanda chete nema backups emuno. Asi iro chairo simba reCloudberry Backup ndiko kusangana kwayo nemhando dzakasiyana siyana dzevachengeti vegore:

itsfoss:.../CloudBerry Backup/bin# ./cbb addAccount
CloudBerry Backup Command Line Interface started
addAccount -st StorageType
     -st storageType: for more info select one storage type
         storageTypes:
           - AmazonS3
           - AmazonS3Chinese
           - S3Compatible
           - CenturyLink
           - Cloudian
           - DreamObjects
           - Scality
           - ThinkOn
           - Verizon
           - Wasabi
           - Azure
           - Openstack
           - HPCloud
           - HPHelion
           - Rackspace
           - OracleCloud
           - SoftLayer
           - Google
           - BackBlaze
           - FileSystem
     -h show help

Kune ichi chinyorwa, ini ndaishandisa Google Cloud Kuchengetedza account:

itsfoss:.../CloudBerry Backup/bin# ./cbb addAccount 
                                         -d "Google Account" 
                                         -st Google 
                                         -ac 'GOOG0123456789012345' 
                                         -sk 'ABCD+01234567890123456789012345678901234' 
                                         -c '69065e24-761d-11e7-ac42-738017d4f6c6' 
                                         -ssl
CloudBerry Backup Command Line Interface started
Success

Mukugadzika ikoko: - -ac 'GOOG0123456789012345' yangu Google Storage "Inopindirana yekuchengetedza makiyi ekuwana", - -sk 'ABCD+01234567890123456789012345678901234' ndiyo kiyi yakavanzika yakabatana, - -c '69065e24-761d-11e7-ac42-738017d4f6c6' izita rebhaketi (ini ndaishandisa UUID yeizvozvo nekuti paGoogle mabhaketi mazita anofanirwa kuve akasarudzika pasi rose)

Kamwe izvozvo zvaitwa, kugadzira backup uye kudzoreredza chirongwa chiri chaizvo zvakafanana kana uchishandisa iyo yemuno faira system:

itsfoss:.../CloudBerry Backup/bin# ./cbb addBackupPlan 
                                         -n "Google Backup" 
                                         -a "Google Account" 
                                         -f /srv/nfs/sample/My Courses
CloudBerry Backup Command Line Interface started
Success

itsfoss:.../CloudBerry Backup/bin# ./cbb plan -r "Google Backup"
CloudBerry Backup Command Line Interface started
Success

Dzosera- pakombuta yakasiyana

Chekupedzisira, kupedzisa iko kushanya kweiyo CloudBerry Backup maficha, ini ndaida kuyedza zvakajairika mamiriro kana iwe uchifanira kupora mushure medambudziko: kudzoreredza data pane a siyana machine.

Nekudaro, pane yakachena uye ichangobva kugadzirwa system, ini ndakaisa imwe vhezheni yeCloudberry Backup. Asi ino nguva, ichave iri yemahara vhezheni. Izvi zvinoreva kuti ndinofanira kutanga ndatora kiyi yemahara:

yesik:.../CloudBerry Backup/bin# ./cbb activateLicense 
                                       -e "[email protected]" 
                                       -free 
                                       -un "Sylvain Leroux"
CloudBerry Backup Command Line Interface started
Success. Your registration key has been sent to the email address [email protected]

Uye zvirokwazvo, ini ndakagamuchira email uye ndokuteedzera-kunama kiyi yelayisensi pane iwo unotevera kuraira kumisikidza rezinesi:

# Of course, you will have to use your own key in the command below
# This one is just a fake example
yesik:.../CloudBerry Backup/bin# ./cbb activateLicense 
                                       -e "[email protected]" 
                                       -free 
                                       -oa 'ljLXMSocj5Gwx8IsmKxxXlHjIpeu6w4p/4akKOP75IVQLtaw8bOvioxLtOSAdzHtiSQUU6jvU5WS1eWaRp/2deiWMyWvvKrydahnF8yiM604GxR5s4gfR87edVmWsY0gVwK+J48Xx0ScQ8f+ou8e6wmwBK6+k+hj0lfRfC9Fzg4='
CloudBerry Backup Command Line Interface started
Success

Kutaura kubva ikozvino, mafambiro ebasa iri zvishoma zvakangofanana neiya yakashandiswa kudzoreredza dhata pane yekutanga host:

yesik:.../CloudBerry Backup/bin# ./cbb addAccount 
                                       -d "Google Account" 
                                       -st Google 
                                       -ac 'GOOG0123456789012345' 
                                       -sk 'ABCD+01234567890123456789012345678901234' 
                                       -c '69065e24-761d-11e7-ac42-738017d4f6c6' 
                                       -ssl
CloudBerry Backup Command Line Interface started
Success

yesik:.../CloudBerry Backup/bin# ./cbb addRestorePlan 
                                       -n "Google Restore" 
                                       -a "Google Account" 
                                       -f /srv 
                                       -sy yes 
                                       -ol yes
CloudBerry Backup Command Line Interface started
Success

The chete mutsauko ndiyo -sy yes sarudzo. Zvinoenderana nezvinyorwa, "Unofanirwa kuyananisa usati wadzoreredza kana iwe ukamisa chirongwa chekudzorera pakombuta chakasiyana neicho chawakasimudzira backup." Kune zvandainzwisisa, izvi hazvinei neiyo sync system yekufona asi iri pamusoro peCloudBerry Backup kuti ivandudze dhatabhesi yayo yemuno nedata rinowanikwa mune iri kure kuchengetedza (zvimwe pane iro dhatabhesi gare gare). Kana kuti ndakanganisa here? Kana zvakadaro, usazeza kusiya chirevo!

yesik:.../CloudBerry Backup/bin# ./cbb plan -r "Google Restore"
CloudBerry Backup Command Line Interface started
Success

Kana iwe ukamirira kusvika wapedza, unogona kutarisa backup ndiyo chaiyo replica yeiyo yekutanga folda uchishandisa inotevera ad-hoc yekuraira. Zviri kure nekuve wakakwana nekuti, semuenzaniso, haitarise mvumo yefaira. Asi zvakaringana kundipa chivimbo mafaera ese uye zvemukati zvadzoreredzwa:

yesik:.../CloudBerry Backup/bin# (cd /srv/nfs/sample/My Courses/ ; find . -print -type f -exec cat {} ;) | md5sum
273510dd43e0e631822d0c48b7f9bbf6  -

itsfoss:.../CloudBerry Backup/bin# (cd /srv/nfs/sample/My Courses/ ; find . -print -type f -exec cat {} ;) | md5sum
273510dd43e0e631822d0c48b7f9bbf6  -

Kubatanidza

Icho chiri chokwadi zvishoma kushomeka mune iyo Windows nyika uko CloudBerry Backup iri kutanga kubva. Asi Kupindirana chikamu chakakosha cheiyo nix uzivi.

Kubva pane zvandinoona, iyo yekuraira mutsara interface haina kupa yekunze / kutumira chinhu kune zvirongwa kana maakaundi. Kana kunanga kuwana kune iro dhi nhoroondo. Asi kuchine tariro kubvira nekuongorora iyo /opt/local/CloudBerry Backup/etc/config dhairekitori, iwe unozowana iwo marongero uye account marongero akachengetwa se XML mafaira.

Uye zvakare, iwe uchawana iyo cbbackup.db faira iri SQLite Dhatabhesi inofumura rumwe ruzivo, kunyanya nezve nhoroondo yekuchengetedza. Zvirokwazvo iyi ndiyo faira inofanirwa kuvandudzwa neCloudBerry Backup kana iwe uchidzorera pane imwe inomiririra (unorangarira iyo -sy yes sarudzo pamusoro?)

Handidi kukurudzira iwe kuti shandura iwo mafaera sezvo iwo asina kunyorwa. Asi zvirokwazvo, unogona verenga ivo. Uye ini ndaizoona iyo inobatsira kwazvo pakuongorora kana kuongorora chinangwa zvakanyanya.

Ndiani Cloudberry Lab?

Cloudberry Backup yakazara nezvinhu uye injinjini mandiri iri kunyengererwa. Uye pamwe newewo. Asi ndinoziva vamwe venyu muchafanira "kutengesa" iyo software kune avo manejimendi, saka ungangoda rumwe ruzivo nezve mupepeti waro.

Cloudberry Lab ndeye California-based software kambani, uye, maererano yavo LinkedIn peji, vanovavarira kupa "Gore-based backup uye faira manejimendi masevhisi kumabhizimusi madiki nepakati nepakati (SMBs)."

Cloudberry Lab yakavambwa muna2008 uye pakutanga yakanangisa iyo Windows nyika. Izvo chete muna Chikunguru 2015, yekutanga vhezheni yavo Cloud Berry Backup mhinduro yakaburitswa yeLinux neMacOS X. Izvi zvinoreva kuti panguva yekunyora uku, CloudBerry Backup yeLinux inongova nemakore maviri chete. Pasina mubvunzo software yacho icharamba ichichinja uye ichikura mumakore anotevera.

Maonero angu

Mushure meiyi bvunzo, ndinofanira kuti ndinofara kwazvo neCloudBerry Backup yeLinux. Ichi chinyorwa chaive chatove chakareba saka ini ndakanga ndisina nzvimbo yekuyedza graphical mushandisi interface. Asi zvakadaro, iwo-ekuraira-maturusi maturusi anokupa iwe kuzere kuwana kune maficha eiyo software, chimwe chinosungirwa kwandiri. Zvirokwazvo, iyo CLI inoratidza yayo Windows mavambo uye zvirokwazvo anogona kunge akagadzirirwa kuti ushandiswe zvirinani kubva kumakanda ezvinyorwa (c'mon, achiti "Kubudirira" mushure meumwe neumwe murairo isoooo Windowish 😉 Asi zvinoshanda. Uye iyo backup software pachayo inoita kunge yakavimbika kwazvo kusarudza mhinduro yekuchengetedza, zvirokwazvo CloudBerry Backup ingangove iri pakati pevamiriri vandaizofunga.

Kuzvidemba kwangu kukuru ndeyekuti software iri kuvharwa-sosi. Ini handizotonga sarudzo iyoyo sezvo ndichigona kunzwisisa kambani inoda kuchengetedza hunyanzvi hwayo. Asi zvingave zvakanaka kana zvirinani zvimwe zvikamu chechigadzirwa chaive chakavhurika-yakavhurwa kana kana iyo software yakapa imwe mhando yeAPI kune vanozvimiririra vanogadzira kuti vawedzere ecosystem yakatenderedza icho chigadzirwa. Semuenzaniso, ndine chokwadi chekuti kufamba kuri nyore kungadai kwakadzivirira dzimwe nyaya kana zvikwaniso zvandakasangana nazvo ndichishandisa iyo CLI uye zvaigona kuvandudza "scriptability" yese yechishandiso.

Asi ini handichanyunyuta. Inoramba iri chigadzirwa chikuru. Inoshandiswa zvizere kubva pamutsetse wekuraira uyezve kubva kuGraphical Mushandisi interface. Uye ini handingapedze chinyorwa ichi ndisina kutenda timu yekutsigira kuCloudberry Lab, uye kunyanya Sergey. Ndichiri kunyora ino ongororo ndakavhura boka rematikiti. Kwete ivo chete vakapindura mibvunzo yangu, asi vakaendesa meseji dzangu saka maHTML uye kunyangwe software yacho yainanikwa zvichipindura zvandaitaura. Zvese izvo mune isingasviki 48h. Dai chete tsigiro dzese dzaiteerera!

Seshoko rekupedzisira, rangarira kuti unogona kudhawunirodha, kuyedza, uye kutoshandisa- kana uchibvuma zvimwe zvausingakwanise - chigadzirwa chemahara. Saka, kana iwe uchiri kuzeza, ita izvozvo. Uye ndokumbirawo utaure mabhureki ako muchikamu chemashoko pazasi!

  • Ese ari maviri GUI uye CLI
  • Minimal dependencies
  • Inotsigira vazhinji vanochengeta gore vanopa
  • Yakanyanya kugadziriswa backup / kudzoreredza zvirongwa
  • Kunyatsoteerera rutsigiro
  • Yakavharwa sosi
  • Zvishoma zvinyorwa zveCLI maturusi
  • Yakavanzika faira fomati yezvinyorwa zvakavanzika

mabviro