Home | How it works | Projects archive | Contact Us
Air Compressor Bot
 
The Career Path of Freelance Programming Jobs 

   Rsync Problem

Bidding Time:
03/12/2004 23:23 - 10/12/2004 23:23
Budget:
N/A
Status:
Closed


Job Type:
Script Installation
Description:



at the moment we rsync everything on our main drive over to a mount called
/backup each night.
using the following rsync commands in a cron file
Please no that I have had to remove the semi colons from the code to submit it
here at script lance
#!/usr/bin/perl
my $src = "/"
my $dest = "/backup/image/"
my $logdir = "/backup/logs/rsyncs"
my $exclude = "/backup/"
my $date = `date +%m%d%y`
print "rsync -avv --delete --exclude=$exclude $src $dest > $logdir/$date"
`rsync -avv --delete --exclude=$exclude $src $dest > $logdir/$date `
print "\nFinished\n"

it works but for some reason files deleted on the main dive are not deleted from
/backup new files are copied and files are updated but deletions are not made so
if i delete a file called index.htm from /home/admin/www/sphosting on the backup
drive /backup/home/admin/www/sphosting the index.html file will still always be
there and not removed.
what I am looking for is the correct commands to use you will need to explain
how each part of the new commands works, aso i can makre sure it won't deleted
everything :)

Start your work-at-home career for $7.00. Get direct access to thousands of freelance and home-based jobs. Click here to find work now.

Related Projects:
Gratingworks.com
Simple Php Redirect Script
Google Image Grabber
Script Modification
E-commerce Website Design Usin

This project is the proprietary information of . Click here to remove this project from OUR database.
Operating System:
(I don't know)
Database System:
(None)
<<< back

Recent Projects Archive:

Thursday - Wednesday - Tuesday - Monday - Sunday - Saturday - Friday

View all freelance web projects

 
Home | Projects archive | RSS | Resources | Links | Contact Us © 2004-2008 ProjectsList.biz /5.899