FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 06-24-2008, 12:34 PM
Les Mikesell
Default backup question

admin wrote:
I think so, at least you do the way I use it because you boot the
machine off the Clonezilla CD, then mount the device/partition you're
backing up to and select the device/partition being backed up.

But Clonezilla also has a whole network mode of operation involving a
Clonezilla server, so I can't rule it out ... maybe someone else can?

Any time you do partition/filesystem image backups you have to make sure
nothing changes until the copy is complete, so you typically need to run
from CD to back up. File based backups (tar, cpio, etc.) aren't quite
as picky although it is still best if nothing changes. You could use
some tricks like LVM snapshots, but clonezilla doesn't. The network
mode lets you boot via PXE instead of the CD and automatically NFS
mounts the server so you can save and restore from there, but otherwise
is about the same.

Les Mikesell

CentOS mailing list
Old 06-24-2008, 03:19 PM
"James B. Byrne"
Default backup question

on: Sun Jun 22 08:00:34 UTC 2008, Gergely Buday gbuday at gmail.com wrote:

> Dear CentOs users,
> I have a centos server with nothing important at the moment, but I
> would like to install some web-based project management tool (trac for
> the curious) that would contain important data. And, as my network is
> growing the configuration of the server is becoming complex. I would
> like to have a proper backup so that I can restore the whole system
> easily, should any problem occur. What do you recommend?
> I'm not an expert on this, so my first idea is that I could do a per
> application backup and create a tar file of the /etc. The latter
> especially could be too naive. And, a push-the-button method that
> handles all in once, not depending on the app number would be much
> better.
> Another thing: how I could do this to be safe across a centos upgrade?

I have recently moved from Trac to Redmine for project management (and I
strongly recommend that you consider this as an alternative to Trac, it is
far more powerful to use and much easier to set up) but I had/have exactly
the same problems that you are facing. The difficulty is that Trac has a
DBMS backend, usually MySQl but in my case PostgreSQl. This complicates
the issue since it is not enough to simply tar up the application site.

What I ended up doing was building a hot site spare server to accommodate
all of these types of applications (Trac project management, subversion
repositories, drupal user cms sites, imapd user mailboxes, avantfax fax
archives). Then, for applications that employed a database backend, I
setup regular cron jobs to dump the backend databases into a ./dbdump
directory that I added to the root of each site's file system. I added an
rsync command to the end of the dump command to then move the entire site
to the backup box at the end of the dump. On the backup machine I added a
cron job to reload the database from the dump.

This entails some background work to set up. You must initialize and
configure the appropriate DBMS on the backup server with the requisite
databases and database owners. You must ensure that the application's
users and groups are properly replicated there. You may need to install
and configure the application itself. You may need to configure apache if
the application uses a web frontend, like Trac. You need to setup SSL host
to host root authentication for rsync. And there are no doubt several
other little things that need to be accommodated but that I no doubt have

However, what this gives you is a hot site backup that a simple change to
DNS can enable.

*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3

CentOS mailing list

Thread Tools

All times are GMT. The time now is 04:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org