Simple incremental backup script written on php