Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Any way to prevent staging backups / have them expire?



Threaded Mode | Print  

 Any way to prevent staging backups / have them expire? (1 Replies, Read 1375 times)
drjlm
Group: Member
Post Group: Newbie
Posts: 5
Status:
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?
IP: --   

Any way to prevent staging backups / have them expire?
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5640
Status:
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
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 1:24 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.024