General :: Best Way To Backup And Restore / Home Directory And Reinstall Kubuntu

Dec 3, 2009

So I've finally given up on saving my kubuntu install that wont boot. I've searched, and looked, but couldn't find a thing.My delema now is to make sure that I:

a) get all of the user data safely packed up onto my external USB drive. I believe it's all in the home directory. I'm not sure about getting hidden files though...

b) get the new install to go smoothly, and not mess up grub or the parralell XP install on the same hard drive.

c) get the user data back on the computer and recreate the user structure. Permissions were messed up already, so setting those up again is not an issue.

So, I've been poking around, and this is how I think things should go:

a) tar cvpjf backup.tar.bz2 /home to get my home directory backed up. Not exactly sure how to get from here to my external hd, but I'm sure I can figure it out

b) just run a live cd of kubuntu, delete the old partitions, and reinstall over them?

c) unzip the tar into by /home directory.

That's all I've been able to find so far. How do I set up the users? Will they show up as soon as I untar? Will the resinstall play nice with my windows install? Will I get all the hidden files too? Is there anything I'm missing?

View 2 Replies


ADVERTISEMENT

General :: Need To Backup / Home Directory

Sep 10, 2010

I need to backup my /home directory because I want to switch from Fedora to OpenSUSE but I didn't put /home as a separate partition so I need to back it up. Problem is, I can't figure out how.I've tried tar and gzip through every google hit I can possibly find but not one has worked.

View 7 Replies View Related

General :: Trying To Get Dump To Backup Home Directory

Mar 27, 2011

I would like to have dump backup just my home directory but am having problems the command I am using wants to back every thing and takes hours upon hours it has been running for about 10 hr and only 21% is done. This is the command dump -0u -f dp_hd /media/CENTON USB/ /how can I get this to back up only my home directory

View 7 Replies View Related

Ubuntu :: Back In Time To Backup Home Directory To A Second Hdd That Is Mounted At /media/backup?

May 18, 2010

using Back In Time to backup my home directory to a second hdd that is mounted at /media/backupThe trouble is, I can do this using Back In Time (Root), but not using Back In Time without the root option. This is definitely a permissions issue - it can't write to the folder, but when I checked by right clicking on the backup directory and looking at the permission tab, it said I was the owner

View 2 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

Fedora :: How To Reinstall F12 Without Wiping Out Home Directory

Mar 18, 2010

I'm having trouble since I installed the newest kernel update. I only have one desktop. I unistalled compiz. Then I get the message 'you don't appear to have a window manager installed' I reinstalled compiz, but it gives me a misty screen, with the cube desktop. How do I set compiz to a default setting? Plain and simple? Where is the config file? This may have started when I clicked a box 'enable indirect rendering' just to see what happened. I have an nvidia 9200 card on an Asus laptop.Failing that, how do I reinstall Fed 12 without wiping out my home directory?

View 14 Replies View Related

Ubuntu Security :: Cannot Restore Deleted Directory Using Rdiff-backup

May 17, 2011

I have carefully made daily backups using rdiff-backup, so in the case of needing to restore I can do so.

But I deleted a directory yesterday, and made a backup in the evening. Therefore, the directory is not in the latest mirror, but in the incremental backup from yesterday.

Now I need to restore the directory. But I cannot figure out how to!

I can see the directory in yesterday's incremental backup; i.e., the following works:

Code:

Where [backupdir] is the backup (mirror) directory, and [nameofdir] is the name of the directory I'm trying to restore.

So, I have tried to restore. This is the type of thing I have tried:

Code:

Where to-restore.lst holds the name of the directory to restore (in rdiff-backup's format) and [restoredir]is where I want the restored directory to go to.

But, I get errors like:

Code:

Useful file specifications begin with the base directory or some pattern (such as '**') which matches the base directory. Well, obviously the file specification doesn't exist in the [restoredir]. That's because I'm trying to restore it! If I try to create an empty directory first, it complains:

Code:

How do I restore a deleted directory from a previous day's backup to a designated destination?

View 2 Replies View Related

Programming :: Create A Bash Menu Script For Home Server - Restore Files From A Backup?

Jan 19, 2011

I would like to create a bash menu script for my home server For instance if i were to type ./script It would then bring up 3 options

a. Create a backup
b. Restore files from a backup
c. Quit

If you were to select a or b it should then ask you were you want to backup or restore from. And if i were to type in an incorrect letter i should get an error and take me back to menu. I have attepmted this a view time now and have magaged to get the menu up using parameters

View 9 Replies View Related

Ubuntu Installation :: Home Directory Moved After Reinstall

Mar 5, 2010

I have been out of the Linux loop for a while. Prior to the holidays I did something 'stupid' within Wine and ended up taking out my Ubuntu partition to the point where it wouldn't boot. Being that I have a triple boot system and I had plans for the holidays, I didn't want to risk a reinstall in the event that if something went wrong with Grub, it would render my whole system useless. So I waited until now to reinstall Ubuntu. I performed the reinstall this past weekend and for the most part I thought everything went fine, but I noticed something was different with the file system.

When I attempted to load a 3.5gig program into Ubuntu yesterday, I got an error message saying that I don't have enough disk space. I said to my self, "That is impossible as I have a 106gig partition for programs". I have a separated system in which Ubuntu /root has an 8gig partition and the Home partition supposed to be the 106gig drive. I did this in the event I had to reinstall, I wouldn't loose my information. Well apparently something went wrong with the install and it appears that I have two Home folders...one is on the 106gig drive and the other is in the root directory.

Making note of that explained why my program wouldn't load because the root partition is only 8gig. So, my question is this: Can I set Ubuntu back to the old Home directory, or do I have to reinstall once again? As what under my avatar says, I am on Ubuntu Studio 8.04 (Hardy Heron). I stuck with this older version because it has long term support. I have a triple boot system with Windows XP, Puppy Linux, and Ubuntu Studio. I have two SATA 500gig drives with the first drive being home to all the operating systems and programs. The second drive is just for data.

Here is my fdisk -l I put the partitions usage in parenthesis:
geo@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cf364 .....

View 7 Replies View Related

Debian Configuration :: Reinstall Lenny, Save /home Directory?

Jun 29, 2010

I recently reinstalled Lenny and I am attempting to save my /home directory. I used the graphical install and when it came to the part about partitioning, I created a new /home partition "hdb1" and told the installer to ignore my old /home partition "/dev/hda9".Following the completion of the install, I logged in and changed my /etc/fstab so that /home --> my old /home partition "/dev/hda9". I then mounted the old partition to /home and rebooted the system. Now, when I go to my /home directory >> properties, I can see that the files I had are on the drive (2GB are used) --- but --- I cannot actually see the files??

View 1 Replies View Related

Slackware :: How To Run Rsnapshot To Backup Home Directory?

Apr 24, 2010

I have installed rsnapshot from slackbuilds.How to run it to backup home directory?I'm also reading the official docs.

View 3 Replies View Related

Ubuntu :: Using Rsync To Backup The Local Home Directory?

Oct 14, 2010

I went ahead and created this directory

mkdir /tmp/rsync-backup

and, ran this

rsync av /home /tmp/rsync-backup

this is the result

rsync: link_stat "/av" failed: No such file or directory (2)
skipping directory home
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7]

View 5 Replies View Related

Ubuntu :: Make A Backup Of Home Directory Onto A NAS Device?

Dec 5, 2010

I would like to make a backup of my /home directory onto a NAS device, and have whatever software is used for the purpose update (new and changed files) every night, or perhaps everytime there is a period of inactivity. Any suggestions for a GUI package that will do this?

I do not want a complete backup each time, just the new or changed files. Also prefer software that backs up to a mirror of the original (i.e., uncompressed folders and files)

View 1 Replies View Related

General :: Testing Home Directory Scripts By Setting $HOME To The Location Of The Test Directory

Apr 20, 2010

I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.

The easiest way to do this would seem to be to just change & export $HOME, eg

cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions

However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?

View 1 Replies View Related

Ubuntu :: Restore Backup Server - Where Is The Location Backup Snapshots Or Files Are Saving

May 10, 2011

I install and tested Restore EE Backup server on a test PC with basic configuration and its working fine.

[URL]

The issue i have is where is the location these backup snapshots or files are saving? I want to add a separate Storage to save the backup?

View 1 Replies View Related

General :: Restore A Backup On Different Filesystems?

Sep 30, 2010

I'm now using Ubuntu 10.04 with ext4 and for the second time in my life I experienced data loss (not for real: I got backups) and I'm assuming problems with the recent ext4 fs.

I want to restore all of my configurations (/etc and the like), data and home on reiserFS: is this possible? What to do in order to accomplish that?

View 2 Replies View Related

Debian :: Used Backup-manager - Restore The Backup Data?

Feb 4, 2011

I am now preparing myself to upgrade lenny to squeeze and decided to do a backup on my system. I used backup-manager to do the job and it worked fine. how do you restore said backup data?

View 4 Replies View Related

General :: How To Get Backup And Restore For F12 File System

Apr 13, 2010

O/S: Fedora 12
I am newbie in linux. What I want to do is: Make backup for my file system, cos I learn how to configure servers. So if I made some thing wrong, I want to be able to restore the default setting for my files. Instated of install new O/S.

View 4 Replies View Related

