Received: from mailc.telia.com (mailc.telia.com [194.22.190.4]) by hub.org (8.10.1/8.10.1) with ESMTP id e86JMCB41233 for ; Wed, 6 Sep 2000 15:22:12 -0400 (EDT) Received: from dilbert (h5n1fls21o908.telia.com [213.64.152.5]) by mailc.telia.com (8.9.3/8.9.3) with SMTP id VAA21570 for ; Wed, 6 Sep 2000 21:22:02 +0200 (CEST) From: Gunnar Lindholm Reply-To: gunix@telia.com To: pgsql-admin@postgresql.org Subject: Backup done by newbie Date: Wed, 6 Sep 2000 20:41:44 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00090621212200.00289@dilbert> Content-Transfer-Encoding: 8bit X-Archive-Number: 200009/11 Hello. I wonder if there is anyone who has administrated a "real" database that could tell me something about backup of the database, what tools to use, how to acctually do the backup, what backup hardware to use, and so on. The reason for asking this is that I might have to do a backup on a database soon, and the only idea I have right now is to dump the database and make a tar backup of the dumped data. The database is not that big, It's about 500k lines in the dump, that's about <20MB of data I guess. (The real problem here is probably that it's running on a totaly undocumented informix database from the 80's. I'll try to switch to postgres some day...) So, how would you guys do it? I'm quite interested in how you do it on a big database. I mean, just to dump this database took me more than 2 hours, (the hardware is a x86 running at 300MHz with 64MB Ram and IDE discs, so it would probably go alot faster with some "real" hardware), but what should I do when I get 20/2*24*7=1,7 GB of data (not to unrealistic though), i.e. it would take a week just to dump the database? Could it be possible to just make a snapshot of the database on weekends and during the weeks, just doing "incremental backup" i.e. log the transactions? I would be very happy if you would like share your experience. Gunnar.