My Rsync script is broken! Pls Help.

likuidsilence likuid.silence at gmail.com
Sat Nov 29 21:54:01 GMT 2008


Here is my rsync command:

sudo rsync -rltODv --delete /home/user/NTFS/Win-Ubuntu
/home/user/BackupDrive --modify-window=2 > /home/user/rsync.last.log


and here is the output for "ls -la /home/user":

drwxr-xr-x 34 user user  4096 2008-11-29 16:49 .
drwxr-xr-x  3 root  root   4096 2008-11-24 19:21 ..
drwxr-xr-x  2 user user  4096 2008-11-27 23:39 BackupDrive
-rw-------  1 user user  4793 2008-11-29 01:21 .bash_history
-rw-r--r--  1 user user   220 2008-11-24 19:21 .bash_logout
-rw-r--r--  1 user user  3115 2008-11-24 19:21 .bashrc
drwxr-xr-x  5 user user  4096 2008-11-29 01:28 .cache
drwx------  3 user user  4096 2008-11-27 13:26 .compiz
drwxr-xr-x  7 user user  4096 2008-11-29 01:28 .config
drwx------  3 user user  4096 2008-11-24 19:29 .dbus
drwxr-xr-x  2 user user  4096 2008-11-29 01:28 Desktop
-rw-------  1 user user    28 2008-11-29 16:46 .dmrc
drwxr-xr-x  2 user user  4096 2008-11-24 19:29 Documents
-rw-------  1 user user    16 2008-11-24 19:29 .esd_auth
drwxr-xr-x  3 user user  4096 2008-11-27 12:05 .evolution
lrwxrwxrwx  1 user user    26 2008-11-24 19:21 Examples ->
/usr/share/example-content
drwxr-xr-x  2 user user  4096 2008-11-27 17:34 .fontconfig
drwx------  4 user user  4096 2008-11-29 16:46 .gconf
drwx------  2 user user  4096 2008-11-29 16:51 .gconfd
-rw-r-----  1 user user     0 2008-11-29 01:25 .gksu.lock
drwx------ 10 user user  4096 2008-11-29 01:49 .gnome2
drwx------  2 user user  4096 2008-11-24 19:29 .gnome2_private
drwx------  2 user user  4096 2008-11-24 19:29 .gnupg
drwx------  2 user user  4096 2008-11-28 23:12 .grsync
drwxr-xr-x  2 user user  4096 2008-11-29 01:25 .gstreamer-0.10
-rw-r--r--  1 user user   108 2008-11-29 16:46 .gtk-bookmarks
dr-x------  2 user user     0 2008-11-29 16:46 .gvfs
-rw-------  1 user user  3460 2008-11-29 16:46 .ICEauthority
drwxr-xr-x  2 user user  4096 2008-11-24 19:35 .icons
drwx------  3 user user  4096 2008-11-24 19:29 .local
drwx------  4 user user  4096 2008-11-27 11:07 .mozilla
drwxr-xr-x  2 user user  4096 2008-11-24 19:29 Music
drwxr-xr-x  3 user user  4096 2008-11-29 01:49 .nautilus
drwxrwxrwx  1 root  root   4096 2008-11-28 00:36 NTFS
drwxr-xr-x  2 user user  4096 2008-11-24 19:29 Pictures
-rw-r--r--  1 user user   675 2008-11-24 19:21 .profile
drwxr-xr-x  2 user user  4096 2008-11-24 19:29 Public
drwxr-xr-x  2 user user  4096 2008-11-24 19:29 .pulse
-rw-------  1 user user   256 2008-11-24 19:29 .pulse-cookie
-rw-------  1 user user 20877 2008-11-29 16:49 .recently-used.xbel
-rw-r--r--  1 user user 45753 2008-11-28 00:33 rsync1.last.log
-rw-r--r--  1 root  root   3610 2008-11-29 01:12 rsync.last.log
-rw-r--r--  1 user user     0 2008-11-27 11:11 .sudo_as_admin_successful
drwxr-xr-x  2 user user  4096 2008-11-24 19:29 Templates
drwxr-xr-x  2 user user  4096 2008-11-24 19:35 .themes
drwx------  4 user user  4096 2008-11-27 12:21 .thumbnails
drwx------  2 user user  4096 2008-11-24 19:29 .update-notifier
drwxr-xr-x  2 user user  4096 2008-11-24 19:29 Videos
drwxr-xr-x  4 user user  4096 2008-11-29 16:49 .wine
-rw-------  1 user user   124 2008-11-29 16:46 .Xauthority
-rw-r--r--  1 user user  2510 2008-11-29 16:49 .xsession-errors

 

Bugzilla from matt at mattmccutchen.net wrote:
> 
> On Fri, 2008-11-28 at 20:37 -0800, likuidsilence wrote:
>> I've had an Rsync script that I wrote myself working for the past several
>> months. Not too long ago I had to reformat and Installed a fresh copy of
>> Ubuntu 8.10 (Intrepid) (Used ext3 this time around..I used to have
>> ext2..but
>> don't think that's the problem) I tried running my script to backup my
>> files
>> to a remote NAS on my network but I keep getting these annoying rsync
>> failure messages on my log. 
>> 
>> rsync: failed to set times on "/home/user/BackupDrive" : Not a directory
>> (20)
>> 
>> I was getting a bunch of these errors. So I tried the gui version of
>> rsync
>> (grsync)
>> and I get the following error
>> 
>> rsync: failed to set times on "/home/user/BackupDrive " Operation not
>> permitted (1)
>> 
>> Files do copy over by the way but I just don't like to see "failed"
>> messages
>> on my logs..
> 
> Please post your rsync command and the output of "ls -la /home/user" so
> we can see what is going on.
> 
> Matt
> 
> -- 
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> 
> 

-- 
View this message in context: http://www.nabble.com/My-Rsync-script-is-broken%21-Pls-Help.-tp20743936p20751896.html
Sent from the Samba - rsync mailing list archive at Nabble.com.



More information about the rsync mailing list