From: | Ian Harding <harding(dot)ian(at)gmail(dot)com> |
---|---|
To: | John R Pierce <pierce(at)hogranch(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Extraneous Files |
Date: | 2011-10-20 19:32:18 |
Message-ID: | CAMR4UwGEeZVjw+u+cZrh1-BkvWO-p3UTWWkPkB5y_jHwVqBo-Q@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Well, they are actually streaming replication slaves, and I boogered
up the rsync command, so there they are. I diffed the directories
from the master to the slave, and think I will go ahead and delete all
the files that don't appear in both places and see what happens.
Worst case, I have to set them back up again. No big deal...
Thanks!
- Ian
On Thu, Oct 20, 2011 at 12:24 PM, John R Pierce <pierce(at)hogranch(dot)com> wrote:
> On 10/20/11 12:14 PM, Karsten Hilbert wrote:
>>
>> Well, Ian isn't talking about removing data. What he was
>> asking (I believe) is how to remove from the data directory
>> files which got nothing to do with the database in question
>> (but probably look like database files because, say, someone
>> copied*another* database into the directory ;-)
>
> pg_dumpall
> stop postgres
> save the .conf files
> wipe $PGDATA
> initdb
> restore the .conf files
> restart postgres
> restore the dumpall
>
> --
> john r pierce N 37, W 122
> santa cruz ca mid-left coast
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2011-10-20 19:33:12 | Re: Reading PG data from MySQL stored procedure |
Previous Message | John R Pierce | 2011-10-20 19:24:40 | Re: Extraneous Files |