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 have been trying to get rsync to work on my Ubuntu 9.04 laptop. I initially used "Back in time" which looked great (I am a little CLI phobic) but after a period of time (which seems to vary) the whole system grinds to a halt (grey windows, unresponsive - you know, like what happens on Windows!)
I thought it might be the GUI getting in the way of rsync, so I bit the bullet and with some help managed to set-up a basic rsync transfer from the CLI and the same thing happens. It just seems to get to a certain point and everything goes dark.
How can I debug and fix this? I'd really like to get a backup script working well so that my "mission critical" data is safe!
Local backup - I've tried to another partition on the same drive and to a USB flash drive as well as an external hard drive.
Quote:
How much memory do you have ?.
4GB laptop - only 18/12 old.
Quote:
Try a smaller selection of files and see if it works - after the initial sync, the updates should (hopefully) be small and the problem will disappear.
Will do. Why would it get stuck in some directories and not others? Could corrupted files be causing the problem (these are archives that I haven't used for >12/12)?
I think that perhaps some of the files that rsync is getting stuck on a corrupt. I had to restore from a zip backup a few weeks ago and it is possible that some of the less frequently used files aren't working properly.
I have tried nautilus and cp just to copy those troublesome directories and the whole system freezes.
Is there a utility that can scan my directories for errors/corrupt files?
You could try fsck, but really it should be run from the install/rescue disk, so its not being accessed by anything else.
Should it matter that the partition in question is NTFS?
I don't have access to a rescue disk at work, so I will try it when I get home. Thanks for your help.
PS I have since successfully rsync'ed about 9.5GB data from my home partition to a third one, some the issue does seem to be with my data or my data partition.
I don't think fsck (or chkdsk run from Windoze for NTFS) will help. Those utilities are for validating filesystem consistency, not the individual files contained within.
Short answer, unless the archive tool has CRC or somesuch embedded I think you're out of luck.
I don't think fsck (or chkdsk run from Windoze for NTFS) will help. Those utilities are for validating filesystem consistency, not the individual files contained within.
Short answer, unless the archive tool has CRC or somesuch embedded I think you're out of luck.
Having not solved my problem with chkdsk and fsck I would have to agree. I think - for whatever reason - parts of my partition are unreadable, obviously files that I don't use much but keep for archive purposes. They seem to crash rsync/back in time, but they also crash fileroller, openoffice, nautilus even cp (at the CLI). I think a recent reformat led to some errors, so after trying a defrag on Windows, I think my next move will be another reformat.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.