Help - Search - Members - Calendar
Full Version: I just totally trashed my sister's Mandriva Linux
MandrivaUsers.org > General Help > Installing Mandriva
Doctor Praetorius
wall.gif wall.gif wall.gif wall.gif wall.gif

This all started because I could not get KXdocker to function properly. I did an uninstall of some packages followed by a series of half-finished updates (half-finished meaning they would not complete due to errors). Now my sister's install of Mandriva Linux is completely hosed.

It's almost a fresh install. The only thing I need to backup is her KMail. The thing is, there's no export option in KMail. How/Why is there no export function?!

I am VERY angry right now.
arctic
For backing up the kmail folder in /home/username:

CODE
tar cvjf
kmail-backup.tar.bz2 .kde/share/apps/kmail/mail .kde/share/config/kmailrc


If you also want to export the adressbook, attach

CODE
.kde/share/apps/kabc/std.vcf


to it. After reinstalling, before kmail is launched, run

CODE
tar xvjf kmail-backup.tar.bz2


Other way. Create a separate /home partition in the future. Then you do not need to back up everything everytime.

Final note: The only one who should be angry is your sister right now as you trashed the system and no one else. tongue.gif
Richard1098
I'd recommend creating a separate /home partition. Just remember not to format it when you do a reinstall.
Doctor Praetorius
QUOTE (arctic @ Jun 15 2007, 01:37 PM) *
For backing up the kmail folder in /home/username:

Other way. Create a separate /home partition in the future. Then you do not need to back up everything everytime.

Final note: The only one who should be angry is your sister right now as you trashed the system and no one else. tongue.gif

Thank you for those instructions, artic!

Well, as I am a Linux newbie, the home partition suggestion makes no sense to me. Are you saying create a duplicate partition that I could go back in case the current partition becomes corrupted?

My sister is already angry that it's taken me 5+ months to finally get around to working on her laptop. Procrastination is bad.
pindakoe
Separate home partition:
Linux has a different approach to partitions and drives than say Windows. One hand it allows you to combine multiple physical drives & partitions into one file-system, but on the other hand it allows you to split its filesystem over as many partitions as you want. The reasons for this are historical (when harddisk space was scarce) and come from the time Linux was used for (in those times) big multi-user setups. They are mostly not so relevant for standard desktop usage, but if you want some background read here (better articles exist, but I cannot find something quickly).
What is recommended even for desktop use by one user is to put all user data (/home and directories below) on a separate partition. In this way, you can reinstall your base-linux system (if all fails) without touching all personal data (personal settings as well as documents). Thus you will keep your email etc.

One way of checking whether this may or may not be the case is to open a terminal and type the command 'df' (without quotes). This should give something like:
CODE
/dev/hda1             5.7G  3.0G  2.5G  55% /
/dev/hda6              31G   18G   13G  59% /home
none                  252M   16K  252M   1% /tmp

This shows that I have 3 filesystems, of which the first two live on different partitions (hda1 and hda6 respectively).

It is possible to restructure your system to accomplish this, but it is much easier to backup keyfiles (or everything under /home/sister) and re-install.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.