Backups and Websites

Discussion in 'Server Operation' started by creiss, Nov 24, 2022.

Tags:
  1. creiss

    creiss New Member

    Hey folks,
    very quick question regarding backups. The gist is working using BorgBackup and remote NFS share. So that's good. But..

    1. All my Websites are backup disabled. Is there a way to enable backups for all sites? (Daily, incremental, keep 30).
    2. Is there an option to enable backups by default for new websites?

    That's it :)
    -Chris.
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    You can change this by changing the values of the columns backup_interval and backup_copies on the table web_domain in the ISPConfig database (usually dbispconfig).
    backup_interval would be "daily" (without quotation marks) and backup_copies would be "30" (without quotation marks).

    Yes, just change the default value of those 2 columns I mentioned before in the database.
     
  3. creiss

    creiss New Member

    Thank you for your reply.
    And sorry for my late one. First Covid, then the flu. We had it all.

    Ouch.

    Worked like a charm. But this seems like this should be done via the gui, imho.
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Agreed that more, if not all, values should be configurable through the UI.
     

Share This Page