This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
how_to:restore_a_backup_of_vpop3 [2014/07/07 12:51] – [Version 5 or later] paul | how_to:restore_a_backup_of_vpop3 [2016/06/30 09:42] – [Version 2.6 or earlier] paul | ||
---|---|---|---|
Line 11: | Line 11: | ||
- Open a command prompt, and go to the VPOP3 directory | - Open a command prompt, and go to the VPOP3 directory | ||
- If you are restoring the backup over an existing VPOP3 database (especially if the database files are damaged) you will need to //DROP// the database first. To do this, run **pgsql\bin\dropdb -U postgres -p <port number> vpop3**. When it prompts for the password enter the PostgreSQL master password - default **pgsqlpass**. (<port number> is usually 5433) | - If you are restoring the backup over an existing VPOP3 database (especially if the database files are damaged) you will need to //DROP// the database first. To do this, run **pgsql\bin\dropdb -U postgres -p <port number> vpop3**. When it prompts for the password enter the PostgreSQL master password - default **pgsqlpass**. (<port number> is usually 5433) | ||
- | - Run **pgsql\bin\pg_restore -U postgres -p <port number> -C -d postgres DBBACK-< | + | - Run **pgsql\bin\pg_restore -U postgres -p <port number> |
- Start VPOP3 | - Start VPOP3 | ||
Line 47: | Line 47: | ||
- copy the '' | - copy the '' | ||
- restart The' | - restart The' | ||
- | =====Version 2.6 or earlier===== | + | Other articles: |
- | To restore a backup of VPOP3, | + | |
- | - If VPOP3 is already installed, make sure VPOP3 is shut down before starting the restore process | + | - [[https:// |
- | - Restore the files you made when you [[backup VPOP3|backed up VPOP3]] | + | |
- | - Restore | + | |
- | - Reinstall VPOP3 into the location where you restored VPOP3. | + | |
{{tag> | {{tag> |