General :: Unable To Restore A Backup From A Second Hard Drive?

Jul 17, 2011

Have been using mint 11 for past few weeks with no problem but failed to boot correctly. menu appeared giving options for booting but kept returning to this menu without going further so I opted to go for safe booting option, after loading a few files it asked for password but kept giving me the message incorrect password so I could get no further. Fortunately I had a cop of clonezilla and was able to restore a backup from a second hard drive but would be grateful for any observations anyone would like to make about this (in case it happens again)

View 3 Replies View Related

General :: Unable To Restore Backup On NTFS Partition

Jul 22, 2010

I used Ping Linux 8 months ago to create a ghost-like image of my primary partition. (Windows 7 on NTFS) The image is on the second partition of my hard drive (Western Digital 250 gig). I need to restore now, but Ping is unable to mount the volume. In fact, it will not mount any volume or perform any new backup. I made sure nothing has changed in Bios options since I created the backup. Does this imply that is not the appropriate tool to work on NTFS system?

View 4 Replies View Related

General :: System Backup/Restore Script Or Application?

Jan 31, 2010

My manager at work asked me to setup an FTP server running LINUX. i had a post about some custom scripts and commands that i needed, so after i configured and set everything up, i got another assignment....here we go, i need to come up with a way of backing up the entire system, or creating a script that will setup,install and configure the FTP related features i have made working there.i am wondering what would be the most ideal/best and easy to do way to back up the system? the goal is : in case if HDD fails,r anything goes wrong.system can be restored in no time. this is still up in air thing, i offered taking some time on a weekend and setting up same system on say,ew drive, and swapping them when one goes bad... but what would be an alternatives

View 2 Replies View Related

General :: 'Could Not Chdir To Home Directory /home/[user]: Permission Denied'

Jan 6, 2010

I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -

Code:

login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$

Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.

View 14 Replies View Related

General ::anything Special About Home Directory Before Users' Home Directories Are Stored There

Jun 19, 2010

Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.

Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?

View 10 Replies View Related

Ubuntu :: Real Time Backup In A Folder Called /home/backup?

Feb 2, 2011

I've tried to google but not much luck. What I would like to do is have anumber of folders on my desktop and their contents, replicated/duplicated into another folder on the same PC in real time. So for example, if I were to change an OpenOffice document in a specific folder on my Desktop it would be replicated/duplicated in real time. If I had three folders on my Desktop A, B and C they would also appear/be backed up (in real time) in a folder called /home/backup. Can this be done?

View 3 Replies View Related

General :: Image Hard Drive Ubuntu Operating System 9.10 Complete Backup And Restore?

Jan 4, 2010

Image Hard drive Ubuntu Operating system 9.10 Complete back up and restore. Changing over Hard Drives need a complete back up not just save files. So the image can be restored on any hard drive that restores the computer to its original state before it was imaged.

View 14 Replies View Related

General :: How To Backup / Home?

Oct 6, 2009

How do I backup my /home before the new version of Ubuntu comes out later this month. I am running Ubuntu 9.04 I really do not want to have to redownload my themes and everything.

View 3 Replies View Related

General :: Access Directory Outside Of Home Directory?

Apr 13, 2010

I'm using Mac OS X's Terminal.app shell to compile and run Fortran programs. One such program resides outside of my home directory (it is in the Applications folder, which resides on my hard drive but seems to be outside of my home folder). How can I navigate into this directory using Terminal.app to run the programs that reside there?

View 7 Replies View Related

General :: Restore Www Directory In Ubuntu 9.04?

May 15, 2010

m using ubuntu 9.04 for drupal development. today morning accidentally i removed my www folder in directory. the folder has so many of my web development documents. O God., I just restart after my system when it happens., and i install som recovery software like gpart.is theri any possibilities to recover my www directory and files., bcos its includes more of web development documents. pls pls pls i?m very afraid about that issue. let me know asap.

View 4 Replies View Related

General :: Restore A Tar File And Exclude A Directory?

Jan 25, 2010

I am trying to restore a tar file that contains a directory I cannot nor want to restore. How can I explicitly state the name of the directory? command I am using:tar -xzvPXf <tar file name>.tgz exclude-file=<directory>I have tried it with the exclude-file before the tar file name and same results. No restore.

View 3 Replies View Related

Debian :: Backup Purge Script - `/mnt/backup/subfolder': No Such File Or Directory

Nov 10, 2010

This script simply deletes files older than a certain age (in this case 7 days) from a certain location; I use it to purge old backups nightly, and it works as expected:

# delete backups older than 7 days
find /mnt/backup/*  -mtime +7 -exec rm -Rf {} ;

The problem is, every morning I get an email with an error message something like this:

find: `/mnt/backup/subfolder': No such file or directory

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved