<?xml version="1.0" encoding="utf-8"?>
<install version="1.5" type="plugin" group="system">
	<name>LazyBackup</name>
	<author>GranholmCMS.com</author>
	<creationDate>8 April 2008</creationDate>
	<copyright>This component is released under the GNU/GPL License</copyright>
	<authorEmail>stefangranholm@gmail.com</authorEmail>
	<authorUrl>http://www.granholmcms.com</authorUrl>
	<version>1.3</version>
	<description>When activated this plugin will perform a daily mysql backup and email it to your preferred email address. DONT touch options you dont know what do ! Now, go to plugins, put in your email and publish the plugin.</description>
	<files>
		<filename plugin="lazybackup">lazybackup.php</filename>
		<filename plugin="lazybackup">lazybackup/mysql_db_backup.class.php</filename>
	</files> 
	<params>
		<param name="compress" type="radio" default="1" label="Compress backup file?" description="Set this to No to receive the backup file as a plain text file">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>
		<param name="drop_tables" type="radio" default="1" label="Add DROP TABLE IF EXISTS " description="Add DROP TABLE IF EXISTS queries before CREATE TABLE in backup file">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>
		<param name="create_tables" type="radio" default="1" label="Table structure" description="Table structure will not be backed up if set to No">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>
		<param name="struct_only" type="radio" default="0" label="Only structure" description="Only structure of the tables will be backed up if Yes">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>
		<param name="locks" type="radio" default="0" label="Add LOCK TABLES" description="Add LOCK TABLES before data backup and UNLOCK TABLES after">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>
		<param name="comments" type="radio" default="1" label="Include comments" description="Include comments in backup file if Yes">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>
		<param name="xdays" type="text" default="1" size="3" label="Backup every x days" description="Run LazyBackup every x day after the last backup" />
		<param name="recipient" type="text" default="" size="40" label="To Email address" description="Email address to send the backup file to. Leave empty to send to the system default email address. Specify multiple addresses by separating them with a comma, fx mail1@mail1.com, mail2@mail2.com" />
		<param name="subject" type="text" default="Database backup" size="40" label="Subject" description="" />
		<param name="body" type="text" default="You database is attached in this mail. Lazybackup can be fetched from www.granholmcms.com for free " size="40" label="Body" description="" />
		<param name="backuppath" type="text" default="" size="40" label="Backup path" description="By default this script saves backups to the /media folder. You may define an alternative path, preferable above the root of your www server. You must enter the absolute path to the backup folder in this field for this to work. There is NO support to get on using this option." />
	</params>
</install>