Do you have an external drive, or a USB stick large enough to hold the contents of your /home/ray directory? If you have a place to temporarily hold your data, rsync can copy everything in the directory and keep all the correct permissions.
Thank you. I will try that. Can it be done to an internal HD also? Would I then just copy the old home to the new Home after install? Just overwrite any duplicate files?
Synaptic shows it installed in Networking but I don't have that on the Ap menu. Is it command line?
You would want to do the copying from either a
root login, or from the
liveCD, logged in as
root. I recommend the
latter. If you have a separate
/home partition, you need to know beforehand
which partition that is, and also the partition on which you wish to store the
copied directory. It is always best to have the backup partition formatted with an
ext3 or
ext4 filesystem (
whichever is the same as the /home partition) so that
permissions for all the files and directories are
properly preserved.
Example:Assuming the
/home partition to be
/dev/sda5 and the
backup partition to be
/dev/sdb1, if done from a
liveCD, the first things you would need are
mount point directories. I like
/here and
/there as they are short, and only exist in memory as part of the liveCD directory tree anyway. We use the
mkdir command for this. (
make directory)
[root@localhost ~]# mkdir /here /there <Enter>
Now we mount the
/home partition on
/here and the
backup partition on
/there.
[root@localhost ~]# mount /dev/sda5 /here <Enter>
[root@localhost ~]# mount /dev/sdb1 /there <Enter>
To check the mounts;
[root@localhost ~]# ls -l /here <Enter>
[root@localhost ~]# ls -l /there <Enter>
The first command should show your
ray directory, and the second command
whatever is already on the backup partition, if anything.
To copy the
entire ray directory as well as all its contents;
[root@localhost ~]# rsync -av /here/ray /there <Enter>
You will see a lot of text lines describing
what is being copied, as it happens. When the process is
complete you will be returned to the
root prompt.
To check the copy;
[root@localhost ~]# ls -la /there/ray <Enter>
You could also navigate to the
/there/ray directory with
Dolphin, or whatever file manager is on the liveCD, and look around to see if everything looks
normal and
complete. If all looks good, you have your backup.