Search Postgresql Archives

Re: Backup strategy

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

 



On Tue, 18 Jan 2005 22:31:43 +0000, Adam Witney <awitney@xxxxxxxxxxx> wrote:
> On 18/1/05 8:38 pm, "Lonni J Friedman" <netllama@xxxxxxxxx> wrote:
> 
> > On Tue, 18 Jan 2005 18:23:23 +0000, Adam Witney <awitney@xxxxxxxxxxx> wrote:
> >>
> >> Hi,
> >>
> >> I am setting up the backup strategy for my database.
> >>
> >> The database contains around 25 tables containing quite a lot of data that
> >> does not change very much (and when it does it is changed by me). And around
> >> 20 tables containing data which will be created and updated by the users
> >> regularly.
> >>
> >> I would like to backup the two sets of data separately at different
> >> intervals. The first set only when I update it and the second set several
> >> times per day.
> >>
> >> Would it be best to set up a separate schema for the "static" tables? If so
> >> what would be the simplest and safest way to transfer these tables into a
> >> new schema?
> >>
> >> Thanks for any help
> >
> > pg_dump allows you to backup individual tables.  Once you do that, you
> > could import them into a new database.
> 
> Would this take care of sequences and any other associated objects also?

I assume so, however I've honestly never backed up individual tables
in a production setting before.  Its always been an entire db for me. 
Unless someone else speaks up, you could prolly verify this on your
own on a test box.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama@xxxxxxxxx
LlamaLand                       http://netllama.linux-sxs.org

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux