Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
ok, I gave it a shot... here is the last of the output: Quote var/spool/anacron/ rsync: send_files failed to open "/var/spool/anacron/cron.daily": Permission denied (13) rsync: send_files failed to open "/var/spool/anacron/cron.monthly": ...
  1. #11
    Just Joined!
    Join Date
    Apr 2009
    Posts
    8
    ok, I gave it a shot... here is the last of the output:
    Quote
    var/spool/anacron/
    rsync: send_files failed to open "/var/spool/anacron/cron.daily": Permission denied (13)
    rsync: send_files failed to open "/var/spool/anacron/cron.monthly": Permission denied (13)
    rsync: send_files failed to open "/var/spool/anacron/cron.weekly": Permission denied (13)
    var/spool/at/
    var/spool/cron/
    var/spool/cups/
    var/spool/lpd/
    var/spool/mail/
    var/spool/repackage/
    var/spool/samba/
    var/yp/

    Number of files: 141437
    Number of files transferred: 119707
    Total file size: 15361664696 bytes
    Total transferred file size: 15385860114 bytes
    Literal data: 13858070576 bytes
    Matched data: 0 bytes
    File list size: 3206648
    File list generation time: 0.001 seconds
    File list transfer time: 0.000 seconds
    Total bytes sent: 13867967691
    Total bytes received: 2370500

    sent 13867967691 bytes received 2370500 bytes 21421371.72 bytes/sec
    total size is 15361664696 speedup is 1.11
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1040) [sender=3.0.4]
    umount: /media/backup is not in the fstab (and you are not root)

    here is the script:

    Quote
    umount /dev/sdb2
    echo Mounting $disk
    mount -t ext3 /dev/sdb2 /media/backup
    rsync -av --stats --delete --exclude=/media/ --exclude=/mnt/ / /media/backup
    umount /media/backup



    it looks like it is missing some files because of permissions... should I run it as root?

    Thanks
    David

  2. #12
    Just Joined!
    Join Date
    Sep 2007
    Location
    Lafayette, IN
    Posts
    83
    Quote Originally Posted by davidwillis View Post
    it looks like it is missing some files because of permissions... should I run it as root?
    That depends on if you care about the files that get skipped. If not, I wouldn't bother. If you want to make sure those files get backed up, then go ahead an run it as root.

  3. #13
    Just Joined!
    Join Date
    Apr 2009
    Posts
    8
    Thanks... I think I got it now

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...