Databases

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Moving data to another disk

    0 answers - 792 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I want to move the data directory to another disk and mantain the
    config files in the same place. I will change the data_directory
    parameter in postgresql.conf.
    I could just copy everything under /var/lib/pgsql/data to the other
    disk but I also want to clean the diretory now used thus I need to
    know for sure what files/directories are data.
    I have read the 50.1 section of the postgres manual.
    I suppose all directories under /var/lib/pgsql/data are data
    directories and i guess the postmaster.opts, postmaster.pid and
    PG_VERSIN files should stay in the config directory and obviously the
    *.conf files are config files. Am i right?
    Regards, Clodoaldo
    (end of broadcast)
    TIP 3: Have you checked our extensive FAQ?

Re: Moving data to another disk


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "Databases"

EMSDN.COM