Dobry den vazeni,
mal by som otazku.
Potreboval by som cez PHP urobit zalohu SQL databazy a potom urobit aj moznost obnovy zo zalohy.
Viem, ze na to existuju queries BACKUP TABLE a RESTORE TABLE, ale neviem ako to spojazdnit.
Zatial som to skusal takto, ale ocividne to nefunguje...
MySQL_connect($adresa_serveru,$uzivatel_meno,$db_heslo);
MySQL_select_db($nazov_db) or die("You entered incorrect MYSQL values. Go back and check the values.");
$sql = "BACKUP TABLE clanky TO \"./backup/\"";
$result = mysql_query($sql);
|