LiveWhale

Configuring backups

How to limit backup creation to a specified date and time range.

By default, backups are saved for 30 days. You can adjust this duration to whatever length of time you wish.

Open the LiveWhale public client config (/livewhale/client/public.config.php) using an FTP client or via the command line.

Set a TTL duration (in seconds):

$_LW->CONFIG[‘BACKUPS_TTL’]=259200;

Automatic database backups can also be restricted to a specified time range if desired.

Open the LiveWhale public client config (/livewhale/client/public.config.php) using an FTP client or via the command line.

Set a start and end time:

$_LW->CONFIG[‘BACKUPS_SCHEDULE_START’]=’12:00am’;

$_LW->CONFIG[‘BACKUPS_SCHEDULE_END’]=’4:00am’;

Note: Do not use this feature unless you have first added the scheduler to an hourly cron job, or else backups may never be triggered during your time frame!

Need more help? We’re here for you! If this document doesn’t address your question, or if you’d just like to know more, please send an email to support@livewhale.com and we’ll get back to you with more information!