PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of zinsou A.A.E.Mo´se  >  Big Backup maker  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: readme
Class: Big Backup maker
Create backup of a directory in an archive file
Author: By
Last change:
Date: 1 year ago
Size: 2,386 bytes


Class file image Download
Package for reading a directory structure and backup the chosen types of  files and folders 
in another directory or in compressed archive to be automatically downloaded.
This package can take the path of a folder and rebuild the hierachy of subfolders and copy all the chosen files in another folder
or in a compressed archive to be downloaded without time limitation or folder size limitation and without touching the PHP INI configurations like
max_execution_time or memory_limit.

When you want to make a big size backup you can't exactly know how many time it will take so you can't just set a time like 9999 seconds and be sure that 
your folder with a size up to 1 giga and more will effectively be saved as you except.Now you can even if the max time is lower and the memory limit 
is the default size without worries make very large size backup.

See some how to use examples in the examples folder.

examples for  compress  and download are compressmaker.php and tocompress.php
examples for backup in a specified folder are archivemaker.php and copyfile.php
some other examples to simply show what else the package can do are in the file othersimpletests.php

the class declaration,methods, and properties  are well documented in comments in the class source BigBackupMaker.class.php
The package also used two excellent third party packages found in the PHPCLASSES REPOSITORY and already included(so no need to download):
BF_DOWNLOAD(binary files download) and UNIFIED-ARCHIVE(thanks to these authors for their perfect work...).
You can therefore use all of the features of these two packages without the main classes:

so you could read and extract archive or even create provided that you read the documentation... 
you could also serve files for download supporting resume and speed limitation...

The package itself is based on the precious package	CDIR of Hannesd found too in the PHPCLASSES REPOSITORY(Thanks to him for his precious works that inspired me)...

keep in mind that the package only take care of the steps of files copy so it will be judicious to set your time at least at 60 seconds
that will be sufficient in the most of case for rebuilding the folders hierachy

For bug reporting,feedback and improvement please feel free to contact me at: or simply use the PHPCLASSES forum dedicated to this package...