phpSambaSync 0.1.0

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.

History

I 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)
smbclient

Installation:

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

last updated on:
February 14th, 2008, 11:51 GMT
price:
FREE!
developed by:
John M. Brown
license type:
GPL (GNU General Public License) 
category:
ROOT \ Communications \ Filesharing

FREE!

In a hurry? Add it to your Download Basket!

user rating 14

UNRATED
2.3/5
 

0/5

Add your review!

SUBMIT