Limit number of backups

Discussion in 'General' started by buhler, Sep 17, 2024.

  1. buhler

    buhler Member

    Good morning,
    In the backup settings you can keep up to 30 days of backup.
    This takes up a lot of disk space.
    How can I limit it to a maximum of 3 days?
    Even if it's directly in the ispconfig source code?
    Thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The only way to do this is through a code change. /usr/local/ispconfig/interface/web/sites/form/web_vhost_domain.tform.php line 713, change it to:

    Code:
    'value'  => array('1' => '1', '2' => '2', '3' => '3')
     
  3. buhler

    buhler Member

    I'll change it.
    The backups that were supposed to take up to 30 gibabytes are now taking up more than 200 gibabytes.

    Thank you.
     

Share This Page