David Jourard wrote: > Hi, > > I've been asked to write a remote backup utility using ftp. > > Basically they want to be able to backup those files which have changed > in date since the last backup (or size.) > > Has anyone done this before. > > I had 2 ideas: > > a. customize net::ftp and use a mysql database on the client for the dates.
You can just use a mirror script that uses Net::FTP and checks the date of local vs remote file. If the remote date is newer (or a different size) than the local date, FTP a copy to local tree. MDTM needs to be supported by your remote FTP server. > versus: > > b. use an NT archiving program like pkzip (any better suggestions?) to > archive changed files then use net::ftp to download the zip files. > > On NT what program replaces a crontab. I was thinking of running a > scheduled perl job to do the archiving which interfaces with pkzip. -- ,-/- __ _ _ $Bill Luebkert ICQ=14439852 (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl) -/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/ _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
