Ubuntu Servers :: Reboot The System With A Linux CD To Do The Backup?

Mar 1, 2010

I have a personal ubuntu server that provides apache, glassfish, firewall, routing, email, CVS, MySQL, etc.... This server has been running for a while with two hard drives configured into a RAID 1 array. The array has two partitions, one for swap and one for the data. I currently back up the data with a removable hard drive. I use dd and create an image of one drive and the MBRs (partition tables) of each drive.In a disaster situation I can use this data to recreate one drive and then re mirror it to the second, or just boot the back up.I like this solution because I can easily recover from bare metal, and the backup is transparent. I can browser it if needed since its an uncompressed image of the drive. The one drawback is that I need to reboot the system with a linux CD to do the backup.

My hard drive space is almost at capacity. So what I want to do is add a third drive to the array and migrate it to RAID 5. However this will cause my current backup method to no longer work. How can I back up this RAID 5 array. I need to back up the entire system, and not just the data. I have made many tweaks to the system over the years that it has been running that I can't lose if a restore is needed. I have seen a large thread here that people have been using tar. My concern with tar is how do you use a tar archive to restore a system to a new array. Im assuming that you would need to setup the array and then just restore the archive? Also, i don't have much faith in using tar on a running system. Doesn't this open yourself up to corrupted backups? My second idea is using rsync. While I consider myself experienced in linux from 10 years of personal and professions use, I have not had much experience with this utility. Would rsync provide a more reliable way to backup a running system that would enable a bare metal restore later? I once read something about people using rsync with hard links to create a backup that could store many incremental backups.My main concern with both rsync and tar is not being able to restore the OS to the state that it was in at the time of the backup.

View 4 Replies


ADVERTISEMENT

Ubuntu Servers :: Backup System To Hard Drives?

Oct 12, 2010

I currently have an Ubuntu 10.04 Server with 10 2TB hard drives (Hot Swappable). I discovered that having a software raid over 16TB is not supported, so I split the drives into 2 sections and have 2 Software Raid arrays storing my movies, audio, pictures, and other software. The total current usage is around 7TB.
Since backing the files up to DVDs or even BlueRay is laughable, I am going to backup the system to 2TB hard drives probably 4 of them, the problem becomes that I can only hook one backup drive at a time into the system using a hot swap tray. Now I know that I can do this manually by copying the files one at a time to the drive until it is full, switching the drive out and repeating this, but I am hoping for an automated solution, Start backup, plug first drive in, system fills up drive, swap and repeat. Also it would be nice if the system remembered what had already been backed up so when I add files to the system, I only need to attach the last drive and not start the process over.

View 3 Replies View Related

Ubuntu Servers :: Change Web Addresses Of Apache For Backup System?

Dec 12, 2010

I have tried several places for help but I am getting no where...Here is my background.I have spent all weekend to replicate my development server back at home. I have an Apache remote server with 3 IP based virtual hosts pointing to

[URL]

Now I have been able to set up a VM on my desktop, installed the OS, the applications, the db server, apache etc. Everything is looking good so far. So right now I have,

[URL]

So when I go to 192.168.0.111, I go to [URL] so I guess apache is working aswell.What I want to do is, instead of going to [URL] I want to change it to another address such as a.me.add1How can I do this? I am looking through the virtual hosts section, I have changed server name entry etc but its not working.Can you tell me in big picture what I would need to do to set that up? My current set up doesnt really help me much once the site get the www address.tell me if Document Root of IP address 192.168.0.111 points to [URL] will it always resolve into that webaddress. That is if I enter 192.168.0.111 the browser will redirect it to [URL].

View 3 Replies View Related

Ubuntu Servers :: Backup Including System Files - Boot From Live Cd?

Apr 22, 2010

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?

View 3 Replies View Related

Fedora Servers :: Create A Backup To A Remote File System?

Jun 26, 2010

Attempting to create a backup script to copy files from one file system to a remote file system.

When I try this I get:

Quote:

