Re: Cheaper backup mechnism for a server

2007-09-21 Thread Jerry McAllister

> Hi ;
> 
> A general question pls excuse me
> 
> can any body suggest a backup mechanism for a server machine , which has a 
> web portal , email server ,PgSQL database 4GB size , DNS server, Mailman , 
> and a mediawiki applications running in a single machine .

Sounds like a fairly small server.  Should be no problem backing it up.

> Can you suggest good solutions , for the server Backup mechanismso that 
> I can restore all the data just before the crashing moment .

Well, if you want just before the crash, you need some kind of 
mirroring or raid that makes a recoverable copy or stripe of your
data.   Backups will only restore from the point of the backup.

I would suggest mirroring combined with frequent backups - daily.

As for the medium, it depends on how much backup you need.  Do you
need long term archive copies - then use tape.   If you only need
to restore a recent backup after some catastrophic failure, then
probably backing up to a large USB disk would be fine.

Use dump/restore to do the backups.
Organize your file systems so that stuff that never or rarely 
changes does not go in to your daily backup and by size so that
if possible, one file system can fit on a single recording media - 
eg tape or disk or whatever.   It is possible to have continuation
media, but it is nice if you don't have to.

jerry

> 
> pls share your expertise , it will help me lot  to secure my data in the 
> server machine ..
> 
> Thanks in Advance
> KK
> 
> _
> Live the life in style with MSN Lifestyle. Check out!  
> http://content.msn.co.in/Lifestyle/Default
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Michel Le Cocq
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wojciech Puchar a écrit :
> of course, that's why i use rsync, and use cp -lpR to make multiple
> generations on backup server every day. i delete the oldest when
> there are out of space.
>
> but gmirror+ggated/c is a good idea for those having more than 1
> server and gigabit interfaces - do mirrorring spanning different
> machines (like mirror of first on second, mirror of second - on first).
rdiff-backup do all of this and you can also restore a backup of 2
days ago because it also store an history of the backup.

Michel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG898ftdSucJnea0gRAnA4AKCqXBHxWUs3o+kHUvLNX7W5EthsQgCfe+WH
8LW1Ju1oHtfGt4F2jpcPKUk=
=qDKk
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Wojciech Puchar


raid is a good solution for avoiding data loss due to hard disk failure (at
different rates depending on the raid type ). But it wont help you if someone
accidentally or on purpose delete files. Raid will happily replicate the
deletion across all your disks :)


of course, that's why i use rsync, and use cp -lpR to make multiple 
generations on backup server every day. i delete the oldest when there are 
out of space.


but gmirror+ggated/c is a good idea for those having more than 1 server 
and gigabit interfaces - do mirrorring spanning different machines (like 
mirror of first on second, mirror of second - on first).


PLUS BACKUPS.


the server back online" step ;) it's too late by then to realise you should've
backed up /etc and /var/ , for example.


best to do exclude - instead of include - backup list
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Norberto Meijome
On Fri, 21 Sep 2007 13:14:25 +0200 (CEST)
Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> > You can try to create a Mirror using RAID. You can either create a
> > software or a hardware (recommended) managed Mirror. In case of a disk  
> 
> both are software. while the "software" one you talking about is gmirror - 
> very portable and easy to use contrary to BIOS-based "hardware" one.
> 
> and with gmirror is very easy to take whole disk snapshot

raid is a good solution for avoiding data loss due to hard disk failure (at
different rates depending on the raid type ). But it wont help you if someone 
accidentally or on purpose delete files. Raid will happily replicate the
deletion across all your disks :)

Raid , fail-over solutions  and the like  go hand in hand with backups, each
case needing it's own analysis : server/s setup, data, frequency of change of
the data, how fast do you want to recover it , budget will (well, should :D )
all affect your final decision.

Whatever path you go down by, make sure you test the "getting the data back and
the server back online" step ;) it's too late by then to realise you should've
backed up /etc and /var/ , for example.

_
{Beto|Norberto|Numard} Meijome

"He has no enemies, but is intensely disliked by his friends."
  Oscar Wilde

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Wojciech Puchar


Hello DharneshK,

You can try to create a Mirror using RAID. You can either create a
software or a hardware (recommended) managed Mirror. In case of a disk


both are software. while the "software" one you talking about is gmirror - 
very portable and easy to use contrary to BIOS-based "hardware" one.


and with gmirror is very easy to take whole disk snapshot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Wojciech Puchar


A general question pls excuse me

can any body suggest a backup mechanism for a server machine , which has a 
web portal , email server ,PgSQL database 4GB size , DNS server, Mailman , 
and a mediawiki applications running in a single machine .


Can you suggest good solutions , for the server Backup mechanismso that I 
can restore all the data just before the crashing moment .


just before is too much. but try rsync
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Subhro Kar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello DharneshK,

You can try to create a Mirror using RAID. You can either create a
software or a hardware (recommended) managed Mirror. In case of a disk
crash you still have a copy of the updated data on the disk.

BTW, please make sure you hit "Reply all" instead of "Reply". this also
keeps the freebsd-questions@ updated which will allow others to look
into this mail and provide a better answer as well as help future users.

Thanks
Subhro


