Quick rsync question

Discussion in 'Server Operation' started by iamcam, Feb 22, 2006.

  1. iamcam

    iamcam New Member

    Hi everyone,

    It's my first post on these forums, so please forgive me if it's in the wrong location.

    I've set-up an incremental backup system between a primary file server and secondary disk on a backup server. So far so good everything has been running fine the last couple days, but I want to make sure I'm using the correct rsync flags before I'm getting too far into this (I assume everything is correct after consulting several online sources).

    rsync -e ssh -cpogrt --archive --numeric-ids --delete --exclude-from=/path/to/exclude/file.txt --link-dest=/path/to/diskmount/daily.1 root@serverip:/ /path/to/diskmount/daily.0

    Are those the flags I should be using for making full-system backups to this other disk?

    Thanks!
    Cameron
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Hm, I don't know the usage of rsync out of my head, but you might want to have a look at the rsync man page:
    Code:
    man rsync
    If you want to do incremental backups, this tutorial might be interesting for you: http://www.howtoforge.com/linux_rdiff_backup
     

Share This Page