# tar -cf - /mnt/raid_md1 | gzip -c | ssh -i ~/.ssh/key -l user@192.168.1.1 "cat > /mnt/backup/fileserver.md1.tar.gz"
tar: Removing leading `/' from member names
Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh: Could not resolve hostname cat > /mnt/backup/fileserver.md1.tar.gz: Name or service not known

[Code].....

I know that the remote file system dir is RW and the access is working fine. I am stumped...

View 3 Replies View Related

Ubuntu Servers :: Mysql-admin Won't Schedule Backup But Will Manual Backup

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

Ubuntu Servers :: Ubuntu 7.10 LDAP / Unable To Log In To The System After Reboot?

May 13, 2010

So I'm doing some tests to see if I can create a LDAP server + Domain controler with Samba on Ubuntu 7.10. It might seem weird to use such an old release but I've seen a few guides on that particular version and I thought I'd give it a tr using this guide

url

So far I'm good until I modify the pam.d and nsswitch with auth-client, after reboot I'm unable to log in to the system and I'm forced to go into safe mode and restore the backups of those files.

What should I be looking for to prevent this from happening? I'm assuming that it's essential to modify these files in order to enable the LDAP authentication on the server.

View 1 Replies View Related

Server :: Incremental Backup In Linux

Sep 18, 2010

A complete back up using tar takes consumes more time. so is there any way to take incremental backups using tar.And i also want to take incremental backup dump of my databases too.Any suggestions and links will be very helpful.i keep on googling for this,but could find any exact for this.

View 14 Replies View Related

Software :: Backup A Few Servers And A Bunch Of Desktops Onto One Backup Server?

May 10, 2010

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.

View 7 Replies View Related

Debian :: Backup Linux Installation And Restore On New HDD

Jun 10, 2015

I have Lenovo IdeaPad z510 laptop.My HDD SMART status is currently "failure". As my laptop is under warranty I can return it to lenovo. So I want to backup as much data as possible (everything is readable). I currently have 3 operating systems: linux xubuntu 14.10, debian 8 and windows 8.1 (triple-boot?). I want to back up only my current debian installation. There are 3 partitions for debian: root (about 50GB), home (>200GB) and swap. I know that I can backup the whole partition using:

Code: Select alldd -if=/dev/sdaX -of=/locaton/of/backup -something

And create .tar file with the whole home directory.

how to restore it later. In /etc/fstab there are references to UUIDs, and as I understand, with new HDD these UUIDs would be different. And possibly the whole partition table would be different. And how would I restore GRUB?I can't make full image of my disk simply because I don't have disk to store it on.Is it possible to create backup on my current debian installation without actually making full HDD backup? Would it work if I would install debian on new disk, then from LiveCD overwrite it with my backup and modify /etc/fstab to match new partitions?

View 14 Replies View Related

Server :: Tape Drive Backup Linux

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

General :: Backup - Zip Selected Directories Recursively In Linux

Jun 25, 2011

I would like to zip only selected directories(and its child directories as well)I have many directories in the current folder like app, content, db, library etc.But I would like the zip only app and content and its child folders. I am trying the following.

zip -r ../backups/code/20110625 -i app/* -i content/* . *

But I am getting the following error. zip error: Invalid command arguments (nothing to select from)

What is the correct syntax to achieve this?

View 1 Replies View Related

General :: Backup Linux From Acronis True Image Home?

May 19, 2011

I have a a software "Acronis True Image Home".Is it possible to backup CentOS Linux?on Windows do I need to create a bootdisk from Acronis and then boot it up on linux server?I wanted to copy all the files from Server to External USB Hard Drive or via FTP

View 4 Replies View Related

Ubuntu Servers :: Mixed Linux And Windows Servers?

Oct 30, 2010

Now that I have more computers I am looking at new solutions to manage the proliferation.My Linux machine has been replaced and its now much more powerful than before but its still a 32-bit processor. No problem as I am not using anything unorthodox outside the LAMP stack with a few PHP add-ons to support graphics.I use SAMBA so I can edit web sites easily with Windows tools.So now given a Windows Server, who should be king server and have everybody on the same page so to speak.

View 7 Replies View Related

Ubuntu Installation :: Restore System To 10.10 - Using A System Backup Made With REMASTERSYS - Grub Error 15

May 2, 2011

I am trying to restore my system to Ubuntu 10.10, using a system backup made with REMASTERSYS. When I reboot, I get the message: GRUB error:15 I found many threads discussing this issue, most notably here: [URL]

[Code]....

View 7 Replies View Related

Ubuntu Servers :: Backup Multiple Servers ?

Jan 19, 2010

I currently have a group of 3 servers connected to a local network. One is a web server, one is a mysql server, the other used for a specific function on my site (calculation of soccer matches!).

Anyway, I have been working on the site a lot lately but it is tedious connecting my USB hard drive to each computer and copying the files. This means I am not backing up as often as I should...

I have a laptop connected to this same network that I use for development so I can SSH into to the computers, is there any software for ubuntu that can take backups of files that I choose on multiple computers? I know I could rsync but is there something with more or an GUI?

Then I can just every 2 days move the most recent backup from my laptop to the USB drive. Then I will have the backup stored in 2 places if things go kaboom somewhere.

View 9 Replies View Related

Ubuntu :: Backup System A, To Restore System B?

Jan 25, 2011

Recently I've backupped my entire /home folder on my laptop with grsynch trough ssh.Since I already had a simply text file containing all installed programs, I figured 'then, when i go from the backup trough my desktop, all my program settings will be restored if i run the txt file to install all those programs first.So i installed al programs, then i went from backup to /home on desktop, logged out and back in. Started up a random program (tried thunderbird and filezilla) and no settings were to be found.In retrospect, docky did start, but didnt have all the launchers i had on my laptop. so that could have been a clue.

View 4 Replies View Related

Server :: Phone System Reload Backup System?

Oct 7, 2010

At work we have a linux based ip phone system. Now this system was buggy for a bit but we now have it working perfectly. As it is we clone this hard drive and on backup I clone it back. This works but if for whatever I'm not in the office the backup can't go through because apparently no one can read the VERY simple instructions. What i would like to do is burn a cd with a copy of the hard drive (this configuration will change once every 6-12 months at maximum) as well as a VERY minimal linux install.

The goal is they stick the cd in and reboot. The system loads the super minimal linux then it runs a batch file that clones the portion of the CD that has the hard drive onto the system then it asks the nice moron....err....person...to remove the cd and reboot All I need is a a bootable system to a bash script that will run live from cd. I can make the nice bash script that puts to the screen a nice ascii graphic telling the lucky sap it's running and to come back in a little bit to make sure it's done.

View 4 Replies View Related

Networking :: Getting Two Linux Servers To Communicate

Dec 18, 2010

I am testing with Suse Linux Enterprise Server 10 in a VMWare environment. I've installed two SLES10 servers, named sles1 and sles2. I can't get the two servers to communicate, even a simple ping won't work. The "Network Adapter" in VMWare is set to "bridged", a setting which has worked fine when installing WinXP in VMWare and connecting to the Internet.Even if I ping sles1 from sles1 (= "pinging myself"), I get the same error message.Only if I ping localhost, I get a proper ping result.What did I do wrong? Did I forget to configure something?

View 2 Replies View Related

Ubuntu Servers :: Linux Freezes When Running A JVM Performance Test?

Jun 6, 2010

I am in the process of running a set of performance tests for the latest Sun JVM 1.6.0_20. I am using for that the dacapo test suite: [URL]

I ran the test suite very often with all sorts of settings, but recently it happened once that my Ubuntu system froze. I could still ping the machine, but nothing else was responding any more, no screen output, no ssh login, not possible to switch consoles. After rebooting the system the system logs were quiet. No single trace of any problem.

I am using a custom compiled kernel 2.6.34: Linux i7 2.6.34-custom-201005231602 #1 SMP PREEMPT Sun May 23 16:06:01 CEST 2010 x86_64 GNU/Linux and I am experimenting around with the -XX:+UseLargePages JVM switch the requires to set-up the hugetlbfs on the Linux system: [URL]

A similar issue happened in March 2010 on one of our CentOS 5.4 systems where we run a heavy load Java application on, where we had to hard power off the machine and after the reboot there was no trace of the problem in the logs. On that server we used JDK 1.6.0_17 and did not use hugetlbfs.

My first question would be what to do so that next time something like that happens I have more information available after the incident to debug and analyse the problem?

View 3 Replies View Related

Ubuntu :: Linux Working Only Rebooting System From Windows XP

Feb 11, 2010

I have noticed that ubuntu 9.10 (but also other distro and in general those that configure the network automatically at startup) crashed if my pc boot directly with a linux kernel at power on.This does not happen if the first boot is done with windows xp and then rebooting the pc and choosing the same linux kernel.Some distro (for example SysrescueCD) that does not configure the network at startup can work but also with these if I try to configure the network using the command ifconfig eth0 the system crashes.My network card is a SiS191 Ethernet and linux recognized it using sis190 module.I suppose that something happen during the first power on, some inizialization done with windows xp but does not done with linux in fact after a reboot made from windows xp without shutdown the pc, with Linux I can configure the network using ifconfig without crash.
Any ideas to solve this without have to boot always windows as first?

View 2 Replies View Related

Server :: Monitoring Tools For Linux Servers

May 19, 2010

I am looking for some monitoring tools (such as disk usage,memory usage, cpu,etc) for my linux machines. I came across two tools, cacti and splunk.Which one is better ? It will be nice if you can also let me know the reason.

View 8 Replies View Related

Fedora Servers :: No /usr/src/linux Directory / Recompile A Kernel?

Feb 11, 2009

I need to recompile a kernel and I am wondering why I have a /usr/srckernels directory instead of a /usr/src/linux directory?

I installed all the packages I thought I needed.... kernek-devel, gcc, make...

What am I missing to do this "correctly"?

View 5 Replies View Related

Fedora :: Can Use All-in-one Printer With LINUX Operating System?

Nov 24, 2009

Can I use my all-in-one printer with LINUX Operating System? KODAK All-in-One Printers are designed to to work with WINDOWS XP, WINDOWS VISTA, WINDOWS 7 Operating Systems and with MAC OS. Because of its open-source nature, LINUX OS requires a complex, dedicated support team. LINUX OS represents a very small percentage of installed operating systems in the U.S. As a result, costs for ongoing support and a dedicated support team are not justified at this time.

As Kodak continues to launch products, and as updates are made to LINUX OS, launching LINUX Drivers would require ongoing support and driver updates to Kodak's software. Customer support teams are focusing efforts on current issues concerning the more prevalent WINDOWS and MAC OS; adding support for LINUX OS would take resources away from these issues. Compatibility information for KODAK All-in-One Printers is printed on the retail package so that our customers can be aware of the printer's hardware and software requirements at the time or purchase. For more information about specifications and compatibility, visit KODAK All-in-One Printers.

View 4 Replies View Related

Hardware :: Interface Car Audio System With Linux

May 29, 2010

I just wanted to interface my linux system(centos,ubuntu) to the cd player thats fitted in cars so as to make use of the screen and cd player for other things.

View 1 Replies View Related

General :: Boot Linux System On USB-stick

Apr 20, 2011

I have installed a Debian System on a removable USB-drive just the same way I would do it for a normal harddisk drive.All was working fine until I tried to boot the system.I have set up the USB-stick as first boot device in the BIOS, and written grub in the MBR of the stick.When trying to boot it, "Grub Error 2" will always be risen (I am using grub-0.98).

The only drive I have installed except the USB-stick is a SATA-harddisk, so normally the USB-stick is called /dev/sdb.I have already tried changing root in menu.lst to (hd0,0) or the kernel root to /dev/sda1 but nothing seems to help.

View 4 Replies View Related

General :: Mini Linux System Reccommendation

Nov 22, 2010

is there a mini-linux distro with a browser that comes with plugins for adobe flash (to watch videos videos) and support for pdfs and powerpoint pages. it would also be nice to have a media player for mp3 and wmv files.

View 12 Replies View Related

General :: Suggestions For Starting Out With Linux System

Jul 19, 2010

I'm unhappy with Microsoft, and Apple has slowly lost its appeal due to unsolvable problems with my iMac G5. Are there any especially good books or hints about how to start for

1. buying a system with Linux on it
2. Using either an iMac or another machine that I can install Linux on it
3. low cost ways of getting Linux systems

View 14 Replies View Related

Ubuntu Servers :: Set Up A Backup Of The Windows 7 Pc?

May 16, 2010

I have been hassling with this for several days now. I have 64-bit Ubuntu Server 10.04 running on an Acer Aspire EasyStore H340. I have windows 7 running on a 64-bit desktop pc and on a laptop. I mainly wanted to use the Ubuntu server for a file server, so I installed Samba and created three shares. These do show up in Windows explorer, and I can read and write to them. My windows applications seem to be able to see the shares and open & save files.

My next step was to try and set up a backup of the Windows 7 pc to the Ubuntu server. Windows integrated backup sees the shares and sub-directories within the shares, and the initial part of the backup seems to run OK, but when it tries to save an image of the 'C:" drive it works for a long time and then ends with an error (cannot complete backup).

So, I looked for some free backup programs to try, but these do not allow me to select the shares as a destination (invalid destination). The dialogue sees the drives I have mapped the shares to in Windows, but does not show any sub-directories, and selecting the mapped drive letter does not take as a destination. If I try to browse down through "Network" in the destination dialogue, it selects "Network," but does not expand it or accept it as a destination.

So, I partitioned, formatted as ext3, and mounted my 2nd 1TB SATA drive on the server, and mounted it as "storage." I set this up as share in Samba and gave everyone read-write access, but still no luck selecting it for a backup destination. After some Googling, I downloaded and installed Ext2Fsd-0.48 (a windows 'driver' for Ext2/Ext3). This installed correctly, but when I open the program, neither "Network," the shares, or the mapped drives show up anywhere.

View 3 Replies View Related

Ubuntu Servers :: Dd For Remote Backup / Possible To Use It?

Oct 5, 2010

Is it possible in dd to use it for the output file to be stored at some remote location.
I do not have free space on the LVM partition whose backup I want to have via dd.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved