home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / ingres / 1942 < prev    next >
Encoding:
Text File  |  1992-11-19  |  2.4 KB  |  54 lines

  1. Newsgroups: comp.databases.ingres
  2. Path: sparky!uunet!gatech!ncar!uchinews!gsbacd.uchicago.edu!cs_mj
  3. From: cs_mj@gsbacd.uchicago.edu (Mark Jaeger)
  4. Subject: Re: What is the best method to backup Ingres DataBase ?
  5. Message-ID: <1992Nov19.135831.1@gsbacd.uchicago.edu>
  6. Lines: 42
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Organization:     
  9. References: <C324A32A7A7F2003B9@ichcmns.cmns.mnegri.it> <Bxyx9r.LtA@umassd.edu>
  10. Date: Thu, 19 Nov 1992 19:58:31 GMT
  11.  
  12. In article <C324A32A7A7F2003B9@ichcmns.cmns.mnegri.it>,
  13. OLIVIERI@ICHCMNS.CMNS.MNEGRI.IT (Marco Olivieri) writes:
  14.  
  15. >> What is the best method to backup Ingres DataBase ?
  16. >>
  17. >> We work with microVax 3600, VMS 5.5-1 & 6.4/01 (vax.vms/01) and SUN/UNIX.
  18. >> Now the System Manager of the VAX does not BACKUP ingres DataBase,and I do the
  19. >> CHECKPOINT on tape (TK70 - I checkpoint only 3 small DataBase) but not for all
  20. >> DataBase, now I would like to change the Backup Method, in order to obtain a
  21. >> total security for data.
  22.  
  23. In article <Bxyx9r.LtA@umassd.edu>, ctremblay@UMASSD.EDU (Claire
  24. Tremblay) writes:
  25.  
  26. > I've been using the COPYDB instruction.  This instuction produces 2 SQL
  27. > scripts: 1) to copy the data out, 2) to allow the data to be copied back
  28. > into the database along with the supporting views and grants.
  29.  
  30. If you do it this way, then you'll probably want to invoke the copy.out
  31. script with the "-l" switch on the "sql" command.  This will ensure that
  32. you have a an exclusive lock on the database before you start copying
  33. the data, and hence that no one will be changing it while you're
  34. copying.
  35.  
  36. Unfortunately this does not give you the journaling capability that
  37. "ckpdb" does.  With journaling, you can recover a database to the state
  38. it was in right up to the time that something awful happened to it (disk
  39. failed, some dodo dropped a critical table or deleted all the data in
  40. it, etc.).  If you have a lot of update activity on the database (we
  41. do), then this can save your users a _lot_ of work.
  42.  
  43. Also, "ckpdb" gives you much faster recovery since it uses standard OS
  44. backup commands (tar, cpio, VMS backup, etc.) to do the work.  Using
  45. a copy.in script to repopulate a database can take orders of magnitude
  46. longer.
  47.  
  48. --Mark Jaeger                internet: cs_mj@gsbvax.uchicago.edu
  49. Graduate School of Business        yellnet:  (312) 702-0328
  50. University of Chicago            faxnet:   (312) 702-0233
  51. Disclaimer: My opinions are my own and not those of my employer.
  52. Ich bin ein Virus.  Mach' mit und kopiere mich in Deine .signature.
  53.  
  54.