Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
{{{I had a stroke in 2011, and I am brain-damaged and my short term memory is broken}}}
I have a 1/2 TB flash drive and once a month, I backup my music library to this flash drive, as I need all of my ID3 tags to be complete and correct. {yes, I am somewhat anal-retentive}
Now, my {source} is approximately 184Gb, and it has generally worked as planned, but today it took alot longer than usual, and the {destination} was approximately 300Gb.
QUESTION:
I am asking how this has happened, how is the {destination} about 1.6 times the {source}
Are my rsync parameters incorrect?
{PS: yes, I really do the extended versions of the parameters}
Thank you for reading my question, and I would appreciate any assistance in this matter.
Offhand, I don't see any issues with your command string. Me, I usually use
Code:
rsync -av [source] [target]
for backups.
You might want to take a look at the diff or meld commands. They may help you identify irregularities between the source and target. (Diff is command line; meld is GUI.)
Recursive would not affect it since he is doing source -> destination. If, however, he has managed to do a source -> source at some time it may have a subdir in the source that accounts for the extra data. A typo in the past could also have given him extra space in the destination.
I suggest that, as has already been suggested, you look at both the source and the destination carefully to see if maybe something has been duplicated on either the source or destination (or both).
Yep, ending the source path with a / says "transfer the contents of this directory" while not ending it with the / says "transfer this directory and all its contents". I have been bitten that way myself.
In your case since you did it one way one time and the other way another time it duplicated almost everything.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.