Was this page helpful?

Backup

     

    Backup preparation

    Make sure you have enough space on your hard drive :-)

    run df

    Backup the actual DB

    Backup is simple pg_dump in Custom PostgreSQL format. You can generate the dump file using:

    mirage backup-db

    When server runs more application servers, you can backup all databases using:

    mirage for-all backup-db

    The output of this script is name of the dump file. Backup of all databases are stored in:

    /var/lib/asp/backup/db

    Please make sure you backup the whole /var/lib/asp/backup directory to some external repository.

    Application Server Backup

    Application server binaries are backup using the mirage script:

    mirage backup-asp

    The resulting backup of application server binaries is stored:

    /var/lib/asp/backup/asp

    Documents / Mail backup

    All binary data (documents, original e-mails, contact pictures, etc.) are stored in:

    /var/lib/asp/instance/XY/data

    Please make sure you backup this folder using (for instance) rsync or rdiff backup tool to some external repository.

    rdiff manual

    Next version:

    http://rdiff-backup.nongnu.org/examples.html

    Restore Backup

    all DB is in PostgreSQL v. 5.4.

    name of documents are saved in tab doc_library

    Was this page helpful?
    Tag page (Edit tags)
    Page statistics
    495 view(s), 5 edit(s), and 1861 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments