8

Add maintenance mode to each website (GUI)


Avatar
arafatx

Add maintenance mode for individual websites in GUI or API based on what is discussed here:

forum.directadmin.com/threads/da-maintenance-mode.63461/

If this has an API, the benefit is that we can put the website in maintenance mode automatically using DA hookscript when doing admin_backup, then restore the maintenance mode to normal. This will ensure that the database will not corrupt when doing backup.

A

Activity Newest / Oldest

Avatar

arafatx

I always keep my eyes on this. Currently, I'm using my own solution but it does not work efficiently. Hope this feature is available. Now I realized that we also have a built-in feature called `suspend the user` from terminal. Basically, the suspended user is not able to access their own website and make changes. This is the main idea, where we can do a reliable backup on a suspended user that do nothing on websites. Because if he triggers a backup on a live server, it is too dangerous when he does restore later, sometimes the site can be broken due to incomplete database transactions during the backup. This feature is very important if it has API, so we can combine it together with DirectAdmin backup_user_pre and backup_user_post script! We also need maintenance mode for the control panel!


Avatar

arafatx

Please take the idea of `suspend user` in directadmin feature and make it as a maintenance mode feature for each domain!


Avatar

MAXIBI ICT

My old script broke when putting it into maintenance with the latest DA update. Tired of changing script can we have this feature available? WHen doing backup it is necessary to put the website into maintenance mode to prevent database integrity errors.