Welcome! Log In Create A New Profile

Advanced

Cannot copy/backup to other stick and boot

Posted by PlugCluster 
Cannot copy/backup to other stick and boot
October 13, 2010 03:12AM
Hello,

I have tried to make a backup of my system stick to another stick with this:

#!/bin/sh
tar \
  --exclude=/lost+found  \
  --exclude=/tmp  \
  --exclude=/sys  \
  --exclude=/proc \
  --exclude=/mnt \
  -cf - / | ( cd /tmp/backup ; tar -xpvf - )

The new stick however does not boot. I have this dockstarheavy.deb kernel from gorgone with the configuration to "disables heartbeat and sets the green LED on" when the box is ready to log on.

Unfortunately the led never goes green and keeps in orange heartbeat mode all the time. This happens on the same dockstar that the source stick is working with. Thus there should not be a problem with a different MAC.

I have tried to enable bootlogd, but this does not show results. It seems to always have the source var/log/boot file.

Any idea? Any other possibilities for a logging?

Thanks,

Stefan
Re: Cannot copy/backup to other stick and boot
October 13, 2010 07:10AM
u must create empty directorys on the new stik for the deselected dirs !
Re: Cannot copy/backup to other stick and boot
October 13, 2010 09:18AM
Wow, thank you. It is working now.

However, there seems to be one difference: I have not created a /tmp directory.

After startup there is one belonging to root:root with mode rwxr-xr-x. This has been a tmpfs before. Now it is a real directory. It is not listed under mount anymore.
Re: Cannot copy/backup to other stick and boot
October 14, 2010 01:04PM
My /tmp problem has disappeared automatically somehow.

It is back with mode drwxrwxrwt.
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: