andrisp Posted September 20, 2005 Report Share Posted September 20, 2005 nav mana kaste. ir hostinga kaste. 22694[/snapback] bet ja tur ir postgreSQL, tad tur visticamaak ir arii pg_dump, kursh visticamaak ir noraadiits PATH, tad tev atliek tikai ielogoties caur SSH serverii (piem., panjem Putty), un rakstiit komandshella pg_dump db > file, vai kaada nu tur vinjam sintakse. Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 un? 22695[/snapback] tas nozīmē, ka man nav jāuztraucas par unix serveriem un to konfigurācijām. Link to comment Share on other sites More sharing options...
Kristabs Posted September 20, 2005 Report Share Posted September 20, 2005 tad neuztraucies Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 bet ja tur ir postgreSQL, tad tur visticamaak ir arii pg_dump, kursh visticamaak ir noraadiits PATH, tad tev atliek tikai ielogoties caur SSH serverii (piem., panjem Putty), un rakstiit komandshella pg_dump db > file, vai kaada nu tur vinjam sintakse. 22696[/snapback] tagad jau ir biki skaidrāks. ar putty esmu strādājis. ko tu biji domājis ar to PATH? Link to comment Share on other sites More sharing options...
Delfins Posted September 20, 2005 Report Share Posted September 20, 2005 mmk, bet komandu tu tik un tā gribi izpildīt... !!!? pamēģini arī no PHP izsaukt, ja ļaus... exec('pg_dump dbname > file.out'); Link to comment Share on other sites More sharing options...
Delfins Posted September 20, 2005 Report Share Posted September 20, 2005 ar putty esmu strādājis. aha, ko nu stāsti... tik nesaki ka shell skriptus arī esi cepis... :) Link to comment Share on other sites More sharing options...
andrisp Posted September 20, 2005 Report Share Posted September 20, 2005 tagad jau ir biki skaidrāks. ar putty esmu strādājis.ko tu biji domājis ar to PATH? 22701[/snapback] nu apmeeram taa, ka tev nav jaaraksta celjs liidz programma shitaa /bla/ble/bli/pg_dump, bet vari no jebkuras vietas izsaukt pg_dump no jebkuras vietas. Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 aha, ko nu stāsti... tik nesaki ka shell skriptus arī esi cepis... :) 22707[/snapback] neesu, neesu! :) vienkaarshi esu lietojis putty, lai kopeetu failus uz servera. Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 mmk, bet komandu tu tik un tā gribi izpildīt... !!!? pamēģini arī no PHP izsaukt, ja ļaus... exec('pg_dump dbname > file.out'); 22702[/snapback] laikam neļauj. nepildās ne vella! :) Link to comment Share on other sites More sharing options...
andrisp Posted September 20, 2005 Report Share Posted September 20, 2005 bet ja tur ir postgreSQL, tad tur visticamaak ir arii pg_dump, kursh visticamaak ir noraadiits PATH, tad tev atliek tikai ielogoties caur SSH serverii (piem., panjem Putty), un rakstiit komandshella pg_dump db > file, vai kaada nu tur vinjam sintakse. 22696[/snapback] bet nu tu pameegjinaaji shitaa ? Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 bet nu tu pameegjinaaji shitaa ? 22712[/snapback] shitāds rezultāts: WinSCP: this is end-of-file:0 Link to comment Share on other sites More sharing options...
v3rb0 Posted September 20, 2005 Report Share Posted September 20, 2005 (edited) http://www.die.net/doc/linux/man/man1/pg_dump.1.html # pg_dump -U dbuser dbname > dbdump.sql Edited September 20, 2005 by v3rb0 Link to comment Share on other sites More sharing options...
mmk Posted September 20, 2005 Author Report Share Posted September 20, 2005 http://www.die.net/doc/linux/man/man1/pg_dump.1.html # pg_dump -U dbuser dbname > dbdump.sql 22715[/snapback] joprojām: WinSCP: this is end-of-file:0 varbūt tur nav nodefinēts PATH tai komandai? Link to comment Share on other sites More sharing options...
bubu 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 22717[/snapback] WinSCP: this is end-of-file:0 a ko šis msg nozīmē? Link to comment Share on other sites More sharing options...
Recommended Posts