🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #6511

Re: MySQL

#6511
From: Alvaro G. Vicario
Date: Fri, 13 Jun 2003 14:25
29 lines
2144 bytes
"Jes�s M. NAVARRO" <jesus_navarro@undominio.net> escribi� en el mensaje
news:j28ir-el9.ln1@mithrandir.intranet...
> > Se hace una copia diaria de los archivos de datos, lo cual incluye lo
que
> > cuelga de /var/lib/mysql/. �Es una mala pr�ctica? �Es m�s recomendable
> > usar las propias utilidades de MySQL?
>
> Es poner dinamita cerca del fuego.  Si est� cerrada y no saltan chispas,
no
> pasa nada...

He estado mirando el comando mysqldump que me sugeriste y parece muy f�cil
de usar. De lo que no estoy muy seguro es de qu� opciones debo poner
exactamente para garantizar la integridad del backup. La �nica vez que se
menciona "flush" en la ayuda es acerca de los logs (�?). �Estar� bien as�
simplemente?:

    # mysqldump --all-databases --flush-logs > /tmp/backup.sql

�Necesito alguna de estas opciones?

 -F|--flush-logs
         Flush logs file in server before starting dump.

-l|--lock-tables
        Lock all tables for read.

Perd�n por ser tan pelma pero es que ya que me pongo me gustar�a hacerlo
bien <:-)
Technical Details
Message-ID: <bccmsj$hgc7j$1@ID-157797.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!10.red-80-37-15.pooles.rima-tde.NET!not-for-mail
References: <bc45pv$f2shf$1@ID-157797.news.dfncis.de> <7e7hr-qgl.ln1@mithrandir.intranet> <bc52n0$fdgfh$1@ID-157797.news.dfncis.de> <j28ir-el9.ln1@mithrandir.intranet>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,950b6fc3ccf51558
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-06-13 07:25:25 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!10.red-80-37-15.pooles.rima-tde.NET!not-for-mail
From: "Alvaro G. Vicario" <alvaro.QUITAR_REMOVE@telecomputeronline.net>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: MySQL
Date: Fri, 13 Jun 2003 16:25:22 +0200
Lines: 31
Message-ID: <bccmsj$hgc7j$1@ID-157797.news.dfncis.de>
References: <bc45pv$f2shf$1@ID-157797.news.dfncis.de> <7e7hr-qgl.ln1@mithrandir.intranet> <bc52n0$fdgfh$1@ID-157797.news.dfncis.de> <j28ir-el9.ln1@mithrandir.intranet>
NNTP-Posting-Host: 10.red-80-37-15.pooles.rima-tde.net (80.37.15.10)
X-Trace: fu-berlin.de 1055514323 18362611 80.37.15.10 (16 [157797])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165