phpSambaSync is a PHP software solution designed to sync two directories for disaster-recovery intentions. It is a reliable and efficient script.
With phpSambaSync, you get an easy-to-use sync script that pulls all files from a Windows File Server and creates an exact replica on another location. When running the script again, it deletes the removed files and adds new ones while also re-downloading any updated files. Please keep in mind that this is currently a one-way sync from the remote server to the local disk.
The history behind phpSambaSync is rooted in the author's experience with network data management. Being responsible for over 300GB of data, they felt the need to create a backup and recovery plan to ensure that the data remains accessible even in the face of disaster.
To use phpSambaSync, you need PHP5 or later (which requires "php5-cli" package on Debian/Ubuntu) and smbclient. These requirements are easy to meet, and the installation process is simple. All you need to do is download the phpsambasync-v{version}.tar.gz file, decompress it by executing "tar -zxf phpsambasync-v{version}.tar.gz" and then edit the settings in the "./phpsambasync/sync" script. After that, you can execute the "./phpsambasync/sync" script to sync the two directories.
The latest version of phpSambaSync includes a one-way sync from the remote server to the local disk and "ssh_tunnel" script for syncing remote servers. This program is easy to use and can save you from disaster in the long run. Overall, phpSambaSync is a valuable tool for those looking to create simple backup and recovery plans.
Version 0.1.0: N/A