Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33

Thread: HOWTO: Backup using Rsync to NTFS

  1. #11
    Join Date
    Apr 2006
    Location
    Coventry
    Beans
    1,379
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Backup using Rsync to NTFS

    I'm unsure about this but I just tested it out (on the folder /var/log). I added the -z tag and the -a tag, so as to preserve file permissions (right?) and I looked at the permissions and it was drwxrwxrwx which is the same as the permissions I get using my guide. So I can't see any change. Further if I look at my EXT3 backup I see drwxr-xr-x. So, I'm unsure what exactly is happening!

    As far as I have read and know, NTFS cannot preserve permissions. But I am no expert!
    Last edited by abhiroopb; June 6th, 2008 at 06:35 PM.

  2. #12
    Join Date
    Jun 2007
    Location
    Jerusalem, IL
    Beans
    106
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Backup using Rsync to NTFS

    I was checking by the permissions of scripts (user, group, executable etc.) and they was preserved while I copied them from backup to my desktop.

    P.S.
    I am not expert ether, was posted here to increase stability of peoples backup, so if my comments was somewhat misleading - I am apologize.
    Sanus|artificium - FREE VST plug-ins | Music | Web design | Graphics | Sound engineering | Software | Tutorials | PHP scripts and more ...

  3. #13
    Join Date
    Apr 2006
    Location
    Coventry
    Beans
    1,379
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Backup using Rsync to NTFS

    And you used ntfs? Thats interesting maybe the problems have been addressed. Hopefully someone who has more experience can comment.

  4. #14
    Join Date
    Jun 2007
    Location
    Jerusalem, IL
    Beans
    106
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Backup using Rsync to NTFS

    Quote Originally Posted by abhiroopb View Post
    And you used ntfs? Thats interesting maybe the problems have been addressed. Hopefully someone who has more experience can comment.
    Yes, I am not using XP for about 6 months - so XP is for backups only and it is NTFS.
    Sanus|artificium - FREE VST plug-ins | Music | Web design | Graphics | Sound engineering | Software | Tutorials | PHP scripts and more ...

  5. #15
    Join Date
    Feb 2009
    Location
    UK
    Beans
    83
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Backup using Rsync to NTFS

    Thank you for this Howto. I have followed the instructions changing the paths for my system. The source files are copied to the destination ok but files deleted from the source are not deleted from the destination NTFS drive.

    In the terminal (can I send this output to a log file?) I can see an error message saying IO error detected - skippping file deletion.

    Any ideas how I can solve this?

    ps. I also get this error at the end of the rsync process rsync error: some files could not be transferred (code 23) at main.c(1058) [sender=3.0.3]

  6. #16
    Join Date
    Jun 2007
    Location
    Jerusalem, IL
    Beans
    106
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Backup using Rsync to NTFS

    pass
    Code:
    --log-file=/path/to/log/file/name-of-log-file.log
    to it.
    e.g.
    Code:
    rsync --force --log-file=/var/log/rsync-www.log --progress --ignore-errors --delete --delete-excluded -avzlpE /home/user/www /media/backup/www
    and than see what's wrong.
    Sanus|artificium - FREE VST plug-ins | Music | Web design | Graphics | Sound engineering | Software | Tutorials | PHP scripts and more ...

  7. #17
    Join Date
    Feb 2009
    Location
    UK
    Beans
    83
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Backup using Rsync to NTFS

    Quote Originally Posted by sanus|art View Post
    pass
    Code:
    --log-file=/path/to/log/file/name-of-log-file.log
    to it.
    e.g.
    Code:
    rsync --force --log-file=/var/log/rsync-www.log --progress --ignore-errors --delete --delete-excluded -avzlpE /home/user/www /media/backup/www
    and than see what's wrong.
    Thanks. I used the log file option as you said. This works great. Still not sure what was causing the problem but have now used the --ignore-errors argument and this seems to be doing the job. So my script is now:

    Code:
    #!/bin/bash
    
    sudo rsync -rltDvu --log-file=/var/log/rsync-backupBIG.log --ignore-errors --modify-window=1 --progress --delete --delete-excluded --exclude-from=/home/paul/bash/BackupBigExclude.txt / /media/EXTHD/gandalf_backup
    Thanks for your help

  8. #18
    Join Date
    Dec 2006
    Location
    Eindhoven, Netherlands
    Beans
    10
    Distro
    The Feisty Fawn Testing

    Re: HOWTO: Backup using Rsync to NTFS

    Thanks for your tutorial. Especially the --modify-window=1 option has been useful to me.

  9. #19
    Join Date
    Aug 2008
    Location
    England
    Beans
    14

    Re: HOWTO: Backup using Rsync to NTFS

    Thank you; the --modify-window=1 flag was just what I needed.

  10. #20
    Join Date
    Apr 2010
    Beans
    93
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Backup using Rsync to NTFS

    can windows computers read the compressed files?
    It is strange that everyone's signature doesn't contain an actual signature.

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

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