[mdlug] RSYNC Question
Brian Brodsky
brianbrodsky at ameritech.net
Thu Sep 28 15:10:28 EDT 2017
I always put the ending / on all directories when using rsync
On Thursday, September 28, 2017 1:06 PM, JeremyBekka C <jrchristophel at gmail.com> wrote:
I use rsync to keep my computer backed up with my external hard drive. This
is the command that I use:
rsync -rltDvu --modify-window=1 --progress --delete --delete-excluded
--exclude-from=/home/username/Documents/Backup-Exclude-List.txt
/home/username /run/media/username/Iomega\ HDD/Backup
This command works fine for routine backups, but there is a problem when
using it on a new install. For example, I just installed an new Linux OS on
my desktop computer and ran this command in reverse to put all my stuff
back on my computer from the external Iomega. Instead of putting everything
where it belongs, it created a new folder called "Backup" in my /home
directory and filled it with everything on the Iomega. I had to manually
move everything back where I wanted it.
The same thing is happening again now that I want to sync my computer with
the Iomega. It is putting all my stuff from my computer into another folder
in the /Backup directory on the Iomega rather than updating the existing
folders within the /Backup directory.
Just wondering why this is happening and how I can fix it.
Thanks,
J
_______________________________________________
mdlug mailing list
mdlug at mdlug.org
http://mdlug.org/mailman/listinfo/mdlug
More information about the mdlug
mailing list