Hello all. I'm a relative *nix noob, but to save money at work I decided to put in an Ubuntu server as a fileserver so that we could use it as a web server as well. Things have been going all right, except for that I discovered this weird issue today:
I run rsync nightly to a remote server. The update is one-directional--I don't need to pull anything back over, I just dump the local server's files to a remote server. Cron runs nightly (as root) and runs the backup sh script.
Today, I noticed that files weren't being backed up, and hadn't been for a little while, so I ran the backup script by itself, using the command:
It did the weirdest thing... it listed all the new and changed files... and then it was done. Now, the connection between the two servers is a T1, so I knew the 1.2GB ISO file I stuck on the server today wasn't tranferred in a few seconds. So I switched on the verbose switch on rsync and re-ran. Here's the script (pared down for the sake of simplicity):
sudo sh /scripts/backup
The "mnt" directory is a group of remote server directory mounted via mount.cifs. I am able to browse these directories, enumerate /open/copy files, etc. The connection appears just fine.
echo "Job start time:"
echo "Backing up Working share..."
rsync -arv /data/Working/ /mnt/abc/Working/
echo "Backing up Accounting share..."
rsync -arv /data/Accounting/ /mnt/abc/Accounting/
#Establish finish time
echo "Job end time:"
echo "Back up complete."
So then I run the backup script, and I get output like this:
81 MEGABYTES PER SECOND! !!
Thu Sep 27 12:30:44 EDT 2012
Backing up IT share...
sending incremental file list
Software/OS and Images/
Software/OS and Images/ubcd511.iso
Software/Tools & Utilities/
Software/Tools & Utilities/System Information Utilities/
Software/Tools & Utilities/System Information Utilities/SysinternalsSuite.zip
sent 13134695137 bytes received 2206 bytes 81836120.52 bytes/sec
total size is 44466830195 speedup is 3.39
Of course, I knew that wasn't right, so I checked the destination and sure enough none of the changes were actually applied.
Anybody have any idea what's going on?