Ubuntu :: Backup From An Old Mysql In A Hard Drive?
May 4, 2011
How to backup from an old mysql in a hard drive?I have this HD which used to have an Ubuntu 7.04... However, the system crashed and it is not possible to boot anymore.I have moved the HD to another computer and made a copy for every important file and folder... But I am facing trouble to backup mysql... To copy /etc/lib/mysql doesn't work because it is probably in an older version from the mysql I use on Ubuntu 10.10
I have a fresh install of Ubuntu 10.04 and have configured it the way I like. Is there a way I can make a restore image to use for backups? I know there's software like Acronis for Windows to make bootable images, can you do something similar in Linux?
I have spent considerable time installing and getting my Ubuntu 10.04 LTS (Lucid Lynx) to where I want it. I am looking for something that would BackUp my entire hard drive to a CD/DVD (preferably bootable) --so-- if I crash -or- want to clone to another hard drive I would have the ability to a 'Restore' of the CD/DVD and simply be able to load the CD/DVD to an old / new hard drive and be back-in-business without a lot of hassle.
I've been working at this for the past 2 days now. My computer got some kind of virus or something that has caused it to loop at startup and continually reset. I run an XP OS on a Gateway. I desperately need to backup my files, because the person who had my backup absently deleted my stuff. I was able to boot up using an Ubuntu disc and I'm in it right now, I've found my files, I have an external hard drive. The problem:First, it wont let me paste into the hard drive. If I drag, it says "Error while copying to "/media/FreeAgent Drive". You do not have permissions to write to this folder." I've mounted the external drive, nothing changes.
I've gone in to properties, is says under permissions that the owner is root, folder access is "Access files" and at the bottom is says "You are not the owner, so you can't change these permissions." The drop downs where I need to change permissions is in gray, so I can;t change it.So next, I tried "gksu nautilus", went to the drive through there, and it let me use the drop down selection under permissions. I tried to change the folder access and I got this message: "The permissions could not be changed. Couldn't change the permissions of "FreeAgent Drive" because it is on a read-only disk." So I tried changing the file access to Read and Write. It didn't give an error, so I thought perhaps it finally worked. I hit apply, and tried to put my files in. Once again I got the message from before that said I didn't have permission. I tried to change the owner so it was no longer root and I got "The owner could not be changed. Couldn't change the owner of "FreeAgent Drive" because it is on a read-only disk."I'm getting so frustrated right now. These files are VERY important to me! The hard drive I have is a Seagate FreeAgent desk 500GB
I was busy making backups to my external hard drive just now, but Ubuntu crashed 10 mins into the backups. After rebooting the affected folders are now Read only, and I cannot add or remove anything. This is extremely annoying, I already threw away two USB flash disks because the same thing happened to me in the past. I don't want to throw away the external because it's far more expensive and packed with backups.
Symptoms: I can write or delete a file to the hard drive, in any folder, accept the folders that was being accessed when the computer crashed. I have tried to change permissions, but I get an error. I tried opening a terminal and sudo rm -r that folder, but I get a input/output error. I'm running Karmic. Backups were made by Back-in-time.
Recently, Ubuntu was doing a standard update. It got stuck in some kind of strange loop. So i put the boot disk in cleared the master drive and reinstalled ububtu 10.4. I have a backup 500gb drive that use to keep the contents of my important information for my fileserver. After the completed install and found the backup drive STILL named "FILESERVER" and still has my folders aka: our pictures, our music, and our video. I opened them up and they're all empty. Am I missing some informaton? I swear i didn't format the drive. I couldn't have since the folders are still there. Where are all my files at?
What is the best way to create a complete hard drive backup to restore and boot Ubuntu in case of a crash? Only Ubuntu 10.04 Desktop is installed on this Dell Hard Drive. I searched the forums but no info and now that my install is running so good I want to protect it.
I have set up a Ubuntu box that is a proxy server. Everything works great and I would like to somehow make a complete disc backup of everything on that hard drive, incase it fails. Took me quite a while how to figure out everything and get it working. The box has an 80gb drive, with Ubuntu 9.10 loaded, standard default setup. Could I just install a 2nd hard drive and somehow give it a command to mirror everything to the 2nd hard drive?
I have a script that I'm trying to use to backup my hard drive every night. The full backups are working flawlessly. I haven't figured out the incrementals yet. I thought they were working when I first wrote the script a few weeks ago, but it doesn't seem to be working anymore. I have a long script that I have a whole bunch of statements like this.
To be honest, I'm not a Linux expert and I was really surprised when I started this venture that Linux filing system doesn't have an archive bit like NTFS does and we have to use a file to store the archiving information. But there's the file at /var/log/usr.snar. My theory is I just leave that file for a week so I can create one full and incrementals through the week. Then when I want to create another full backup (when I swap hard drives), I then delete that usr.snar file. I thought that worked a few weeks ago, but it doesn't anymore. When I start my backups, they backup every folder I have listed and not just the files that changed. My full backups are 165 GB, so I'd like to use the incremental feature.
but I have literally just starting using Linux (Centos) in the last week or so. I am using a standalone PC that is not networked, and as I will be downloading and generating a lot of data on this machine, I would like to regularly backup onto an external hard driveIdeally I would likethis to happen automatically as there will be other people using the machine.There seem to be many different ways of doing this, and I am getting a bit confused about the best method to use.
I currently use two laptops: a macbook which dual boots OSX and Ubuntu 10.10 and a Dell Latitude which dual boots Vista and Fedora 14 64bit. I would like to know if it is possible to backup the Hard drive as a whole rather than on a per OS basis. If this is possible a linux program for doing such would be the preferred method as it is common to both machines.
I am open to anything that effectively and reliably backs up both machines respective disks in such a manner which allows for practical restoration. This does not have to be done from one OS though this is my preference.
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.
My laptop has only Debian on it. Except for /boot, the entire hard drive is a giant encrypted LVM partition. It takes Clonezilla 13 hours to back up to a USB hard drive without verification, long enough to make sure backups aren't done much. Is there some way to make an encrypted bare-metal backup of only what is used (except swap) instead of every sector? Backing up across the LAN would be ok.
Does anybody know any programs that might facilitate the spanning of a hard drive over multiple DVDs? I would like to backup a windows system that may have become corrupted however; but I don't know how to automatically span the files over multiple DVDs (which is what I'd like to do.) I may or may not use Ubuntu, but does anyone know any good applications for this?
Have been using mint 11 for past few weeks with no problem but failed to boot correctly. menu appeared giving options for booting but kept returning to this menu without going further so I opted to go for safe booting option, after loading a few files it asked for password but kept giving me the message incorrect password so I could get no further. Fortunately I had a cop of clonezilla and was able to restore a backup from a second hard drive but would be grateful for any observations anyone would like to make about this (in case it happens again)
Recently I built a web server for my clients to host in house. After talking with the web developer they informed me that i needed a CentOS computer with Drupal for them to design the website. This is my first Linux install and after spending hours upon hours configuring the server with FTP, SSH, and configuring our DD-WRT router with proper port forwarding we turned it over to the web designers to start work on the website.
A month goes by and the website is almost done, at this point we go to make a full backup of the hard drive. Due to a hardware problem it fried the circuit board of the hard drive. After attempting to recover the files myself we opted to send it to a HD data recovery facility to recover the information. We have received back a DVD containing the 2GB's worth of data from the CentOS hard drive. It contained 2 folders one for each of the partitions. I can view and see all the files on my windows machine and it appears that all of the data was recovered successfully. I harbored some hope that i could simply reinstall CentOS with the same account information and then just drop the recovered files on top of the new installation and have it start working.
I then reinstalled CentOS on another hard drive in the same computer and used the same credentials for installation. After i successfully booting into CentOS i turned off the machine and connected the hard drive it to my Windows bench machine. After booting into Windows i was unable to browse the hard drive. After doing more research and installing Ext2fsd i was able to see the 2 partitions CentOS had just created, but only able to access the Boot partition. After more research i discovered the default installation of CentOS creates a Raw file type for the 2nd partition and that is why i am having issues reading it inside of Windows.
I then downloaded a copy of Knoppix to see if this would allow me to write the old files over the new ones. After booting up the CD i could only browse to the /boot drive(and im not even sure if this is Knoppix's Virtual /boot or my CentOS /boot).
My question is what would be the best steps to recovery for my scenario? Can the files be placed to the drive and have everything restored? Is the only way to recovery thru reinstalling all applications and reconfiguring from scratch? How difficult is Drupal DB to recover in this type of scenario?
I have been researching the web for a program which will allow me to backup my entire hard drive so that I can restore my system if need be. I am however unsure which is the best one to use if I want to achieve this:Somehow I want to back up my hard drive containing my ubuntu system byte for byte so that if the hard drive were to fail I could simply go to the store, get a new hard drive, restore my backup and be up and running again without having to do any re installments of ubuntu or any other programs for that matter.
What is the easiest program that does this? I would like it to support incremental backup.rsync with the "Back in Time interface"?bacula?
I have installed luckybackup software on my ubuntu 10.10 notebook edition. But I don't know how to use it to backup files to an external hard drive. The Hard Drive is a 1 TB Seagate. I don't think that the Destination Drop down menu in luckybackup even shows the External HD.
We are in the process of pruning our directories to recuperate some disk space.
The 'algorithm' for the pruning/backup process consists of a list of directories and, for each one of them, a set of rules, e.g. 'compress *.bin', 'move *.blah', 'delete *.crap', 'leave *.important'; these rules change from directory to directory but are well known. The compressed and moved files are stored in a temporary file system, burned onto a blue ray, tested within the blue ray, and, finally, deleted from their original locations.
I am doing this in Python (basically a walk statement with a dictionary with the rules for each extension in each folder).
Do you recommend a better methodology for pruning file systems? How do you do it?
I am under orders from She who must be obeyed that I must fully backup her data as she had a loss of information due to a hard drive failure.Presently I am having her make available her info as shared documents on her XP system and I am copying this data over to my Ubuntu (Karmic) desktop. I would also like to have a USB Hard Drive save the information in order that I can safely store this away from a live system.
So far things are working not too bad but She wishes to have all her backup that was available on DVDs and salvaged from posted material assembled as one complete resource. I can with some effort put this into some semblance of order but do not feel like doing the work twice.I would like some method of easily copying / transferring data to the external HD. Additionally I would like to be able to update data daily and be able to with minimal effort have this synced onto the external HD.
I copied my backup disk (3.2 GB) onto my hard drive using 10.4 in order to reorganize my storage, but then I could not trash it.In "file browser" a lock icon appears next to the folder name, and I always get the error message that it can not be put into trash in one step, would I like to delete it? I click on "delete" and no help.Further trial led to an error message that I don't have "permission." I'm the only user.I don't know anything about terminal and not one command, and usually when I ask for help, people provide "code" but no instructions on how to enter it or where.I'm the rawest beginner at terminal,
Image Hard drive Ubuntu Operating system 9.10 Complete back up and restore. Changing over Hard Drives need a complete back up not just save files. So the image can be restored on any hard drive that restores the computer to its original state before it was imaged.
I have a scheduled backup to run on our server at work and since the 7/12/09 it has be making 592k files instead of 10Mb files, In mysql-admin (the GUI tool) I have a stored connection for the user 'backup', the user has select and lock rights on the databases being backed up. I have a backup profile called 'backup_regular' and in the third tab along its scheduled to backup at 2 in the morning every week day. If I look at one of the small backup files generated I see the following:
-- MySQL Administrator dump 1.4 -- -- ------------------------------------------------------ -- Server version`
It seems that MySQL can open and write to the file fine, it just can't dump
I installed mediawiki the other day and went with the default innodb option. However a week later something went wrong. And since I have scripts that nightly backup /var/ I just copied the backup of /var/lib/mysql/wikidb/ (as I've done with MyISAM). Then when I connect the wikidb database. I can see the tables (via "show tables"), but when I do any query with them (check table X, select * from X) I get:
Table 'wikidb.X' doesn't exist I've since read that can can't just copy the database directory like MyISAM, and there appears to be no way that I can find to restore or fix Innodb, without a dump of the data. And I never got a chance to do a mysqldump of the data. So has anybody got any idea how I can at least view the "page" table from the files I've backed up in /var/lib/mysql/wikidb/ ?
I currently have a centos 4.4 I believe running with a 250GB hard drive. I want to make an image of that hard drive. I have tried removing the drive and connecting it to my windows pc using an adapter that would allow my windows machine run the hard drive as it was a regular external hard drive. Of course windows doesn't reconize that drive since it is linux partitioned. I am thinking that I need to have the hard drive inthe box I am wanting to copy and put in a blank drive in the box that I want to copy to. And boot from a live CD and use cat or dd to copy it. I have seen the commands before bust I am thinking this is the only way. Basically I am wanting to have a duplicate of the drive and build a whole new server that is already all setup.I will just change the host name and assign it another Public facing UP. Is this correct? Oh, and the new server will have different hardware. Might even be AMD or intel different from source or destination.
I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
Trying to install Fedora 12 using the 6 CDs. Trying to install on an older x86 box.Problem is that when detecting my hard drive, Fedora 12 recognizes it as a sda hard drive instead of hda hard drive. I have no SCSI connected to my computer what so ever. It's an old fashion PATA Western Digital hard drive.If I proceed with the install, Fedora 12 only installs 200MB of the OS from the first CD only. No options for additional software or anything.