Make sure you exclude the mount point for your back-up drive, i.e.
--exclude=/media/root-backup
_OR_ adding it to the command-line argument
rsync $OPT --exclude=$TRG $SRC $TRG
or otherwise you this could create an infinite backup loop that tries to backup the backup plus it's backup plus....

HTH,

Hendrik Schaink


On 15-08-14 11:53 AM, Joe S wrote:
I am trying to backup my computer to an external drive using rsync.
 From / to /media/root-backup
The problem: rsync copies more directories than I want and it
copies /media/root-backup multiple times.

I have included my backup script and filter rule file.
Hoping someone will see the mistake.

Thanks



_______________________________________________
clug-talk mailing list
clug-talk@clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying


_______________________________________________
clug-talk mailing list
clug-talk@clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to