SOLVED (Sort of):Home User Restore won't start

Questions about applications and software
Forum rules
Before you post please read this

SOLVED (Sort of):Home User Restore won't start

Postby lanrun on Thu Apr 24, 2008 5:03 am

Hi,

I have made a backup of my home with Home User Backup.
Now I need to restore this, but Home User Restore will not start.

I have two different PC I have tried this on, and the problem is there on both of them.

Is there a solution to this?
Last edited by lanrun on Fri Apr 25, 2008 8:05 am, edited 1 time in total.
lanrun
Level 3
Level 3
 
Posts: 158
Joined: Tue Oct 23, 2007 7:31 am
Location: Lillehammer - Norway

Linux Mint is funded by ads and donations.
 

Re: Home User Restore won't start

Postby Husse on Thu Apr 24, 2008 6:42 am

And what is
Home User Backup?
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Home User Restore won't start

Postby lanrun on Thu Apr 24, 2008 7:43 am

Husse wrote:And what is
Home User Backup?

Hello Husse!

Home User Backup is the hubackup found in the package manager.:

"Concise and easy to use backup application for the desktop user
HUBackup is short for Home User Backup System. As the
name implies, this is a very simple, concise and easy to use backup
application that uses the renowned and proven dar (Disk ARchive) to do
the actual archiving. Emphasis has been on providing true and reliable progress
indication throughout all operations, as well as the ability to cancel any
operation at any given point. HUBackup mainly concerns with backing up your
home folder data, allowing you to restore it in case of data loss."
lanrun
Level 3
Level 3
 
Posts: 158
Joined: Tue Oct 23, 2007 7:31 am
Location: Lillehammer - Norway

Re: Home User Restore won't start

Postby Fred on Thu Apr 24, 2008 9:49 am

lanrun,

I don't know anything about "Home User Backup" but I can give you a command that will work.

This command will make a mirror copy, including maintaining the permissions and ownership of your /home folder. Here is an example. We will change your name to fred. :-)

sudo rsync -avr --delete /home/fred/ /media/sda3/BackUp

This duplicate will be stored in a folder called "BackUp" on sda3. You can update your backup at anytime by running this same command again.

This only works if both the source and destination folders are mounted. To restore the information to your /home you would reverse the source and destination folders and not use the delete. Like this.

sudo rsync -avr /media/sda3/BackUp/ /home/fred

Or, if you want to remove any corrupted stuff you might have in your home and put it back just as it was before, when you made the backup, you would use the "delete" command. This will give you an exact image of your backup in /home.

sudo rsync -avr --delete /media/sda3/BackUp/ /home/fred

If you don't want to see all the activity taking place, remove the "v" in all the examples above.

Fred
Last edited by Fred on Thu Apr 24, 2008 2:39 pm, edited 1 time in total.
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Home User Restore won't start

Postby lanrun on Thu Apr 24, 2008 2:23 pm

Fred wrote:lanrun,

I don't know anything about "Home User Backup" but I can give you a command that will work.

This command will make a mirror copy, including maintaining the permissions and ownership of your /home folder. Here is an example. We will change your name to fred. :-)

sudo rsync -avr --delete /home/fred /media/sda3/BackUp

This duplicate will be stored in a folder called "BackUp" on sda3. You can update your backup at anytime by running this same command again.

This only works if both the source and destination folders are mounted. To restore the information to your /home you would reverse the source and destination folders and not use the delete. Like this.

sudo rsync -avr /media/sda3/BackUp /home/fred

Or, if you want to remove any corrupted stuff you might have in your home and put it back just as it was before, when you made the backup, you would use the "delete" command. This will give you an exact image of your backup in /home.

sudo rsync -avr --delete /media/sda3/BackUp /home/fred

If you don't want to see all the activity taking place, remove the "v" in all the examples above.

Fred


Thanks :-)
So the delete option deletes the old backup before the command makes a new?
lanrun
Level 3
Level 3
 
Posts: 158
Joined: Tue Oct 23, 2007 7:31 am
Location: Lillehammer - Norway

Re: Home User Restore won't start

Postby Fred on Thu Apr 24, 2008 2:41 pm

lanrun,

No, that's what is nice about the rsync command. It only transfers the changes that have taken place since the last time you ran it, not the whole thing again. The delete command removes anything that is in the destination folder that you have deleted from the source since you last ran the command.

Bye the way, look at my post again. I edited it to put a / after the source. This keeps it from making another folder that your backup is in. Works fine without it, just makes it cleaner.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Home User Restore won't start

Postby Fred on Thu Apr 24, 2008 3:05 pm

For those of you that may be using data partitions mounted in your home directory, let me add this word of caution.

If you wind up copying your /home folder into a folder that is mounted in /home you will put yourself in a loop. This is not good because it will essentially recopy itself until it fills the partition and crashes.

If you want to copy only your hidden config files to a backup folder that is on a different partition but mounted in /home, or anywhere else for that matter, use the command below:

sudo rsync -avr --delete --include ".*/" --include ".*/**" --exclude "*" /home/fred/ /home/fred/My_Data/BakConfig

To restore, just reverse the source and destination. You may or may not wish to use the --delete command on restore. See the earlier post. Just remember, if you use the --delete command you will have nothing in your /home except the config files when it is restored. Be very careful how you use the --delete command. Think about what it is going to do to the destination folder.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: SOLVED (Sort of):Home User Restore won't start

Postby lanrun on Sun May 04, 2008 7:55 am

Fred:
This was great help! Thank you.

lanrun
lanrun
Level 3
Level 3
 
Posts: 158
Joined: Tue Oct 23, 2007 7:31 am
Location: Lillehammer - Norway

Re: SOLVED (Sort of):Home User Restore won't start

Postby Husse on Sun May 04, 2008 2:16 pm

You can learn more from this post
viewtopic.php?f=42&t=3969
scorp123 knows what he's talking about - sad that he sometimes talks about it in an abusive manner (that's why he's not round any more)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 13 guests