SHELL MODE
==========

To use phpMyBackupPro you need to have it installed like described in INSTALL.

Then you can use the script like this:

php backup.php db1,db2,db3 1 0 0 1 path1,path2

The first argument has to contain all databases you want to backup. They must be separated by commas.
The second argument specifies whether tables should be backuped (1) or not (0).
The third argument specifies whether data should be backuped (1) or not (0).
The fourth argument specifies whether the backup should contain 'drop table ...' (1) or not (0).
The fifth argument specifies whether the backup should be gziped (1) or not (0).
The sixth argument can contain the directory pathes you want to backup. They must be separated by commas.
FTP must be enabled in 'configuraton' to use the directory backup function!

All arguments but the first are optional.
But if you want to use e.g. the fifth argument, you have scpecify all before!

Examples:
php backup.php db1 1 0 1
ill backup table structure of db1 and will ad 'drop table ...' but will not save the date or compress it.

php backup.php db1,db2 1 1 1 1 folder1/,../../folder2/,../folder3/folder4/
will backup db1 and db2 with data and structure, will add 'drop table ...' and will gzip the backups.
Also the files in the directories folder1, folder2 and folder 4 will be saved to the FTP server.
The files in folder3 will NOT be saved! 
