phpSambaSyncphpSambaSync is a PHP script that allows you to synchronize two directories for disaster-recovery purposes. | |
Download |
phpSambaSync Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- John M. Brown
- Publisher web site:
- http://projects.johnmarkbrown.com
phpSambaSync Tags
phpSambaSync Description
phpSambaSync is a PHP script that allows you to synchronize two directories for disaster-recovery purposes. phpSambaSync is a PHP script that allows you to synchronize two directories for disaster-recovery purposes.Have you ever wanted to synchronize two directories for disaster-recovery purposes? Well, maybe you haven't, but I have so I wrote this little script. It basically pulls all files from a Windows File Server and makes an identical copy. Upon re-running it deletes the removed files and adds any new ones. It also re-downloads any updated files to save the latest version. This is currently a ONE-WAY sync from the remote server to the local disk.HistoryI wrote this script to help with some disaster recovery plans for my own network. I have over 300GB of data that I simply wouldn't know what to do if I lost it. I've been watching Discovery Channel a bit too much I think with the "It takes a thief" show and I guess I just got paranoid. This isn't the best method, but in my situation I have a NAS device that shares data via CIFS (Windows File Sharing) and FTP and it basically a dumb server. On the client side I wanted to be able to put a server at on a remote location and have it sync once per day with the main server. This script is what I came up with. Requirements:· PHP5 or later (requires "php5-cli" package on Debian/Ubuntu) · smbclientInstallation:· Download the phpsambasync-v{version}.tar.gz file· Execute "tar -zxf phpsambasync-v{version}.tar.gz" to decompress it· Edit the settings in the "./phpsambasync/sync" script· Execute the "./phpsambasync/sync" script What's New in This Release:· One-way sync from remote server to local disk· Includes "ssh_tunnel" script for sync'ing remote servers· Initial release
phpSambaSync Related Software