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.
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
I would like to run a copy of my live webserver in a Virtual PC on Windows so whenever I need to install new stuff on my webserver, I can "practice" first on the virtual copy.It doesn't need to be an exact copy: I'm not really interested in having a copy of all domains on the webserver.Is there a way to do that without having to take the webserver offline?
Does anybody know of a program that can make make images of the entire hard drive while it's in use? Like Ghost and Acronis can do? I have a production ubuntu system that I need backups of, however, I can't power it off.
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'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.
I switched last summer from Windows (used it since Windows 95) to Debian. I'm using Debian Jessie for a couple of months now and I'm getting used a little.
There are problems here and there, but I can solved them with some reading on the web. Not really a big problem...till now
I run Debian 8.2 om my PC (PC1). Bought an older PC (PC2) that I want to use as a backup server.
I'm using PC2 only for making backups, after the backup I switch it off again.
So I installed Debian 8.2 (net-install without DE and with SSH) on PC2 and tried to configure it to let it work as my backup location. Made a public SSH key and exported it to the root account (no problem) and to the user account (sensdeb), but there was an error "Access Denied"
Gave the user (sensdeb) sudo-rights via visudo file
# User privilege specification root ALL=(ALL:ALL) ALL sensdeb ALL=(ALL:ALL) ALL
I installed rsync.
The problem is that Rsync only works when I use the root account.
I don know how to give the user sensdeb the rights so that I can use that account for my backup tasks. Now it's possible to sync with the root account, but that should not be the way to do it, I read many times.
I have a Linux server running Debian 5. I need to get it backed up. I have worked with tar in my past Unix days. I've read that there are some limitations to tar though since it is intended for tape.
My server would need to backup to a Windows server share. From ther it will be backed up to an offsite location. Can anyone make a recommendation for what to use? I would like to take a full backup weekly and then a incremental daily.
This is not a regular backup. I only want to backup selective directories so personal files (photographs, documents, sourcecode) will be kept safe in case of a total system meltdown. This'll be 15GB max. Basically the digital variant of a fire resistant safe. I looked into duplicity but that requires me to install gpg keys on the target machine, which I can not do. I rather have a solution that just relies on just a working shell account and diskspace on the target server.
I thought of writing a simple script to do the following: 1. Mount remote server with sshfs 2. Mount encrypted container at remote server (LUKS, TrueCrypt?) 3. Loop over predefined directories on local machine and copy to encrypted container (rdiff-backup?)
Based on these requirements: - Target server is "dumb": only ssh access + diskspace (i.e. no installing of gpg keys) - Encrypted container should grow/shrink to fit contents - Encrypted container should be easily decryptable on any OS if you have the password - Once data leaves client server it should be encrypted: sysadmin on target server should never be able to see unencrypted data.
This script simply deletes files older than a certain age (in this case 7 days) from a certain location; I use it to purge old backups nightly, and it works as expected:
# delete backups older than 7 days find /mnt/backup/* -mtime +7 -exec rm -Rf {} ;
The problem is, every morning I get an email with an error message something like this:
find: `/mnt/backup/subfolder': No such file or directory
Does anyone know of any decent enterprise level backup solutions for Linux? I need to backup a few servers and a bunch of desktops onto one backup server. Using rsync/tar.gz won't cut it. I need like bi-monthly full HDD backups, and things such as that, with a nice GUI interface to add/remove systems from the backup list. I need basically something similar to CommVault or Veritas. Veritas I've used before but it has its issues, such as leaving 30GB cache files. CommVault, I have no idea how much it is, and if it supports backing up to a hard drive rather than tape.
i just wanted confirmation that what i've done should work, here's the deal, i want to make a backup of my entire linux installed system using tar and gzip, tar to keep it all nice and ordered and to preserve the permissions, and gzip to compress the resulting file.
now down to business, i have booted into an arch linux install CD so as to have a command line separate from that of my standard installed system, my HDD layout (as mounts in my installed system) is like this
Code: /dev/sda1 /boot /dev/sda2 swap /dev/sda3 / /dev/sda4 /home /dev/sdb1 (unknown partition on external HDD left over from fiddling around) /dev/sdb2 main storage on external HDD
I am now preparing myself to upgrade lenny to squeeze and decided to do a backup on my system. I used backup-manager to do the job and it worked fine. how do you restore said backup data?
I know, it's a common Problem but I just can get it right. Im pretty new on Linux and some Commands confuses me a lot. Though, I managed to made me a root account to read any files on both HD. But I still cant write on the external HFS+ formatted HD. ReadOnly Filesystem. I cant set up an internet connection in order to install files. Is there some workaround?
MacBook 5.1, Live-CD Ubuntu 9.10, external HD via USB
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?
I want to restore a HDD image I have to my laptop's HDD while booted off the Ubuntu Live CD.The laptop's HDD is unformatted and has no partitions.I expected this to work:$ sudo dd if=/path/to/backup.img of=/dev/sdaBut I'm tolddd: opening `/dev/sda': Permission denied.
I am researching how to make an effective backup on Ubuntu Server. This server will have Vsftp, VPN, Samba stuff , many other added packages +many printers, many users + data. I know I can use tar for the data /u no problem. 1. I was testing tar on the /home directory on a few user directories. I then created a new directory and did a restore of the users directories on it. I noticed the /home/user owner and group were root. The files in each directory remained the same. This gave me concern. If I had a crash and had to restore these to a new HD. I would have to change these, what else would I need to change? 2. Since I have many config files, how do I back up them? I know I can do a dump, but then users shouldn't be on the system. The system files will change as they add users, printers, etc, and asking users to not work, is not really an option while dump is running. I thought I could do a tar on whole system. (cron late at night .. not as many users) Then in event of crash of HD.
1. Boot from live cd 2. format the new drive 3. tar back in the whole system
Will this work right? Is there something I am missing?
I can't seem to find this anywhere. I have burned Debian 5.06 for i386 and trying to login when running the live cd. What is the username and password to get in?
edit.... I found 'user' and 'live' but they don't work.
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.
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.
I plan on creating a backup of my Windows installation using DriveImage XML (unless you have a better idea ) then wiping my hard drive clean, creating a new partition for the backup install to live, and then installing Ubuntu on another partition. Is there a method of restoring my Windows backup to partition 1 by using the live cd? Then of course I can install ubuntu to partition 2.
I need little help on live disk creation and disk image backup.
Can I create live disk using my hard drive installation? If yes then, can I restore the fedora from the live disk to the hard drive. I mean to say that from that live disk can I install fedora again in my hard drive.
Second question is, if I create the disk image of my hard drive( including ntfs & FAT32 partition) , can I restore it in a blank drive. If so , then can os will be restored also?
I can't seem to get rid of this ghost window on my desktop. Whatever it is, it makes it unable to move the Desktop Folder around also. Easy fix I'm hoping?
I would like to have your opinion on the problem : I created a ghost of my server RHEL4 with RAID 1 and 5, then I wanted to reinstall it on a virtual server under vmware.
So I restore the image on a virtual disk and qand I restart I still have this problem :
I started in linux rescue mode F5 I reinstall Grub on sda
I modified the modules.conf file to change the BusLogic SCSI, but this module is not in the kernel I used kudzu to reconfigure it doesn't works...
We have a Fedora11 installation that we Ghosted (Norton Ghost) to a bigger Hard Disk because the old one was failing
I know there is an extra step for linux where you fix fstab because it points to all the wrong locations, could someone walk me through this or link me to somewhere that can walk me through it?
Do I need to do this editing from a Fedora 11 Live CD (as its gone missing) or will a Fedora 13 CD do the trick?
there i have a computer running ubuntu 9.10 set up as a server in my classroom. I have ftp http and an internal mail server set up on it as well as other settings. I really want to make a copy of the system so i have a back up of the os. i have figured out that i can attach a hdd to the computer and copy the os via the command line with an ubuntu live cd but this only works as long as the computer that is receiving the backup is exactly the same or the same computer. I would like to transfer the image to a portable hdd then install the os onto virtual box ( a virtual machine). Is there a way to do this without buying expensive software.dose ubuntu 9.10 have a product similar to Norton ghost.
I'm having a problem which seems restricted to Fedora. I'm trying to install Fedora 10 on a dual boot system. I have Windows 7 RC installed. When I boot the live CD to run Fedora, my screen ends up displaying Fedora on the left half, and bits of the Windows shut down screen on the right. I cannot access the Fedora menus, they are pushed off to the left out of view.
I previously experienced the same problem with an earlier version of Fedora, with the HD loaded with Ubuntu and Win 7 beta. Fedora would boot but display either the last Ubuntu or last Windows screen to the right, whichever had been running last. No other version of Linux exhibits this behavior that I have found, but my experience is limited. Is there a particular procedure that I need to run to get Fedora to use the entire video display? Does Fedora need to be installed first?
Hardware is: ASUS P5E VM HDMI, using the integrated graphics, display is a 32" LCD TV HDMI input, hard drive is a Samsung 500Gb.