dhaneshk k sat at his 'pewter and typed  on 09/21/07 14:39:
> Hi , subhro,
> 
> i agree with you ,  I need a clarification
> 
> The backup should be the uptodate one , so in case of a disk crash
> (permanent crash) I need the backup upto the last moment , so is ther
> any cheap tools , to do it , so i can save the backups to another
> desktop pc  synchronously (I mean any mechanism for backup through
> online ie ; ssh  OR VPN or like that )  (not manual backing up at each
> moment) can you tell the exact solution .
> 
> If  I am using rsync , I can only do it by a crontab , even though at a
> specfic time only the cron run , if crash occurs after this time then
> the data after the cron will lose  , so which is the right & cheaper
> solution ?
> 
> 
>> From: Subhro Kar <[EMAIL PROTECTED]>
>> To: dhaneshk k <[EMAIL PROTECTED]>
>> CC: freebsd-questions@freebsd.org
>> Subject: Re: Cheaper backup mechnism for a server
>> Date: Fri, 21 Sep 2007 14:26:55 +0530
>>
> Hello,
> 
> dhaneshk k sat at his 'pewter and typed  on 09/21/07 13:55:
>> Hi ;
> 
>> A general question pls excuse me
> 
>> can any body suggest a backup mechanism for a server machine , which
> has
>> a web portal , email server ,PgSQL database 4GB size , DNS server,
>> Mailman , and a mediawiki applications running in a single machine .
> 
>> Can you suggest good solutions , for the server Backup mechanismso
>> that I can restore all the data just before the crashing moment .
> 
>> pls share your expertise , it will help me lot  to secure my data in
> the
>> server machine ..
> 
> If you wish to have 0 downtime then the only option is a separate
> failover server. However much you try, if you do not have a separate box
>  to failover to, it is not possible to do a 0 downtime switchover.
> 
> Regarding the backup solution, you can either buy an external Hard Disk
> and back up to it. Alternatively you can back up to tape drives or to
> NFS mounted volumes.
> 
> Thanks
> Subhro
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

> _
> Single,planning to marry? Find  the right match @ shaadi.com
> http://ss1.richmedia.in/recurl.asp?pid=202

 __
/ The nice thing about Windows is - It \
| does not just crash, it displays a   |
| dialog box and lets you press 'OK'   |
\ first. (Arno Schaefer's .sig)/
 --
\   ^__^
 \  (@@)\___
(__)\   )\/\
||w |
|| ||
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG85AFDA+HioTWbkQRAgp1AJ4xZP+I9nblPoI53DTnSDtn+eBq/wCeMxY9
rx1uuX8ycwi3ETlB2hFqTIc=
=e3cq
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cheaper backup mechnism for a server

2007-09-21 Thread John Pettitt

dhaneshk k wrote:

Hi ;

A general question pls excuse me

can any body suggest a backup mechanism for a server machine , which 
has a web portal , email server ,PgSQL database 4GB size , DNS server, 
Mailman , and a mediawiki applications running in a single machine .


Can you suggest good solutions , for the server Backup mechanismso 
that I can restore all the data just before the crashing moment .


pls share your expertise , it will help me lot  to secure my data in 
the server machine ..


Thanks in Advance
KK



Check out BackupPC - it will do rsync backups and store them very 
intelligently on a remote box - you can set it to backup as often as you 
like ...


It saved my ass when my FreeBSD co-lo server disk died - I had a backup 
up to date as of midnight that let me restore the machine (I back it up 
over a DSL line without problems)


John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Subhro Kar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

dhaneshk k sat at his 'pewter and typed  on 09/21/07 13:55:
> Hi ;
> 
> A general question pls excuse me
> 
> can any body suggest a backup mechanism for a server machine , which has
> a web portal , email server ,PgSQL database 4GB size , DNS server,
> Mailman , and a mediawiki applications running in a single machine .
> 
> Can you suggest good solutions , for the server Backup mechanismso
> that I can restore all the data just before the crashing moment .
> 
> pls share your expertise , it will help me lot  to secure my data in the
> server machine ..

If you wish to have 0 downtime then the only option is a separate
failover server. However much you try, if you do not have a separate box
 to failover to, it is not possible to do a 0 downtime switchover.

Regarding the backup solution, you can either buy an external Hard Disk
and back up to it. Alternatively you can back up to tape drives or to
NFS mounted volumes.

Thanks
Subhro
- --
 __
/ The nice thing about Windows is - It \
| does not just crash, it displays a   |
| dialog box and lets you press 'OK'   |
\ first. (Arno Schaefer's .sig)/
 --
\   ^__^
 \  (@@)\___
(__)\   )\/\
||w |
|| ||
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG84dXDA+HioTWbkQRAu2RAKDJMztsQAu2oLuMaKt/vFEvf3YdewCgupn/
eozM9rJAJzKmkTSPSBA4oQc=
=8sWc
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Cheaper backup mechnism for a server

2007-09-21 Thread dhaneshk k

Hi ;

A general question pls excuse me

can any body suggest a backup mechanism for a server machine , which has a 
web portal , email server ,PgSQL database 4GB size , DNS server, Mailman , 
and a mediawiki applications running in a single machine .


Can you suggest good solutions , for the server Backup mechanismso that 
I can restore all the data just before the crashing moment .


pls share your expertise , it will help me lot  to secure my data in the 
server machine ..


Thanks in Advance
KK

_
Live the life in style with MSN Lifestyle. Check out!  
http://content.msn.co.in/Lifestyle/Default


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"