[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: chicken and egg (now: backuping DBMSs)



Eli Marmor <marmor@elmar.co.il> wrote:

>  Speaking about backuping, and also about databases like MySQL (in
>  another linux-il thread), let me ask you (you=linux-il subscribers)
>  to share your experience with backuping file-systems which include
>  running databases. I know that there are special backup methods for
>  databases. Do you use them? 

You can run a DB's dump utility (like pg_dump of Postgres) redirecting its
output to a file (probably piped through gzip or bzip2). Do it from cron some
minutes before the backup is started.

>   Are there special backup tools (e.g.
>  BRU2000, etc.) which support databases and/or even know how to speak
>  with them so backups can be done during normal running of the
>  database?

Yes, there are special backup programs that can do it (not BRU, though) - but
none that can work with a non-commercial DB, AFAIK.

>    And is there any way to backup databases incrementally?
>  Imagine a database of many megabytes, with some records modified
>  daily; It is not acceptable that the whole database should be copied
>  daily, and there must be a better way...

Do you really have _that_ large databases? If we're talking about something
within ~ 100MB, I wouldn't bother - backup drives are fast and media are
cheap nowadays...

Regards,

Evgeny


--
   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-934-3610  == | == FAX   : (972)8-934-3491 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny/  |  |
 |  Finger for PGP key >=====================================+  | 
 |______________________________________________________________| 

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il