LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-25-2006, 07:57 PM   #1
eldoran
LQ Newbie
 
Registered: Apr 2005
Location: Black Hawk, Colorado
Distribution: Ubuntu
Posts: 26

Rep: Reputation: 15
Restoring from an rsync backup of /


I recently backed up and restored my SuSE 10 install on my laptop using rsync:

rsync -av / server:/Backup/mylaptop

So my entire system was copied to '/Backup/mylaptop' on my file server.

I then repartitioned my disks (using Knoppix) and rsync'd everything back to /dev/hda1. Redid grub so it pointed to the right partition.

So - it boots and everything works just like it used to EXCEPT for some strange things.

The most obvious thing is bootsplash.. I don't have one anymore, no matter what I do with mkinitrd, splash=silent, setting vga modes, etc. There is no /proc/splash file - it never gets created. No error messages indicate why.

Now - I don't care about a bootsplash screen - but it has bugged me for 4 weeks why it won't work and I play around with it daily.

Today - one thought I had was that doing my rsync of everything - I copied things like /proc and /sys .. So there are files on disk even though these are directories Linux builds in memory. I tried erasing the contents of these directories (booted from Knoppix again to do it) on disk. No difference.. I was thinking maybe there was confusion being caused there -- but darn.

Anyway, I'm not a newbie - and I've run down just about every suggestion to fix bootsplash and nothing works. I thought maybe the added twist of having restored my system from an rsync backup might be a clue that would give someone the 'ahas' ;-)

Thanks for any suggestions!
 
Old 04-25-2006, 08:43 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
I never like doing a full system backup up of a live system if I can help it and I never use rsync to do a full system backup. If you did not execute rsync with root privileges some files may not have been copied over. Some files are only readable by root, i.e. other users are not given read privileges on the file. If that's the case rsync(or tar or other backup commands) will not copy the file if it doesn't have read access.
 
Old 04-25-2006, 10:36 PM   #3
eldoran
LQ Newbie
 
Registered: Apr 2005
Location: Black Hawk, Colorado
Distribution: Ubuntu
Posts: 26

Original Poster
Rep: Reputation: 15
I did have root authority.. but you're right - I would have been better off doing the rsync backup from Knoppix (as I did the restore) instead of a live system.
 
Old 04-25-2006, 11:34 PM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Like kilgoretrout said, I don't like backups of a live system. But none-the-less, one of the last things I would figure to get screwed up during a live backup would be something that rarely changes - like a splash screen. I would have predicted that a splash screen would come through unscathed and something like a busy database might catch heck during a live backup. Your splash screen is probably so static that it has never been changed since you installed the OS. Weird that this would the thing that gets nuked.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restoring MSSQL database backup into PSQL mandrivaLE2005 Linux - Software 4 01-26-2006 09:35 AM
rsync as backup? ziggie216 Linux - Software 3 03-13-2005 02:22 PM
restoring /etc files from tar backup hdagelic Linux - General 1 09-24-2003 07:04 AM
rsync backup... tarballed Linux - Networking 10 06-27-2003 10:43 AM
Restoring backup dominique Linux - Newbie 3 12-06-2001 02:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration