BackUps kubva kune terminal ne script muBash Shell

Musi waFebruary 14 ndiri linux.com chinyorwa che Simrat Pal Singh Khokhar, uko kwainopa script mu Bhash shell yekunyora kwake, iyo inotibvumidza isu kuita BackUp mune fomati

.tar.bz2

yechero dhairekitori iri mune yedu system.

Kunyange i chinyorwa Ndechinyakare, sezvo izvi zvakaburitswa munaKurume 13, 2009, ndinozviona zvichibatsira zvakanyanya mukushanda kwaro uye nyore kushandisa.

Kuti ushandise script, tevera matanho anotevera kune tsamba:

  1. Vhura gwaro idzva mu gedit kana in nano sezvaunoda.
  2. Kopa iyo yakazara script kodhi mune ino gwaro nyowani.
  3. Sevha script se
    mybackup.sh

    munzvimbo yaunoda mukati mechikwata chako (kunyanya mufaira rako pachako).

Iye zvino tava kuzopa mvumo yekuita script kuburikidza nemirairo inotevera (unofanira kutanga watsvaga pachako dhairekitori rine script):

chmod + x mybackup.sh

Nzira yekushandisa script ndeinotevera:

Kuita BackUp yedhairekitori kana faira kubva mukuita nenzira inotevera:

sh mybackup.sh [tsime] [kuenda]

Iko kupi sosi iri iyo chaiyo nzira yedhairekitori kana faira iwe raunoda kuchengetedza (semuenzaniso:

~/Documentos/Writer

)
Iko kuenda, ndiyo nzira iyo iwe yaunoda kuchengeta iyo BackUp (semuenzaniso:

~/Documentos

)

Cherechedza: Simrat anoti script inoziva nzira dzese dzakabatana, asi kwandiri nzira dzakazara chete dzakashanda.

Izvi zvinoguma nekugadzirwa kwefaira

.tar.bz2

nemhando yacho

"fuente_ddmmyyyy.x.tar.bz2"

Iye zvino kana iwe uchida kusunungura yakapfuura BackUp, iwe unofanirwa kumhanyisa script uye kudoma iyo faira

.tar.bz2

sosi uye dhairekitori kwaunoda kusunungura iyo faira sekuenda.

Pamusoro pezvo, chinyorwa ichi chinogona kushandiswa mukati Nautilus kugadzira BackUp nenzira iri nyore.


Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  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

      thalskarth akadaro

    Chokwadi chinotaurirwa, ini ndanga ndichingotsvaga chakadai. Ini ndinoiisa muCRON kuitira kuti iitwe yega yega X nguva uye ndizvozvo, ini handinetseke nezvenyaya =)

      Johani akadaro

    Ruzivo rwacho rwakanaka kwazvo asi iwe hauna kutsanangura mushure mezvose maitiro ekuita backup,
    1.Vhura gwaro idzva muGedit kana nano sezvaunoda.
    ► Kopa iyo yakazara script kodhi mune iyi nyowani gwaro.
    3.Chengetedza iyo script se

    chedu.sh

    yy! CHII CHINONZI KODHI? iwe wakandibatsira, pasina