Red Hat / Fedora :: Create A Backup Of Centos 5 Server?
Apr 21, 2010
Have been playing with Centos 5 and finally got it installed and have done most of the updates. Before I proceed much further it would be nice if I could create a backup/install disc of how it is now. No Data,just the setup and software used etc.Have a dvd rw on the server.I recall mondo rescue installed years ago on a linux server we used.
I have a CentOS 5.5 server that has just recently been updated to 5.6 running PostgreSQL 8.4 and Drupal for an internal website. The server is also acting as a shared network storage between the Linux server and Windows desktops with Samba.
I just recently purchased a license to run Symantec Backup Exec System Restore 2010 for Linux and the only operating systems that are supported are RedHat and Suse Linux.
Does anyone know of a nice open source solution that we can use to create backup images of the server?
In the event of a server crash, we want to be able to rebuild the server via a bit-by-bit backup image.
I'm in the process of creating local repos for our company servers (CentOS 5.5) and laptops (Fedora 13). And while the CentOS part went perfect the Fedora part is causing major trouble.But first things first, here's the setup: a central CentOS 5.5 server is running Apache2 and has a VirtualHost listening on Port 8080 for both CentOS and Fedora. The DocumentRoot for this VirtualHost is /data/repo wherein two directories, centos and fedora, reside.
This is the .repo-file for CentOS that works like a charm:
Quote:[local] name=CentOS-$releasever - local packages for $basearch
I'm looking for a simple solution to backup my CentOS Server (5.x) on a daily base to a mounted disk. I found the glastree tool but I have no clue if it will work on CentOS.All recommendations, tipps, hints and maybe scripts are welcome. Unfortunatelly I'm an Linux newbie and starting with Linux CentOS a couple of weeks ago
I have installed Fedora 12 and am running it successfully. I have made a few stupid mistakes a couple of times and have had to start from scratch with a complete OS reinstall on a few occassions. I am happy with my current setup and am wondering is it possible for me to create a Live CD that has my exact configuration so that If I make a mess again, I can just stick in my backup DVD/CD's and roll back to my happy (Known to ne Working) sate. Something like System restore on Windows...... Is this possible?
I would like to create a bash menu script for my home server For instance if i were to type ./script It would then bring up 3 options
a. Create a backup b. Restore files from a backup c. Quit
If you were to select a or b it should then ask you were you want to backup or restore from. And if i were to type in an incorrect letter i should get an error and take me back to menu. I have attepmted this a view time now and have magaged to get the menu up using parameters
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.
Attempting to create a backup script to copy files from one file system to a remote file system.
When I try this I get:
# tar -cf - /mnt/raid_md1 | gzip -c | ssh -i ~/.ssh/key -l firstname.lastname@example.org "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
I know that the remote file system dir is RW and the access is working fine. I am stumped...
on my server I have atMail and a intranet site being hosted using mySQL for the database locally, and obviously backing it up would be a good thing. I got the backup package from the list if you use the add/remove software called dump-0.4.etc.. can't seem to find much on how to use it, set it up, nothing. Granted I could be looking for the wrong thing which I'm sure is the case. As of now it's looking like a USB drive is going to be my only option, that will change in the future as this "project" goes further (we are a windows shop trying out Linux, and the next step is going to be adding another server that's a file server at that point we'll probably go to NAS for the backup and then transer that to a USB for offsite/secondary backup).
I have re-installed our operating system (CentOS 5) ,what is the best way to restore our Samba server? Can it be as simple as copying the smb.config and smbpasswd files back into the /etc/samba directory? That's what I am hoping. If I just copy the smb.config and the smbpasswd files back to the samba directory will the machine trusts, users and passwords just work? If not, what is the proper procedure for restoring. Actually i want to make CentOS 5.3 as my Domain Controller, I want to test all Scenario in case of any disaster of DC before putting it into production environment. I have some queries as:
1. Is CentOS 5 is more stable than RHEL 5 etc.
2. How can i take back up of entire samba server if need it in case of any disaster. How can i restore it.
3. How can i use logon scripts like GPO in windows servers.
4. How can add users in samba server and linux at one time with one command.
5. tell me any Web based samba administration tool other than SWAT.
I have 2 dedicated servers, one with RTL8111/8168B (rev 02) and one with RTL8111/8168B (rev 01) both running centos 5.3, the problem is like this, all things run great on the dedicated server with NIC RTL8111/8168B (rev 02) until we run backup (cpanel backup) after the backup is finish the server lags , no high load, just lags, the server is a 8 GB ram, i7 quad core, so there is no load problem or someting like this, the second server has also cpanel on it and it has no lag but it has RTL8111/8168B (rev 01) , we think that the problem is with the RTL8111/8168B (rev 02) should we update the driver ?
Here is the output from it: 2.6.18-128.1.10.el5 x86_64 x86_64 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) .....
After I spent some time discovering The BIG BANG of Universe and The Meaning of Life :
I managed somehow to create a script to make some backup of files on server and TAR it and then FTP the archive to another location FTP server and then emails result.
It also measures time needed to complete it and deletes archive older than XX days (set in find -mtime +20) and makes incremental backup every weekday and FULL on Sundays (which suits me bcoz no heavy load).
Files for TAR to include and exclude are in txt files listed each line separate name:
i`m trying to set up a Central Backup Server with BackupPC installed on CentOS 5.6 x86_64, My CentOS has Samba3x / Winbind integrated with Active Directory i found this nice Wiki http://wiki.centos.org/HowTos/BackupPC , to get my BackupPC installed. after installing RPMForge's repo and settin` up the priorities to the repos, http://wiki.centos.org/PackageManagement/Yum/Priorities i get the following error regarding Samba3x Conflicts , i dont wanna miss up my Samba Configuration to install BackupPC, even --skip-broken option does not work for me
I have a CentOS5 server with a 1tb hard drive.There is only 80gb of data on that huge drive and now I want to make a bare metal recovery backup using AcronisMy question is, how can I estimate the amount of time the backup will take and the size of the image file? Is it based on the size of my drive or is it based on the amount of data on the drive?
I'm trying to create some PHP extensions. I have installed php-devel as well as the other preqs I thought were required. However I'm not able to find ext_skel. The file README.EXT_SKEL was installed, but not the actual program (find / -name ext_skel). My understanding was ext_skel was installed with php-devel. I know it is in the source code, but I'm not sure where to get the source for PHP 5.1.6 for my version of CentOS.
I would like to create a customized CentOS server, or it will serve me as a server (postfis) postfixadmin, Hylafax, webmail (Roundcube for example) and may be I would integrate suger crm.
If I create it all this server and it runs perfectly. my goal is I create a compilation or for example I install this distrubution and wonder just some configuration (eg IP address or the time just) knowing that by the end of the installation I find hylafax, postfix , and all AC roundecube install it remains for me to set them up! Taking the example of Elastix cd: www.elastix.org/ or it can make all AC (but its main role is the PABX).
creating independent sub-domains on my VPS.To describe this in clear words below is the example:I have a domain named as demo.com and k it as test1.demo.comand i have only one IP address assigned to me, which points to demo.com.So how can i set this sub-domain so that I will serve as a separate entity