I am a newbie and recently crashed my v12.2 openSUSE and am trying to restore it from a backup tar file, backup.tar, created automatically by YaST's backup utility (which I think is dump-0.4b43-13.2.x86_64), the day before the crash. I booted my machine into rescue mode by booting from the installation DVD. Then, as a test, I tried to use restore (the inverse of dump) to compare the contents of backup.tar with the current file system with:
where /tmp/sda1 is where I've temporarily mounted the system particition /dev/sda1. Executing that command returns:
From this, I think one or more of the following: a) I'm doing something really wrong, and don't know what, or b) my backup file is corrupted.
Please help me understand how to restore from a dump tar file when I've booted into rescue mode from the DVD. Alternatively, if there is some way to diagnose and fix the problem I've created without needing to restore, that would great to hear. In short, the problem came from me trying to create a samba share with smbd, screwing up the configuration somehow, and when I finished configuring it and hit "OK" in yast2, something very bad happened including completely removing /bin!
Feel free to poke fun at my mistakes, as long as you leave some helpful advice! Thanks.
Code:
restore -C -D /tmp/sda1 -f backup.tar
Code:
Checksum error 15546143635, inode 0 file (null)
restore: Tape is not a dump tape
Please help me understand how to restore from a dump tar file when I've booted into rescue mode from the DVD. Alternatively, if there is some way to diagnose and fix the problem I've created without needing to restore, that would great to hear. In short, the problem came from me trying to create a samba share with smbd, screwing up the configuration somehow, and when I finished configuring it and hit "OK" in yast2, something very bad happened including completely removing /bin!
Feel free to poke fun at my mistakes, as long as you leave some helpful advice! Thanks.