Softaculous


Topic : Any way to prevent staging backups / have them expire?


Posted By: drjlm on January 21, 2020, 7:09 pm
Hi,

I'm currently using Softaculous to push between a staging and production Wordpress environment.

As the website is under heavy development, I'm pushing to live two or three times per day at the moment.

Softaculous automatically generates a backup of the production environment as the first step of the backup process.

These files are quite heavy - a couple of gigabytes - and my server has a storage limit.

Is there any way of limiting the number of backups / having them automatically expire - or would this have to be done by scripting?

Posted By: Brijesh on January 23, 2020, 9:37 am | Post: 1
Hi,

If you have root access to the server you can edit the following setting :
$globals['off_push_to_live_backup'] = '';
to
$globals['off_push_to_live_backup'] = 1;
in the following file :
/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/universal.php

If this setting does not exist please add it before $globals['ampps_path']

Once this setting is saved no backups will be created before Pushing the site to live.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.