473,387 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Do we need more emphasis on backup?

I'm wondering if there's some basic failing in how we're presenting
backing up the database on a regular basis.

Maybe even our reputation for reliability hurts a bit here. I'm sure if
PostgreSQL corrupted files all the time or had some other data
reliability problem people would backup religiously.

Now, the SQL documentation set has a tutorial that proceeds it that
really is a great walk through on the features of PostgreSQL, and I was
wondering if we needed an administrative walk through in a similar vein?

It could include load generation scripts written in Perl or PHP or
something like that to populate and exercise the database for
demonstration purposes.

It would include creating, populating, backing up, deleting, and
restoring a database to simulate a catastrophic failure, etc...

With things like tablespaces coming online, more and more administrative
functions are in danger of being road blocks for the beginner if.

I'd be willing to start it on the wiki site if anyone thinks it's a good
idea. Any ideas welcome. I plan on following the basic administrative
guide, just creating a tutorial analog for it.
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #1
3 1186
"Scott Marlowe" <sm******@qwest.net> writes:
I'm wondering if there's some basic failing in how we're presenting
backing up the database on a regular basis. Maybe even our reputation for reliability hurts a bit here.
I have definitely noticed that a very large percentage of the data-loss
problems we've seen reported lately seem to trace to hardware problems.
Postgres is more reliable than consumer-grade PC hardware. (And is that
ever a change from when I started working with it ... but I digress.)

We do need to point out that you're only as reliable as your last
backup. I'm not sure exactly where to say this.
Now, the SQL documentation set has a tutorial that proceeds it that
really is a great walk through on the features of PostgreSQL, and I was
wondering if we needed an administrative walk through in a similar vein? It could include load generation scripts written in Perl or PHP or
something like that to populate and exercise the database for
demonstration purposes.


Hm, that seems a bit far afield from the problem...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #2
Tom Lane <tg*@sss.pgh.pa.us> wrote:
[snip]
We do need to point out that you're only as reliable as your last
backup. I'm not sure exactly where to say this. [snip]


Hmph. Backups are for mitigation against a catastrophic failure
destroying or corrupting main storage. And even then: Subtle errors
can induce data corruption that may go un-noticed until it's too late.
(I.e.: The last correct backups have been over-written, retired, so
old they've become unreadable, so old the data's no longer useful,
etc.)

My position is that your data is only as reliable as your hardware,
period. Use cheap (usually PC, sorry) hardware and, well... I wonder
how many people are aware of the fact that the cheaper PCs don't even
have parity memory anymore? Then there are the issues with IDE
drives. (Don't recall those, exactly - don't use 'em.)

One of the other mailing lists I'm on: The project developer, whenever
somebody comes on list and says "Your code is blowing up, losing stuff,
corrupting stuff," or whatever, first asks "What hardware are you
running?" IIRC, he gives short shrift to complainants running
inexpensive PC hardware. He won't spend any time on the complaint
until they prove it's *not* their hardware.

Jim

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #3
Jim Seymour wrote:
Tom Lane <tg*@sss.pgh.pa.us> wrote:

[snip]

We do need to point out that you're only as reliable as your last
backup. I'm not sure exactly where to say this.

[snip]


Hmph. Backups are for mitigation against a catastrophic failure
destroying or corrupting main storage. And even then: Subtle errors
can induce data corruption that may go un-noticed until it's too late.
(I.e.: The last correct backups have been over-written, retired, so
old they've become unreadable, so old the data's no longer useful,
etc.)

My position is that your data is only as reliable as your hardware,
period. Use cheap (usually PC, sorry) hardware and, well... I wonder
how many people are aware of the fact that the cheaper PCs don't even
have parity memory anymore? Then there are the issues with IDE
drives. (Don't recall those, exactly - don't use 'em.)


There is a basic misconception that all PC hardware is created equal ---
that hard drives, mother boards, and RAM are all the same because they
are all PC-compatible. Compatible != Similar Quality.

Not sure where we would document this. :-(

Running BSD, I have always had to buy server-class hardware for my home
machines, and I never regretted it nor had a problem.

--
Bruce Momjian | http://candle.pha.pa.us
pg***@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: John Smith | last post by:
Hi I am currently reviewing our backup procedures. Part of the issue has been finding the right fit. There are obviously backup products that provide mysql agents but unfortunately can not for...
13
by: EggsAckley | last post by:
Hi: I have a file that I have been told is a SQL Server backup from a server somewhere. The file is about 200MB in size I am trying to create the database on my local server using RESTORE. I...
236
by: Andrew Rawnsley | last post by:
Anyone out there using beta 2 in production situations? Comments on stability? I am rolling out a project in the next 4 weeks, and really don't want to go though an upgrade soon after its released...
1
by: alex | last post by:
Hi ! I couldn't make backups with our new system using db2 8.2. Every time I trigger a backup I get this error message: BACKUP DATABASE EBUERO2 ONLINE TO "/raid/backup/ebuero2/part1",...
3
by: ChrisWinterscheid | last post by:
We are running DB2 8.1 on AIX 5.2. DB2level shows: DB21085I Instance "db2inst1" uses "32" bits and DB2 code release "SQL08016" with level identifier "02070106". Informational tokens are "DB2...
22
by: macAWM | last post by:
Hi list, First let me explain that my background is in Java and I am quite spoiled to its niceties (read "less ambiguous nature"). Anyway to my problems. 1. I want to write my own library for...
5
by: HSP | last post by:
hi. i need to restore an old database. The db was backed up using a DLT drive, using 2 volumes. The content for the tapes was copied to file onto Solaris machine using rsh and dd (for backup...
9
by: laststubborn | last post by:
Dear All, We have a big concern in our Database system. We have 2000 transactions daily in our database. We need to replicate some how the database for our fail over setup. I tried transactional...
5
by: smoi | last post by:
Hi all, My manager ask me to do backup for 3 database and restore them in a new server. I did the backup for the 3 database into BAK file. Then in the new server, when I did the restore in SQL...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.