Article 5EZFJ Avoiding recursive backup

Avoiding recursive backup

by
neidorff
from LinuxQuestions.org on (#5EZFJ)
Running OPENSUSE 15.1, trying to do a full backup before upgrading. I have an external drive with tons of room that I use for backups. I'm running into a recursion problem: rsync backs up the backup.

I have the external drive mounted on /mnt/extra .
I run the command (as root):

#rsync -ra / /mnt/extra

When I ran this command, I was aware that I might be getting recursion, and sadly, I am.

Is there a way to exclude a directory from a rsync backup, or if not, how should I restructure my backup to avoid the recursion?

Thank you,
Marklatest?d=yIl2AUoC8zA latest?i=G9futL4TO5I:Z4TlwgtU4Fw:F7zBnMy latest?i=G9futL4TO5I:Z4TlwgtU4Fw:V_sGLiP latest?d=qj6IDK7rITs latest?i=G9futL4TO5I:Z4TlwgtU4Fw:gIN9vFwG9futL4TO5I
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments