public/wordpress/wp-content/plugins/backupbuddy/destinations/live/live_periodic.php
/* update_last_remote_snapshot_time()
	 *
	 * Updates the timestamp for when the last remote snapshot was triggered to begin.
	 *
	 * @return	bool	True on success, else false.
	 */
update_last_remote_snapshot_time()
Updates the timestamp for when the last remote snapshot was triggered to begin.

@return      bool    True on success, else false.
update_last_remote_snapshot_time () Updates the timestamp for when the last remote snapshot was triggered to begin . @return bool True on success else false .
public static function update_last_remote_snapshot_time( $snapshot_id = '', $snapshot_response = '' ) {
		if ( false === self::_load_state() ) {
			return false;
		}
		self::$_state['stats']['last_remote_snapshot'] = microtime( true );
		self::$_state['stats']['last_remote_snapshot_id'] = $snapshot_id;
		self::$_state['stats']['manual_snapshot'] = false; 
				if ( 0 == self::$_state['stats']['first_completion'] ) {
			self::$_state['stats']['first_completion'] = microtime( true );
		}
		self::$_stateObj->save();
		pb_backupbuddy::$options['last_backup_finish'] = time();
		pb_backupbuddy::save();
		pb_backupbuddy::status( 'details', 'Time since remote snapshot ran updated.' );
		return true;
	}
public static function update_last_remote_snapshot_time ( $ snapshot_id = '' , $ snapshot_response = '' ) { if ( false === self :: _load_state ( ) ) { return false ; } self :: $ _state [ 'stats' ] [ 'last_remote_snapshot' ] = microtime ( true ) ; self :: $ _state [ 'stats' ] [ 'last_remote_snapshot_id' ] = $ snapshot_id ; self :: $ _state [ 'stats' ] [ 'manual_snapshot' ] = false ; if ( 0 == self :: $ _state [ 'stats' ] [ 'first_completion' ] ) { self :: $ _state [ 'stats' ] [ 'first_completion' ] = microtime ( true ) ; } self :: $ _stateObj -> save ( ) ; pb_backupbuddy :: $ options [ 'last_backup_finish' ] = time ( ) ; pb_backupbuddy :: save ( ) ; pb_backupbuddy :: status ( 'details' , 'Time since remote snapshot ran updated.' ) ; return true ; }
update_last_remote_snapshot_time()
 Updates the timestamp for when the last remote snapshot was triggered to begin.
update_last_remote_snapshot_time () Updates the timestamp for when the last remote snapshot was triggered to begin .
// Set false no matter what. // First snapshot?
 //$body = "Your first BackupBuddy Stash Live backup process has completed. Your first Snapshot has been placed in your BackupBuddy Stash storage < https://sync.ithemes.com >. From now on, we'll automatically backup any changes you make to your site.\n\nYour site is well on its way to a secure future in the safe hands of BackupBuddy Stash Live."; //wp_mail( get_option('admin_email'), __( 'Your first Live Backup is complete!', 'it-l10n-backupbuddy' ), $body, 'From: BackupBuddy <' . get_option('admin_email') . ">\r\n".'Reply-To: '.get_option('admin_email')."\r\n"); // Save state. // Save BB core options to record last successful backup.