Current location: Hot Scripts Forums » Programming Languages » Perl » Backup Certain folders automatically to FTP server


Backup Certain folders automatically to FTP server

Reply
  #1 (permalink)  
Old 08-26-05, 02:03 PM
blasto333 blasto333 is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Backup Certain folders automatically to FTP server

I am running Mac OS X 10.4 and I would like to pick certain folders and archive them, then upload them to an ftp server every night at 4am. Is this possible?

Chris Muench
__________________
E-Mail:blasto333@Mac.com
AIM:blasto333
Reply With Quote
  #2 (permalink)  
Old 09-04-05, 12:56 AM
Chas Chas is offline
Coding Addict
 
Join Date: Oct 2003
Location: California
Posts: 359
Thanks: 0
Thanked 0 Times in 0 Posts
You can certainly do it in Perl but I have a feeling that there are applications out there that do this already and do it better.

If your set on doing it in Perl then you can look into the Net::FTP[1] module or just script a bunch if system commands together to get it done.

I ran across Bacula[2] the other night and it looks quite interesting. If it doesn't support FTP out of the box you may be able to use it to create the archives and then just script the FTP part.

~Charlie

[1] http://search.cpan.org/~gbarr/libnet/Net/FTP.pm
[2] http://www.bacula.org/
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy files from remote server to local server without using ftp connection... ajay007_bond PHP 5 06-15-05 10:35 PM
Backup script for remote server meek PHP 1 02-06-05 06:24 PM
move files around an ftp server, with php file upload script? wapchimp PHP 2 12-19-04 07:27 AM
What FTP Server Uses mySQL DataBase 2 Store Users? Derek PHP 0 11-20-04 03:57 AM
open text file from a server ftp Deadlock Perl 2 10-26-04 04:45 AM


All times are GMT -5. The time now is 04:04 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.