Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    Backup automatizzato DB MySQL.

    Ho installato MySQL 5 su di un serverino domestico. Sopra vi gira un database di un server di gioco. Come posso fare a far si che tutte le mattine, alle 5.30, il pc faccia un backup o su di un altro hd o sul mio dominio web?
    Grazie mille.
    www.nicolacasini.com

  2. #2

  3. #3
    Tutto perfetto, ma ho solo una domanda, da profano di DB. Il DB è relativo ad un server di gioco on-line, quindi ha centinaia di accessi al minuto. Tra queste opzioni:
    http://dev.mysql.com/doc/administrat...on-method.html
    qual'è quella che permette di non fermare il database mentre si esegue il backup, in modo da non far piantare il gameserver? Cioè, c'è un'opzione cha lavora mentre si sta accedendo al database?
    Grazie.
    www.nicolacasini.com

  4. #4
    Normal Backup will lock each table individually when performing the backup. While this can have less impact on the actions of users during the backup operation, these is a potential for tables to be backed up in an inconsistent state in relation to one another. This method is not recommended unless the risk of inconsistency is minimal.
    Questo.
    Tuttavia se il db fa largo uso di tabelle relazionate sei costretto a bloccare il db durante il backup con l'opzione

    Lock all tables will cause all tables within the backup to be locked simultaneously to prevent writing. This will prevent users from writing to the tables during the backup operation and will ensure that the tables are in a consistent state. This option is recommended for MyISAM tables.
    o rischieresti backiup incongruenti.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.