General :: DD To Backup Failing HDD?
Feb 1, 2010
HDA1 is going to die, SMART says its well beyond dead, and I can tell the read/write times have gone up drastically.
I know I can use dd to copy it from a live CD.
1.) If I dd it to something.img, is there a way for me to "work" on the backup copy? Basically, I need to backup ASAP, but won't have a replacement drive for a while, so I'll need to be able to put the changes into the backup.
2.) When it comes time to restore, if I dd it to a larger drive, is there a way to take advantage of all the extra space? I assume I can dd it over and the MBR & Partition Table will go with, so I can use something like gparted to grow the partition to the drive size?
Or is there a better way to make a backup?
View 4 Replies
ADVERTISEMENT
Feb 9, 2010
we have a server that runs a backup (cron job) at 9:15 every night. When I log on in the morning I have mail message that gives me a long list of all the files that were backed up the night before. For a couple of weeks now, the mail message gives me an empty list. Yet, when I run the same job manually from a #prompt, it runs. I am not able to run this job with cron in the daytime because too many users are in it. I wanted to browse the tape to see if the backup is really failing to copy the files or if they are on the tape and the mail message is bogus.
Since the backkup was done with cpio instead of tar, I'm not sure if I can browse the tape with restore -i anyway.What would be the best way to browse the tape on /dev/rmt/1 without actually restoring anything ?This is an ancient DGUX system, not Linux, and I'm not a unix expert I just inherited this server recently, but a lot of things are very similar to Linux and it looked like this might be a good place to ask.
View 3 Replies
View Related
Feb 11, 2010
I am running Live 12 on my CD rom drive of my dying laptop. I have a major Windows registry error on that system and am working to recover my files. I have successfully moved a couple of folders from the laptop to my Seagate Free Agent Drive as a test.What I would like to know is, is there a way to copy my files and folders without literally dragging and dropping each one? We're talking 140 G of folders....sigh.
View 1 Replies
View Related
Jan 5, 2010
I made an attempt to backup my system (karmic koala) using this routine. cd / then sudo tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /
The process of backup went on for a very long time, which is probably normal. On returning to the computer in the morning, it was in suspend mode and would not power on via the usual method,tapping power button. So then I used the reset button, and after booting up a message appears on the top right that reports "Install problem! The configuration defaults for GNOME Power Manager have not been installed correctly. Please contact your computer administrator."
Is there something wrong with the statement that was used for backing up the system? Also when I attempt to login it does not work now either, it eventually returns to the login user selection. So is there a possibility the backup finished and then there may be a chance the system can be restored from the backup file? I have tried booting up with a live cd and could use some advice on how to navigate with terminal to root of the system and see if the backup file exist even, have been unable to get to the root folder(where the backup would be) with the GUI method via live cd.
View 1 Replies
View Related
Sep 15, 2009
I am trying to create a backup script that will back up a single folder for a class i am in. I was wandering if I could get some help. If possible I would also like to know how to write a script that can encrypt that same file . I will be putting the back up in my /home/usr/Backup directory. I am not trying to back up my whole system just a single folder. I am using Fedora 11
View 2 Replies
View Related
May 21, 2011
I'm just setting up a partition on a seperate HDD in my system. I plan to use the partition to backup the important files on my main HDD (to guard against HD crash).
The question I have is about where would be the typical location to auto mount this partition? Which would it be normal to go for:
1. /backup/
2. /media/backup/
3. /mnt/backup/
4. /home/chris/backup/
View 7 Replies
View Related
Sep 13, 2010
Can some one give me a sample of a crontab for backing a directory please, System is Ubuntu 9.04Quote:
#!/bin/bash
# this file is an automated backup script, backup.sh.
# this backs up my domain site.
[code]....
View 7 Replies
View Related
Feb 14, 2010
i installed fedora 11 linux in my computer.but after successfull installation,i see that a message near the taskbar that "A hard is failing". what is that suppose to mean?
View 1 Replies
View Related
Feb 13, 2011
File in question is [URL].. meder@pc:~$ tar -xvjf wkhtmltopdf-0.10.0_rc2-static-i386.tar.bz2 bzip2: (stdin) is not a bzip2 file. tar: Child returned status 2 tar: Error exit delayed from previous errors
I tried to unzip it as well, and I tried a various slew of commands to no avail on my Debian box which has no GUI. I downloaded this on my local desktop ( Ubuntu ) and was able to easily extract w/ my mouse so I'm not exactly sure what the extractor did differently...
View 1 Replies
View Related
Dec 24, 2010
Very strange Grub2 issue on my Dell Mini 10.
Had Crunchbang Statler on it, and after an update, it would hang at grub, before the grub prompt. ("loading Grub, Welcome to Grub" then blinking cursor, but no prompt or ability to get into rescue)
So I booted into a liveCD, chrooted in, and reinstalled Grub2, purging everything. No dice. Same problem.
So I figured the device maps weren't right, so I pulled off any important files via the live stick, and reinstalled #!. Same problem.
Did a bit of googling, and it seemed like it was most probably not a true Grub2 error, but a bios problem, so I reinstalled XP, flashed to a new bios (A11).
Then reinstalled, this time with Zenwalk (figured it might be a debian thing). Same thing. (note I replaced lilo with Grub2 for puroposes of testing)
View 10 Replies
View Related
Apr 11, 2011
I have a 2 Tb drive that Linux is saying is failing, the reason for this is Relocated Secotor Count, should i really worry and why is it happening to such a new drive its only 4 months old I received it on December 30th I woudl think it would not be bad at this point.
View 14 Replies
View Related
Nov 15, 2010
I am trying to dump /var/log/messages using cat command, but it is failing.
Quote:
Command:
[root@greplinux-linux ~]# cat /var/log/messages
Op:
cat: /var/log/messages: Invalid argument
messages file is present in /var/log. When I tried to open that using 'vi' it is saying 'messages' is not a file. First column of command "ls -l /var/log/messages" is '?rwsrwsrwt'.
View 2 Replies
View Related
Mar 19, 2010
I am failing to receive e-mails on client machines. My server has linux Red Hat 7.3. Can you help me with linux command to view sendmail configuration.
View 1 Replies
View Related
Jul 31, 2011
so i'm trying to create a file with the current date as the prefix in the following way (following instructions from a tutorial):
Code:
touch 'date +%F'.log
its creating the file as:
date +%F.log
instead of 2011-07-31.log
[Code].....
what am i getting wrong/missing/failing to understand?
View 5 Replies
View Related
Dec 29, 2010
An external 3½" HDD seems to be in danger of failing” it's making ticking sounds when idle. I've acquired a replacement drive, and want to know the best strategy to get the data off of the dubious drive with the best chance of saving as much as possible. There are some directories that are more important than others. However, I'm guessing that picking and choosing directories is going to reduce my chances of saving the whole thing. I would also have to mount it, dump a file listing, and then unmount it in order to be able to effectively prioritize directories. Adding in the fact that it's time-consuming to do this, I'm leaning away from this approach.
I've considered just using dd, but I'm not sure how it would handle read errors or other problems that might prevent only certain parts of the data from being rescued, or which could be overcome with some retries, but not so many that they endanger other parts of the drive from being saved. I guess ideally it would do a single pass to get as much as possible and then go back to retry anything that was missed due to errors.
Is it possible that copying more slowly — e.g. pausing every x MB/GB — would be better than just running the operation full tilt, for example to avoid any overheating issues? For the "where is your backup" crowd: this actually is my backup drive, but it also contains some non-critical and bulky stuff, like music, that aren't backups, i.e. aren't backed up. The drive has not exhibited any clear signs of failure other than this somewhat ominous sound. I did have to fsck a few errors recently — orphaned inodes, incorrect free blocks/inodes counts, inode bitmap differences, zero dtime on deleted inodes; about 20 errors in all.The filesystem of the partition is ext3.
View 2 Replies
View Related
Dec 5, 2010
I had an Ubuntu 10.10 installation that ran fine for around a month or so. I decided to go out and try to install aptosid (formerly known as sidux) as a dual boot. I couldn't get the desktop to boot in the LiveCD and kept getting an error saying that the nouveau module could not be loaded. I rebooted and at the main LiveCD screen, I added xmodule=vesa xres=1440X900. I was able to get a 1024x768 resolution. I decided that I really didn't like aptosid, so I shut it down and took out the LiveCD. When I booted back into Ubuntu, my resolution changed down to 640x480 for some reason. I decided to remove the proprietary nVidia driver I had installed via jockey. Once it was removed, I restarted. Now, I see no startup splash or a login screen - my monitor just goes to sleep.
I have all my files backed up already, so I decided to pop in my Kubuntu 10.10 LiveCD to install that. Once I choose the "Start Kubuntu" option, my monitor goes to sleep. I tried putting in Linux Mint Debian Edition LiveCD to see if that would work, and I had the same issue. After this, I went for the nuclear option and installed Windows 7 to see if it would wipe out any memory of my Linux drivers from the system. The Windows drivers for my card worked fine, so I decided to put the Kubuntu LiveCD back in and got the same problem. I am currently running a Partition Magic LiveCD, but could only boot into it using the Xvesa option instead of Xorg. My video card is an nVidia 9800 GT - and it has always worked in the past.
View 9 Replies
View Related
Feb 26, 2011
I have Dell rack server. With the network card of five network ports. But I am just using first one (eth0).
Now the problem:
Its connected the internet and the internet is working fine. I also got update using yum.
When I do ifconfig to check its dynamic IP. It also shows the IP(something like: 192.168.x.x), but if I go to services and try to start DHCPd service its fails. Its not starting at all. And If I go to other computer (Windows 7) and try to ping the dell servers IP, I cannot ping it. So since I cannot ping it from other computer, so no one we can have remote access to the dell server.
I dont understand without starting DHCPd how the dell server is getting the IP address.
So I thought maybe DHCP is corrupted so I removed it using yum and reinstalled it using yum, but no luck so far.
View 2 Replies
View Related
Aug 29, 2010
i have successfully installed zimbra on Debian machine but am failing to log in to the console admin. i have used my server name as well as my ip address but both do not work.
View 8 Replies
View Related
May 22, 2010
I run a sever 24/7/365 with Debian 5.0.4 (lenny) GNOME 2.22.3. It seems that the HDD is beginning to fail as it starting to clunk & you can hear it spinning up & down. I had lots of help in setting up the server, and i am not that good with linux...but i am learning all the time I have a spare HDD lying around, and i am wondering if its possible to use it to make a "exact working copy" of the HDD whats failing ? The spare HDD actually has XP on it, but i cannot see this preventing it from being used ?As my knowledge is still very little with Linux, and its important for me to replace the HDD, can anyone point me in the right direction to copying failing HDD ?? Also is it possible to then fit the new HDD into my server and it will work straight away ? This is to prevent any added downtime on my 24/7/365 server.
View 14 Replies
View Related
Jun 3, 2010
First i installed openwsman-server- .2.0-5.el5.i386. Then i installed sblim-sfcb-1.3.7 and sblim provider packages by building the source code. Then i gave cim-xml request directly to SFCB using "wbemcat" and i am able to enumerate classes and its instances. But when i try to give a request to SFCB through Openwsman using the following command "wsman enumerate http://sblim.sf.net/wbem/wscim/1/cim...ComputerSystem --port 5985 -y Basic -u <username> -p <password>" i get a response "wsa:EndpointUnavailable" and in Openwsman log it is displaying the following error message "*** Connection to CIMOM http://localhost:5988 failed with 1null)"
I checked the correctness of the CIM schema specified in the request and both sfcb's and openwsman's configuration files i didn't get any help.
View 3 Replies
View Related
Sep 10, 2009
Squid gives the follwoing error messages when i attepmt to start it:Sep 10 12:33:24 localhost (squid): Cannot open '/var/log/squid/access.log' for writing. The parent directory must be writeable by the user 'squid', which is the cache_effective_user set in squid.conf.Sep 10 12:33:24 localhost squid[3423]: Squid Parent: child process 3446 started
View 3 Replies
View Related
Mar 19, 2010
I have a server which is installed Red Hat linux 7.3. I am able to send mails out but i Cannot receive those sent to me.
View 1 Replies
View Related
Mar 16, 2010
I am using Ubuntu 9.10 and when I tried to send mail from the command line I get: /usr/lib/sendmail: Permission denied. any takers on this.
View 6 Replies
View Related
May 19, 2011
I began the install, Debian 6.0, 64 I get through network config, and everything seems to check out, ifconfig, ping testing to the server it's connecting.I need to look into this further server side tomorrow, but assuming there are no network issues.is there any reason it would not connect to download mirrors? I just did an install on same rack, dell server not IBM, it went flawlessly. IBM is already putting up a fight. So, it's failing to download more content, I end up with no GUI and basic install.
View 1 Replies
View Related
Aug 3, 2009
I seem to have a complex issue on my hands that i can't figure out. first, i wasn't able to get access to my LVM'd hard drives via SSH without half of the content being missing or locked out (read-only or unable to open at all). the problem then went up to being unable to boot up - all i got was a long slew of [100.1234] ata1.00: error messages (they eventually DO stop once they get to around 998.234234 or whatever, and then i can log in and it seems to be "stable").
Part way through this rebooting ordeal i realized / decided to make power-on-self-test stop and wait if it finds errors (via bios) - that showed me that my 750G SATA drive is "bad" and my two (older) 120G & 250G IDE drives are "ok". i then unplugged the SATA drive, rebooted, and didn't see those error messages. however, my LVM was still obviously not coming together (since LVM was made up of the 120G, 250G, and 750G drives)
So, now it seems:
a) I can't boot smoothly with all drives in place
b) I can't do anything with lvm if i remove the 750G sata
c) With all drives hooked up, i can wait 10mins for the errors to go away, but STILL can't do anything with lvm
d) I need to recover the lvm stuff so that i can nicely migrate ALL those files (1.1TB of it) onto a new 1.5TB drive and do away with lvm
This is all running ubuntu 7.10 server edition (32-bit version on a 64-bit computer). i DID post a question on the ubuntu forum as well but so far got no replies at all.
Here's a few pics of the booting process, with one or two "fail" lines showing.
View 14 Replies
View Related
Sep 22, 2010
I have freshly installed OpenSuse 11.3 and it's ok, but online updates is very slow and keeps failing.
Here is my hw spec:
lspci:
View 1 Replies
View Related
Mar 17, 2010
I am not sure which thread this fits in, I am facing a strange problem. There is a code tarball that I cross-compile on a Fedora Core 9 machine and it builds fine. But when I do the same thing on a (heavily used) Fedora Core 7 machine, the build keeps failing in the gnuapp folders grep, coreutils etc. I have tried 'make distclean', and clearing the config.cache but no impact.
Note: I export the PATH variable (to the local cross-compiler) before starting the build. The cross compilation is for the MIPS processor and GNU makefiles are used.
View 1 Replies
View Related
May 18, 2010
using Back In Time to backup my home directory to a second hdd that is mounted at /media/backupThe trouble is, I can do this using Back In Time (Root), but not using Back In Time without the root option. This is definitely a permissions issue - it can't write to the folder, but when I checked by right clicking on the backup directory and looking at the permission tab, it said I was the owner
View 2 Replies
View Related
May 10, 2011
I install and tested Restore EE Backup server on a test PC with basic configuration and its working fine.
[URL]
The issue i have is where is the location these backup snapshots or files are saving? I want to add a separate Storage to save the backup?
View 1 Replies
View Related
Jun 12, 2010
I have been looking for a complete backup solution like "Acronis True Image Backup and Recovery" on Windows for Slackware a while.
View 12 Replies
View Related