|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2017-08-25 (10 months ago)||Not yet rated by the users||Total: 333 This week: 1||All time: 6,915 This week: 429|
|bbm 1.0.0||Custom (specified...||5||PHP 5, Files and Folders, Systems adm...|
This class can create a backup of a directory in an archive file.
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: firstname.lastname@example.org or simply use the PHPCLASSES forum dedicated to this package...
|licenseanddoc (3 files)|
|AbstractArchive.php||Class||auxilliary class source|
|class.Bf_Download.php||Class||auxilliary class source|
|function.gzip_stat.php||Aux.||auxilliary functions script|
|loadmyarchiver.php||Aux.||auxilliary script third party loader|
|LzwStreamWrapper.php||Class||auxilliary class source|
|PclZipLikeZipArchiveInterface.php||Class||auxilliary class source|
|PclZipOriginalInterface.php||Class||auxilliary class source|
|UnifiedArchive.php||Class||auxilliary class source|
|Version Control||Unique User Downloads||Download Rankings|