List of scripts

Examples of scripts usage


func_getlastbackup (by id) – get last backup basing on id

func_getlastbackup (by creation time) – get last backup basing on creation time property

func_cmp2dates – compare dates in format “jan/01/1970”

func_date2int – convert date in format “jan/01/1970” to int to allow dates comparing

func_time2int – convert time in format “HH:MM:SS: to seconds to allow time comparing

func_datetime2str – get date/time in “YYYY-MM-DD_HHMMSS” format


Backuping

Step 1. Generate backup.

Step 2. Try send via Mail

Step 3. Try send via FTP

Step 4. Create backups log and send it via Mail

Full backup script v1.4 (not sends backups via mail)