For this part I haven't nothing, 'cause I have three machine. I take archives in one to put in another, 2nd one, for this I use a perl script. Then I want to take the periodic backup and put this in the same dir with the archives that came from 1st machine. Then I'll make a tar of this dir and put in the 3rd machine. I just make an experience using "find -mtime", but is not what I looking for.
$ftp = Net::FTP->new($ftp_server1, Passive => 1) or die "unable to connect: $@\n";
$ftp->login($ftp_uid1, $ftp_pw1) or die "unable to login: $@\n";
$ftp->cwd($ftp_dir) or die "Cannot change working directory ", $ftp->message;
$ftp->get($ftp_file1) or die "Cannot list directory ", $ftp->message;
$ftp->get($ftp_file2) or die "Cannot list directory ", $ftp->message;
Last edited by nelovicov; 01-17-2012 at 01:56 PM.