Ubuntu Servers :: Schedule An Exact Disk Copy
May 30, 2010
Best way to do a scheduled backup of a server (PowerPC, Ubuntu 9.10), when an exact copy of the linux partition would be made on a disk of the same size? It seems there are several solution, but I have problems choosing the best.
View 6 Replies
ADVERTISEMENT
Dec 11, 2010
I'm trying to clone a 2GB USB memory stick to another stick just like it (same size and brand). The src drive has three partitions, one fat, one ext2 and one encrypted (in that order). It also has an mbr. I create the clone using the following command:
dd if=/dev/xxx of=/dev/xxx bs=512k conv=noerror,notrunc
Once it's done the mbr, the ext2 and the encrypted partitions seem fine, but the fat one is slightly modified on the clone. Here is a hex dump of the (broken) clones fat partition followed by a dump of the original partition.
"Clone":
0000000 3ceb 6d90 646b 736f 7366 0000 0402 0001
0000010 0002 0002 f800 00bc 003e 0040 0000 0000
[code]....
View 3 Replies
View Related
Mar 14, 2011
I want to backup my server that godaddy is hosting and install it on my linux system at home. In other words I want to have a clone of my server at home, like what timemachine does on mac (carries files and programs from one mac to another to make a clone).
How do I do that? I create an image file an iso file? or what? How?
I want to do this incase my server burns up over there. I don't want to reinstall all the programs and do the set ups manually again.
View 4 Replies
View Related
Oct 19, 2010
I am in the process of cloning a HD. Before I wipe the original drive I was wondering if there was a tool to create something like a md5 hash of the entire drive to verify that I have an exact copy. It does not necessarily have to be an md5 hash and any command line BASH options would work for me as well.
View 1 Replies
View Related
Dec 30, 2010
Id like to know if its possible to somehow copy an EXACT copy of my linux from one computer to "paste" on another!
And how would I be able to do this?
View 3 Replies
View Related
Jun 26, 2010
Create a copy of the file above and call it commands.sorted. Use the vi command to manually sort this file. I.e. use yy to copy a line, P or p to paste a line, and dd delete a line. Order the commands with the two lines starting with double quotes first. Then list the rest of the command in alphabetical order.
Anyone have any ideas what he's talking about? Can I copy a file and rename it at the same time while copying it to the same exact directory again? Now sure what the two lines things means either. I have an email out to him but it usually takes a long time for him to answer me. I got alot of work to do so everytime I get hung up it kills me.
View 2 Replies
View Related
Apr 30, 2010
I downloaded the x86 server version for Lucid twice today. Both times before burn the md5 match those published on the Ubuntu site. I am attempting to install the system on a Dell poweredge 2500. 2x 1.4 gb P4 procs, 1 gb ram, 750 GB HDD (raid) Boot to installer. it goes through the standard language checks, keyboard, checks for cdrom, then attempts to start copying files.
It gets to 17% copy on fs-core-modules-2.6.32.21-generic-di and hangs there for 5 minutes or so. Then comes back with the error that it could not get the file and asks if I want to retry. all retries lead back to this error. As I said, MD5 is exact, burner does not complain of a bad burn, and disk is closed at the end of the burn. so, has anyone else been able to install Lucid server x86? burned four disks today, one pair on two different burners. All fail at 17% retrieving that file.
View 9 Replies
View Related
Sep 19, 2011
I want to copy all files with the name XYZ* into one folder. The problem is that the files are in different subfolders and that not even the depth of the folder structure is the same for all files. Luckily, at least each file has a unique name.
Of course, I thought about the cp command but I guess the depth of the folder structure needs to be the same for this to work.
View 3 Replies
View Related
Sep 8, 2010
this is in the wrong section, but I wasn't sure where to put it. Since the background to my problem is kind of long winded I've split this post into two sections: Short version of problem
I have a PC that has two internal drives: one drive (drive A) is empty, and the other (drive B) has a copy of windows vista installed. At the moment the PC boots from drive A. I'd like to transfer everything from drive A to drive B, so that this new disk will boot and behave nicely and windows will still function.
Is there any easy way to do this in ubuntu? I'm guessing I can use something like dd, but will this copy the boot sector and will I have to mess around with the partition table? Long version of the problem
Today I built a new PC for my dad with two internal drives. He was previously using vista on a laptop which died a few days ago, and I'd like to install vista on one disk of the new PC, and ubuntu on the other disk.
He has a licensed copy of Vista for his laptop, but it came as a "system restore" disk, and so I can't install vista directly onto the new PC. I have an identical laptop to his, so I took out the drive from his laptop, put it in my laptop, and did a "system restore" from the disk that came with the laptop. I then took out the drive from my laptop, and put this inside the new PC. It boots up fine, and I installed all the necessary drivers and etc to make windows work.
Now instead of using a slow/small laptop drive inside the new PC, I'd like to be able to clone the data on laptop disk and this onto one of the bigger/faster internal drives of the new PC. How can I do this from ubuntu, so that the new drive will boot windows?
I'm fairly certain it can be done using dd, but how do I make sure the information in the boot sector (or partition table) is correct for the new drive? I'm asking this because when I put my laptop drive into the new PC initially, I had connected it as an external drive, and when I tried booting from this there was an error, something like "Invalid partition table" (I think). I figured that when I did a "system restore" on my laptop, the drive was the only drive available, so this would be HDA, or SDA in the boot record of that disk. But when I added it to a system where other drives were available, it was no longer at that same location, so the boot loader couldn't find the data it was looking for to load the system.
View 2 Replies
View Related
Dec 6, 2010
Is their a command I could use to do this? It needs to be 32MB (33,554,432 bytes), can be either random data or just a blank file, though random data would be preferable, and well... that's it.
Though also, is their a way I could copy the file in a terminal and it print out the info such as average speed and/or total time it took to complete. I'm trying to fight some bad reviews on this flash drive I bought that performs very well, and since stupid comment vs stupid comment doesn't win anything I need to apparently be the first to actually test this drive throughly.
View 4 Replies
View Related
Jun 24, 2010
Schedule disk scan on boot Ubuntu. How do I do this?
View 1 Replies
View Related
Mar 6, 2011
I'm trying to make an exact duplicate of just a folder (about 15 gigs) and I want to do it a "slow method" (basically I want to avoid any possibility of corrupting files. Is there something more useful than cp, I've been using that and I've noticed at least a few files have gotten corrupted.
View 1 Replies
View Related
Jun 17, 2010
I have Postfix and Procmail installed on Hardy.
Are there any tips/tutorials for sending out scheduled email?
My main use case for this would be sending out a Tweet and an email at the same time.
View 3 Replies
View Related
Sep 1, 2010
I have a 160GB harddrive which I installed a F12, would like to upgrade to a bigger drive, but I hate to have to re-install everything.
Recommend a good disk copy utility? The utility should be able to not only copy files, but boot sector and everything. So I just need to make a copy, change my BIOS to boot from the new drive and run everything as before.
View 11 Replies
View Related
Aug 10, 2011
Is there a way to schedule a task to run on the 1st Saturday of every month? I'm not sure if what I have here will run. I am running Ubuntu 10.04 Server x64
What I have right now is:
# m h dom mon dow command
00 00 1 * Sat /storage/scripts/monthly-script.sh
This looks to me that it will only run at midnight if a Saturday is the first of the month. But if that's the case then that's not quite what I'm looking for...
View 2 Replies
View Related
Mar 27, 2011
i have amd athlon x2 3gb RAM ddr2 two hdd one 80gb other 1tb in this computer i got only ubuntu all disk in EXT4.i want to copy 10gb many file of 700mb or 1gb ( many linux ISO )the transfer is 1mb/s this is SOOO SLOW.i did a touch /forcefsck just in case but nothing happen it is still slow!!what might be the problem ??
View 1 Replies
View Related
Feb 10, 2010
Just curious if it is possible to schedule a complete system shutdown and start up?
My box with ubuntu server on it is only used as an ssh/proxy server, so I would like save on energy costs and add a layer of security by completely shutting it down during the hours I do not use it.
View 5 Replies
View Related
Nov 11, 2010
I have setup Rsync as a daemon on a Ubuntu 10.04 box and the setup was successful. Here are my configs
Code:
root@hurricane:`# nano /etc/default/rsync
# defaults file for rsync daemon mode
# start rsync in daemon mode from init.d script?
# only allowed values are "true", "false", and "inetd"
[Code].....
View 6 Replies
View Related
Sep 20, 2010
I did a search and came up with many different opinions and suggestions, and I could not find any similar threads for this (if there is I must apoligize in advance and did not look hard enough). I am trying to create a backup schedule for client computers and servers; and I would like your opinion on what I came up with. Here is network infrastrusture setup:
16 client computers
6 serevrs
- Primary and Secondary Web Server (RAID 1)
- Primary and Secondary Domain Controller (RAID 1)
- File/Print Server (RAID 5)
- Backup Server (RAID 1) with USB 2.0 1TB External Drive
Of course I will evetually upgrade to Tape Drives, but I am saving up for that. Anyways I want to backup ALL client computers, Primary Web and DC server, and File/Print Server. This will be done (of course) on the Backup Server) Here is the schedule:
[Code]..
View 2 Replies
View Related
Aug 17, 2010
S.M.A.R.T.tells me my primary fedora drive has lots of bad blocks,so I ordered a used identical drive from ebay.I want to do the very basic process of making a full backup of my existing drive - so as to replace it with a more or less identical replacement. Logically identical - not necewsarily sector to sector identical.im not literate in unix and its children - and seem to find a plethora of descriptinos of how to do what I want to do. which is
1. format the drive - what you may call low level format - ie op sys independent.
2. create a partition system compatible with my existing disk.
3. copy everything from my existing disk to the new disk.
4. put existing disk on the shelf as a backup and start to use new disk.
View 2 Replies
View Related
Sep 23, 2010
I want to copy hard disk have ubuntu 10.04 and ext4 to 1000 hard disk for new 1000
View 2 Replies
View Related
Jan 19, 2010
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:
Code:
-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version`
[code]....
It seems that MySQL can open and write to the file fine, it just can't dump
View 3 Replies
View Related
Jan 14, 2010
i have switched disks and i want to copy my old notes from my old disk to new disk.so which folder does tomboy saves data so i can copy them over?
View 3 Replies
View Related
Jun 28, 2010
I have an SiI hardware SATA RAID card, with two 500GB disks in mirrored RAID configuration. When I first plugged them in and set it up, things seemed to work ok, but on boot the raid controller told me that the RAID needed rebuilding, and it would happen automatically after POST. So I didn't worry about it, and the drive mounted fine, and it's been that way for years. I just went in and manually on-line rebuilt the RAID in the controller's BIOS, and now when I boot into Ubuntu, both disks show up in fdisk, but neither show up in /dev/disk/by-uuid. Am I missing something?
View 9 Replies
View Related
Feb 16, 2011
i have an old copy machine (canon gp225). the hard disk makes a whistling noise and i suppose it is just a question of time when it will bust.i do have some stone-aged computers here and i think i could use one of this hard disks as a replacement.how do i get the operating system (probably unix/linux or similar) plus the content of the boot sector plus the software on this new hard disk? i think if i could do a one-to-one copy i might have a chance that i could replace the old hard disk and it will work.
View 2 Replies
View Related
Jul 17, 2010
I spend the vast majority of my time in Ubuntu, but every so often I still encounter the odd errand that requires a free copy of Windows that came with my hardware.
So I have Windows 7 on my laptop which I like slightly better than XP and a whole lot better than Vista. I am not in there a lot besides that its required for a web design class and sometimes for a few stubborn games, but I would very much like to copy my Windows 7 partition to a 100gb partition on my TB HDD.
How do I do it? Keep in mind, I am barely two tiers above noob on a scale of 1 to 20. I am working on it though.
I also want this partition to be bootable. I dont care if I lose the rest of the data on the disk. I want to redo everything anyway. I definitely want it to boot though, not just for the data to exist.
View 9 Replies
View Related
May 6, 2010
I am unable to copy video cds on my hard disk.yet they play in xine,the cds are in ISO9660 format and i am using 10.04 lucidlynx(gnome).
View 9 Replies
View Related
Jun 1, 2010
Does anyone know if this is possible? I am attempting to copy one "master" hard drive to two or more "destination" drives. I hope to use the DD command because the master drive is encrypted and I need to make exact copies to "destination" drives.
I have used dd if=/dev/sda of=/dev/sda and it works for one-to-one operations. I tried dd if=/dev/sda of=/dev/sdb of=/dev/sdc but the command skips the of=/dev/sdb and copies to sdc....I knew that was going to be too easy
View 14 Replies
View Related
May 2, 2010
I'm running Lucid RC with all updates and Brasero 2.30.0. I can't do a disk copy with this program. It gives me an error that not all libraries are installed. It first gave an error that cdda2wav was not installed but that is not true and now I get this general error. I'm installing K3B as we speak but I prefer to keep a straight Gnome installation.
View 9 Replies
View Related
May 17, 2010
I just bought a new 2 TB hard disk to replace my old 175 gig one. I currently am dual-booting Lucid Lynx and Windows 7, and rather than go through the process of reinstalling both, then reinstalling all my programs, settings, and everything, I was wondering if there's a way I can just copy the partitions on my 175 GB disk to the new one, grow them to fill up the rest of the free space on the new 2 TB disk, and then plug that HD into the primary master plug on my motherboard... will that work?
View 4 Replies
View Related