Edgewall Software

Changes between Version 29 and Version 30 of TracBackup


Ignore:
Timestamp:
Jan 12, 2015, 3:28:22 AM (9 years ago)
Author:
Ryan J Ollos
Comment:

Document restore of PostgreSQL. Refs #10529.

Legend:

Unmodified
Added
Removed
Modified
  • TracBackup

    v29 v30  
    2323To restore an environment from a backup, stop the process running Trac, ie the Web server or [wiki:TracStandalone tracd], restore the contents of your backup (path/to/backupdir) to your [wiki:TracEnvironment project environment] directory and restart the service.
    2424
     25To restore a PostgreSQL database backup, use the command:
     26{{{#!sh
     27psql -U <user> -d <database> -f postgresql.dump
     28}}}
     29The `<database>` option is the same as the [TracEnvironment#DatabaseConnectionStrings database connection string] in the `[trac]` `database` option of //trac.ini//.
     30
    2531----
    2632See also: TracAdmin, TracEnvironment, TracGuide, [trac:TracMigrate TracMigrate]