mmk Posted September 20, 2005 Report Share Posted September 20, 2005 tātad, lasu manuāli, lai veiktu dumpu ir jāraksta komanda: pg_dump dbname > outfile outfile vietā faila nosaukums. tur vēl ir rakstīts, ka es to mierīgi varu veikt no jebkuras vietas ar remote connection.. kā tas īsti ir veicams? kur tā komanda ir jāraksta? kvērijs tas tak nav, ne? MySQL laikam ir kaut kas ļoti līdzīgs. Link to comment Share on other sites More sharing options...
Delfins Posted September 20, 2005 Report Share Posted September 20, 2005 pg_dump --help Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 pg_dump --help 22676[/snapback] ok, uz lokālās kārba (Win) es shito visu varu palaist caur CMD. a kā uz remote hostinga kastes? tur laikam ir freebsd. Link to comment Share on other sites More sharing options...
Delfins Posted September 20, 2005 Report Share Posted September 20, 2005 a kā uz remote hostinga kastes? tur laikam ir freebsd. nav svarīgi kas tur stāv.. ir svarīgi zināt kas tev ir pieejams. FTP? SSH? Telnet? PHP? Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 nav svarīgi kas tur stāv.. ir svarīgi zināt kas tev ir pieejams. FTP? SSH? Telnet? PHP? 22680[/snapback] SSH un PHP. Link to comment Share on other sites More sharing options...
Delfins Posted September 20, 2005 Report Share Posted September 20, 2005 konektē uz SSH un ar ārdies ar pg_dump kā līdz šim... Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 konektē uz SSH un ar ārdies ar pg_dump kā līdz šim... 22683[/snapback] tb, ar pg_dump no lokaalaas kaarbas caur SSH piekonekteeties pie remote kastes un tad veikt dumpus, ja? Link to comment Share on other sites More sharing options...
andrisp Posted September 20, 2005 Report Share Posted September 20, 2005 tb, ar pg_dump no lokaalaas kaarbas caur SSH piekonekteeties pie remote kastes un tad veikt dumpus, ja? 22684[/snapback] Delfins domaaja, piekonekteeties ar ssh serverim, un tad, ja tev ir pg_dump tuulis tur, tad darboties ar to taapat kaa tu darbojies lokaali ar cmd. Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 Delfins domaaja, piekonekteeties ar ssh serverim, un tad, ja tev ir pg_dump tuulis tur, tad darboties ar to taapat kaa tu darbojies lokaali ar cmd. 22685[/snapback] hmm, kas ir pg_dump tūlis? <_< Link to comment Share on other sites More sharing options...
Delfins Posted September 20, 2005 Report Share Posted September 20, 2005 hmm, kas ir pg_dump tūlis? <_< skaties savu pormo postu! Link to comment Share on other sites More sharing options...
Kristabs Posted September 20, 2005 Report Share Posted September 20, 2005 nu izpildaamais fails pg_dump, uztver vinju kaa tuuli, aplikaaciju, waewa. Iekonekteejies uz ssh uz taa servera. un raksti /celsh/uz/pg/diru/pg_dump dbname > outfile.sql Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 nu izpildaamais fails pg_dump, uztver vinju kaa tuuli, aplikaaciju, waewa. Iekonekteejies uz ssh uz taa servera. un raksti /celsh/uz/pg/diru/pg_dump dbname > outfile.sql 22688[/snapback] vopshem tam pg_dump failam ir jābūt uz servera? Link to comment Share on other sites More sharing options...
Kristabs Posted September 20, 2005 Report Share Posted September 20, 2005 nu tu dod... Tev uz taas serverkastes ir uzinstaleets postgresql ? Ja ir (+ ja pats buutu instaleejis, tad noteikti zinaatu), tad meklee kur tas atrodas, piemeeram, /usr/db/pgsql/bin/pg_dump . Meklee ar locate pg_dump. Un vispaar apguusti unix like pamatus, pamatkomandas un ideju, un tad turpini ar sho taalaak. Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 nu tu dod... Tev uz taas serverkastes ir uzinstaleets postgresql ? Ja ir (+ ja pats buutu instaleejis, tad noteikti zinaatu), tad meklee kur tas atrodas, piemeeram, /usr/db/pgsql/bin/pg_dump . Meklee ar locate pg_dump. Un vispaar apguusti unix like pamatus, pamatkomandas un ideju, un tad turpini ar sho taalaak. 22693[/snapback] nav mana kaste. ir hostinga kaste. Link to comment Share on other sites More sharing options...
Kristabs Posted September 20, 2005 Report Share Posted September 20, 2005 un? Link to comment Share on other sites More sharing options...
Recommended Posts