Server :: Way To Backup A Web Server With One Hard Drive Running Live?
Mar 13, 2011
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.
View 12 Replies
ADVERTISEMENT
Sep 11, 2009
I'd like to know what solutions do you, people, use to backup a live system that acts as a small home mail/file/irc/web server and some other purposes. For example, right now, to backup the mail, I have to stop fetchmail, kill vixie-cron to avoid any problem and then do the backup. Then restart vixie-cron.I wonder if there's any solution that will leave me do the backup without all this hassle.
View 3 Replies
View Related
Jul 3, 2010
pls suggest me how to mirroring two hard disk drive in rhel9 server.i can do raid on those hard drive but user requer mirroring.so pls help how could i do this, mirror two hard drive.
View 2 Replies
View Related
Nov 1, 2010
I have a live production server with different partitions that I would like to backup/ghost so that if the server crashes, I would have an easy way to restore it. My server is running Debian Lenny, it's got 2 x 2TB hard disks in RAID1 mode.
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 4.6G 1002M 3.4G 23% /
tmpfs 1.7G 0 1.7G 0% /lib/init/rw
udev 10M 744K 9.3M 8% /dev
tmpfs 1.7G 0 1.7G 0% /dev/shm
/dev/sda1 122M 15M 102M 13% /boot
/dev/sda6 4.6G 289M 4.1G 7% /home
/dev/sda8 942M 18M 877M 2% /tmp
/dev/sda9 1.8T 3.9G 1.7T 1% /var
As you can see, total disk usage is about 5GB. I can transfer that to another server on the network.What would be the best way to perform a complete backup without stopping the server and how could I restore that backup in case of emergency ? After browsing the entire Web, I couldn't find the answer that would make my life easy, so I give it a try here
View 6 Replies
View Related
Jul 23, 2010
I have two identical 160GB hard drives and I'm planning on setting up a server, probably ubuntu, for Glassfish, mysql and subversion. ince I'm using those applications I'm assuming I should have a large var partition for mysql, and /opt for glassfish and I'm not sure about subversion. Is there a good partition layout you can suggest for me for my 2 drives?
View 1 Replies
View Related
Jan 31, 2010
How to backup incremental running debian server using rsnapshot?
View 2 Replies
View Related
Apr 2, 2010
I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.
I have installed Ubuntu 9.10 server x64 and have got apache running.
I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.
View 4 Replies
View Related
Sep 11, 2010
I have been trying to install centos on my hp servers and when i get to partitions my hard drives the OS does not detect any harddrives. I have 4 scsi drives and i believe a intergrated smart array controller.
View 1 Replies
View Related
May 3, 2011
A question that I've asked myself (and google) many times but never got to an answer.Scenario:ServerA) postfix Primary MXServerB) postfix Backup MXAccording to the rfc a source mailserver can decide where to send email e.g.send an email to backup even is primary is reachable up and running.So my questions are: 1) how do I (live I mean) replicate messages arrived on any server to the other?2) How do I synchronise sent messages, message deletion, folder creation/deletion.Imapsync goes half way towards the solution but it needs to be run manually one off and you must specify source and destination.All I wanted really is a user to be able to use either server without having to worry about primary/secondary or what so ever.
View 4 Replies
View Related
Jan 14, 2010
I need to backup my active production servers (yeah it's too late now) with image cloning application that were running RHEL3-5. The problem is I need to run it remotely from my office. Most of the software I found either need to use bootable cd or need to unmount my partitions which is I wasn't allowed to since it's a production servers. I also tried dd but it consume too much time, sector by sector cloning and empty disk space also included so the file created also big in size.
View 4 Replies
View Related
Jun 8, 2010
I'm using a dell XPS M1530 laptop with windows vista and ubuntu 10.04. Last week when I turned on my laptop I got an error saying internal hard disk not found. When I called dell support, I have been told that my hard disk is dead. I have few important stuffs in my hard disk for which I don't have any back. So I tried using ubuntu live CD to back up my data as in the link below.[URL]..I'm using ubuntu 10.04 live CD(64 bit). When I go to my places after booting from the live CD I can't see any partition showing my hard disk. I can see "Computer". When I go in it I can only see "File System" and nothing related to my partitions in my HDD. What should I do now? Do I need to mount my hard disk or is my HDD completely dead?
View 4 Replies
View Related
Oct 8, 2010
i have centos 5.9 running on my server and i have to take backup of my entire data from the different server.This one I want to make it as backup server. I need few informations about the tap drive
1.Which tape drive is good also compatible with Linux (centos ), pls send me the link
2.How to take backup into tape drive , good if you send any doc.
3. Any backup software which is kind of opensource
View 5 Replies
View Related
Jan 13, 2011
This is a good way to backup my current system:
How to backup your system to restore your server incase the hard disk is damaged.
View 6 Replies
View Related
May 31, 2011
I have a headless ubuntu server (10.04 x64) in the attic that I use as mostly as a file server for media streaming and backing up other PCs on the home network. The box doesn't have a display, keyboard or mouse connected and is in a location where it's physically difficult to get at.
I'm mostly looking at a solution to protect the system if it were physically stolen(hopefully this is very unlikely) so that I could have a reasonable confidence that no one could boot a live CD and steal any private documents on there.
I don't feel like I need to encrypt the root file system (and I don't want to reinstall!) as most of the data on the system isn't sensitive (MP3s, video files etc).
I would like to protect the backups of the other systems as they have some personal documents etc on them,
I need to also balance this with convenience as I need the backups to continue to be automatic or they most likely won't get done at all.
Currently I have a samba share called "backup" that is password protected and points to /media/backup where a 2tb drive is mounted, this drive is used just for backups from the other systems so I would like to encrypt the whole drive.
I realise that I can't have the drive mount completely automatically as it will then be accessible to anyone who can boot the box. The compromise I would like would be that the drive is encrypted and then either:
1.) I log in via ssh and enter a command to mount the drive which prompts for a passphrase - drive stays mounted after I log out until manually unmounted or the system is rebooted
or
2.) On boot something runs automatically which then prompts me for the passphrase when I next connect via ssh - again the drive stays mounted after I log out until manually unmounted or the system is rebooted
I would prefer 2 as then I am less likely to forget to mount the drive after a reboot.
I have seen several tutorials using LUKS to encrypt the drive and manually mount but am wondering if it's possible to achieve 2. Also wondering if there are any implications for samba if the drive is not available straight away at boot, would I need to restart anything after mounting the encrypted drive for example?
View 8 Replies
View Related
Jun 21, 2011
iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.
View 14 Replies
View Related
Mar 26, 2011
I cannot understand why a NFS server is so hard to get running..i tried everything.. googled and searched the forums to find guides and HowTo's but none of the works all i want is the server sharing /media (and all subfolders)everyone with access to the server from my should be able to mount the shares and use have all permissions on the shares..Now when i try the above guide, i can mount the share on the client but the subfolders are empty.
View 1 Replies
View Related
Jul 20, 2011
I have an old unuseable computer at home that became useless after a hard disk failure. I don't want to spend money on buying a new PATA IDE HDD for it, so I was wondering if I can use a PXE boot server on my notebook (using a virtual machine with Linux) and boot a Linux on the old machine with PXE without using Hard Disk. It is possible? Do I will need to make some extra configuration or use some specific enviroment do do this?
View 1 Replies
View Related
Oct 10, 2010
I just installed Ubuntu 10.10 server on my server computer. I have all my files on separate hard drives and am trying to find them (I am fairly new to linux). These hard drives were unplugged during the installation. After I was done installing I shut it down and plugged them in. They are NTFS format. Will they automatically mount? If so where are they? If they do not automatically mount how can I mount them?
View 1 Replies
View Related
Oct 27, 2009
I have a linux box that I'm using as a ADSL router (slack 12.1).Until recently I had two hard drives in it, one for linux, and one for storing movies, music, etc.So, I have just bought another 1,5 TB disk. My plan was to add it to the same mount location: /opt/abram to expand my storage disk, only to come to conclusion that this can't be done. OK, it actually makes sense, if I thought about it I would realise it before. Anyway, what else can I do? Is there a way to add new drive to existing one in a way that would result in one 2,5 TB drive?
I tried it with mdadm, but as it turns out, it's impossible to crate RAID 0 without loosing all the data on sda1 disc.Also, it would be very cool if I could find a solution that would enable me to one day add a new drive to further expend my storage.I'm aware that I could mount my new disk to, let's say /opt/abram/Divx, or /opt/abram/mp3, but that's not the solution I'm looking for.
View 5 Replies
View Related
Jul 16, 2010
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?
View 5 Replies
View Related
Nov 4, 2010
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.
View 4 Replies
View Related
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
View 3 Replies
View Related
Dec 3, 2010
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.
[Code]...
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.
View 2 Replies
View Related
Mar 18, 2011
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.
View 2 Replies
View Related
Jan 26, 2011
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.
View 5 Replies
View Related
Jun 20, 2011
My servers (10.10) motherboard has failed so to access my data I've taken the hard drive out and tried to connect to it via my ubuntu desktop (10.10). I've tried it in a hard drive caddy and installed in my pc, but could only see a 255Mb Filesystem with a few folders and files on it. how to mount the portion of the disk that I can't see? Ie. the part with all of the data on it.
View 7 Replies
View Related
Nov 20, 2008
I'm connected remotely with Putty to a linux server and I need to get the files from a directory on the server onto my hard drive on my laptop. I don't know what the secure shell command is to download it or what exactly I need to do so I can get these .root files from the server copied onto my local hard drive.
View 2 Replies
View Related
Jan 18, 2010
I am looking to buy a USB hard drive that will work with Ubuntu 8.04 LTS Server, is there anything I need to look out for? Are there any computability issues I should be aware of? I have looked through Ubuntu's documentation but couldn't really find anything.
View 3 Replies
View Related
Jun 23, 2011
Any basic description of how linux assigns drive letters? I understand that a drive letter assignment is not static. If I add a drive between /dev/sda and /dev/sdb, my /dev/sdb will become /dev/sdc and the new drive will become /dev/sdb. I have a hot swap tray and have come into some unexpected behavior. I removed /dev/sde from the hot swap tray and then loaded another drive into this same tray. When I mounted the new drive with options in fstab, it wouldn't mount because the new drive was /dev/sdf, not /dev/sde. Apparently, linux is looking at the id of the drive in addition to it's place in the BIOS chain.
My fstab entry is:
/dev/sde /backups auto noauto,rw,noexec,async,user 0 0
I was avoiding using UUIDs in the fstab so that new HDDs would not have to be "registered" in the fstab prior to use. Is there a way to tell linux (or fstab) whatever drive is plugged into SATA channel X mount to /mountpoint?
View 4 Replies
View Related
Jul 8, 2011
By using ISO2USB for CentOS/RedHat I installed with out having to burn A single cd or dvd. Super easy and free from source forge. Link[URL]... Unplug the USB drive and take it to the machine to be installed.Reboot the machine and choose USB boot option in the BIOS boot menu. Choose Hard drive installation method and select /dev/sdb1 as partition that holds ISO images. Use sda drive for installation and choose to review the partitioning layout. In advanced bootloader options, change drive order to "sda sdb". Proceed with the installation.
So easy it should be a tool in every admins box. I hope I saved you some time and headaches.
View 1 Replies
View Related