Backup - Restore

Discussion in 'Mail Gateway: Installation and configuration' started by spearox, Aug 2, 2018.

  1. spearox

    spearox Member

    Joined:
    Jun 6, 2013
    Messages:
    73
    Likes Received:
    1
    Hello!

    I would like to ask about backup and restore. If i use the pmgbackup command I get a full backup?
    Spam learn database too? So if I have a fully running mailgw and I would like to reinstall I can use it and I don't lose anything along with spam learn db etc?

    Thanks.
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,121
    Likes Received:
    263
    No, backup just stores configuration and statics.
     
  3. spearox

    spearox Member

    Joined:
    Jun 6, 2013
    Messages:
    73
    Likes Received:
    1
    And how can I backup everything? What I need to save and restore?
     
  4. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,121
    Likes Received:
    263
    IMHO configuration and statistic is all you need. Anyways, if you want to store anything you can use any unix backup tool.
     
  5. heutger

    heutger Active Member

    Joined:
    Apr 25, 2018
    Messages:
    204
    Likes Received:
    61
    You can find in my advancing PMG thread a backup script with ftp sync, I wrote. I tried to include PMG backup as well as all paths, I believe, which are necessary (for sure additional the ones of my adjustments as well). However, to have a really full backup, you should use a backup tool or if you're running PMG in a manageable environment (not on a dedicated hardware but any kind of virtualization), use the virtualization backup.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice