MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
Am about to do a clean install of Mandrake 10.1 (currently running 10). Before doing so I wish to back up my users home directories.
I've tried copying them over to an external hard drive as the user themselves but got errors copying the files. Fine, must be a permission problem - I thought, so went to try it as root and got the same problem.
I'm clearly missing something really obvious here - whats the best way of performing a complete backup of the home dirs (including all the 'hidden' KDEmail folders etc)
I can't help you but can give you some sort of guidance for next time. Put your /home on a seperate partition or hard drive that way upgrading your system, will just leave /home intact.
While small version change upgrades tend to work well, a complete re-install usually fixes scripts, etc. that might be skipped by both the user and installation scripts.
Because of this results are usually better with the backup, re-install scenario.
reddazz - my home dirs were on a seperate partition, I've had hard disks conk out before during upgrades / reinstalls so I like to take a full backup beforehand if poss. While all the really important stuff (documents etc) was backed up to CD there was a whole ton of crap in there that the family didn't want to lose
Don't forget some key config files in the /etc directory such as /etc/samba/samba.conf.
When you get errors complaining about not being able to change permissions during copying, the problem is on the drive you are copying to. Backing up to a windows fat32 or ntfs drive will do this. The files are there but in the windows case they are all marked as executable. It's not a real problem, you just have to correct the flags after restoring in this case.
When you copy files back to your home directory, do it as your normal user login NOT root or all the files copied will belong to root instead of you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.