Backup no longer workingForum: Other Help Topics Topic: Backup no longer working started by: tawalker Posted by tawalker on June 22 2005,06:30
Since I upgraded my pen drive install to DSL 1.1, the backup function no longer works.When it is invoked during DSL shutdown, the 'tar' command used to backup the required files appears to fail with a 'Broken pipe' error - I think I get the same result starting it from the DSL 'desktop' menu in X. Any ideas what could cause this? At least I have a previous backup to fall back on, but it would be welcome if everything worked properly again Many thanks, Tim. Posted by rpcyan on Aug. 05 2005,14:01
i am experiencing the same problem, except I am running runlevel 2 so no X. Any help?
Posted by rpcyan on Aug. 12 2005,14:19
Managed to solve my own problem after spending a number of hours on it.Running DSL on a USB thumbdrive w/ that has only a single partition (i.e. sda1). USB-HDD boot type, although I don't think that matters to this problem. Anyway, sda1 needs to be unmounted prior to shutdown for the backup to work. For anybody experiencing these problems, here's the solution: 1) rename your backup.tar.gz to something without a .tar.gz extension (if you can afford to delete it you might as well since we have to replace it) 2) reboot so you have a "backup free" environment. 3) edit /opt/powerdown.sh to unmount /mnt/sda1 prior to backup 4) reboot; new backup.tar.gz will be created and one will not end up with "broken pipe" error messages on shutdown A helpful hint: I cleaned out the powerdown.sh and bootlocal.sh so all they do is call to scripts on sda1 (bootlocal.sh obviously mounts sda1 prior to calling it). That way I can modify the scripts regardless of whether the backup.tar.gz is working and I don't have to remaster the KNOPPIX image. I hope this helps people out; I was unable to find any relevant posts on this isue previously. Posted by Reresh on Aug. 16 2005,09:05
rpcyan, thanks for sharing that. I am using similar setup and have the same problem. I copied over backup.tar.gz for safekeeping, then deleted it on USB pendrive and then modified powerdown.sh to ".......then filetool.sh unmount /mnt/sda1 backup noprompt; fi " Is that what you had in mind? On powerdown it the system reports "invalid back up device". Posted by Reresh on Aug. 16 2005,09:22
Separately - when I try to mount sda1 (withing emelfm file browser), it tells me that /dev/sda1 already mounted or /mnt/sda1 busy.and mount: according to mtab, /dev/sda1 is mounted on /cdrom Of course I read the contents of the USB pendrive by mounting /cdrom. My thoughts are that when running from USB pendrive, its mounted as cdrom. Because my PC doesn't have USB support in BIOS, I am using DSL on CD to boot to boot manager, and the choosing to run from the PenDrive by using "dsl fromhd=/dev/sda1". |