Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to mirror (clone) my TV harddrive to my TVbackup harddrive daily. I don’t want to use RAID, and currently, both drives are in the same computer (this will change in the future).

In order to do this I want to setup Rsync because apparently this is best, and trigger it with a cron operation. I have no experience with this but if I have the following setup:

Source: /media/tv

Backup: /media/tvbackup

Is this the best command to use?

rsync -ax --delete --force media/tv/ media/tvbackup
share|improve this question

Depending on the size of the target disk, I would use

rsync -ax --delete-first --force media/tv media/tvbackup

as this will ensure that no longer existing files are removed so that there should in theory always be enough place for the copy operations.

Depending on the size of the target disk, if the backup disk is larger, you might also have a look at rsnapshot which keeps multiple generations of a backup using hardlinks on the target drive. rsnapshot uses rsync internally.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .