|
1 | | -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.16 2001/10/01 17:46:46 momjian Exp $ --> |
| 1 | +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/backup.sgml,v 2.17 2001/10/04 04:46:43 momjian Exp $ --> |
2 | 2 | <chapter id="backup"> |
3 | 3 | <title>Backup and Restore</title> |
4 | 4 |
|
@@ -369,7 +369,7 @@ tar -cf backup.tar /usr/local/pgsql/data |
369 | 369 | change between releases of <productname>Postgres</>. This does not |
370 | 370 | apply to different <quote>patch levels</quote>, these always have |
371 | 371 | compatible storage formats. For example, releases 7.0.1, 7.1.2, and |
372 | | - 7.2 are not compatible, whereas7.1.2 and7.1.1 are. When you |
| 372 | + 7.2 are not compatible, whereas&version;.1 and&version;.2 are. When you |
373 | 373 | update between compatible versions, then you can simply reuse the |
374 | 374 | data area in disk by the new executables. Otherwise you need to |
375 | 375 | <quote>back up</> your data and <quote>restore</> it on the new |
@@ -409,7 +409,7 @@ pg_dumpall -p 5432 | psql -d template1 -p 6543 |
409 | 409 | pg_dumpall > backup |
410 | 410 | pg_ctl stop |
411 | 411 | mv /usr/local/pgsql /usr/local/pgsql.old |
412 | | -cd /usr/src/postgresql-7.2 |
| 412 | +cd /usr/src/postgresql-&version; |
413 | 413 | gmake install |
414 | 414 | initdb -D /usr/local/pgsql/data |
415 | 415 | postmaster -D /usr/local/pgsql/data |
|