![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I have a newly installed postgresql-8.3 on a debian 4.0 machine. I installed it from backports.org. What is the best way to change the datadir from /var/lib/postgresql to, for example, /data/postgresql. |
#3
| |||
| |||
|
|
Hello, I have a newly installed postgresql-8.3 on a debian 4.0 machine. I installed it from backports.org. What is the best way to change the datadir from /var/lib/postgresql to, for example, /data/postgresql. |
#4
| |||
| |||
|
|
Hello, I have a newly installed postgresql-8.3 on a debian 4.0 machine. I installed it from backports.org. What is the best way to change the datadir from /var/lib/postgresql to, for example, /data/postgresql. |
#5
| |||
| |||
|
|
Hello, I have a newly installed postgresql-8.3 on a debian 4.0 machine. I installed it from backports.org. What is the best way to change the datadir from /var/lib/postgresql to, for example, /data/postgresql. |
#6
| |||
| |||
|
|
Hello, I have a newly installed postgresql-8.3 on a debian 4.0 machine. I installed it from backports.org. What is the best way to change the datadir from /var/lib/postgresql to, for example, /data/postgresql. |
#7
| |||
| |||
|
|
Hello, I have a newly installed postgresql-8.3 on a debian 4.0 machine. I installed it from backports.org. What is the best way to change the datadir from /var/lib/postgresql to, for example, /data/postgresql. |
#8
| |||
| |||
|
|
Hello, I have a newly installed postgresql-8.3 on a debian 4.0 machine. I installed it from backports.org. What is the best way to change the datadir from /var/lib/postgresql to, for example, /data/postgresql. |
#9
| |||
| |||
|
|
Hello, I have a newly installed postgresql-8.3 on a debian 4.0 machine. I installed it from backports.org. What is the best way to change the datadir from /var/lib/postgresql to, for example, /data/postgresql. |
#10
| |||
| |||
|
|
Andreas Kraftl <andreas.kraftl (AT) kraftl (DOT) at> wrote: What is the best way to change the datadir from /var/lib/postgresql to, for example, /data/postgresql. Stop the database, move the datadir to the new destination, change the data_directory - value in your postgresql.conf to the new value, start the server. |
![]() |
| Thread Tools | |
| Display Modes | |
| |