Re: backup strategies

From: Martin Hepworth (maxsec_at_gmail.com)
Date: 10/30/05

  • Next message: ross: "Re: Getting my screen to rotate with my monitor"
    Date: Sun, 30 Oct 2005 17:58:19 +0000
    To: Csaba Henk <csaba-ml@creo.hu>
    
    

    Hi

    On 10/30/05, Csaba Henk <csaba-ml@creo.hu> wrote:
    >
    > Hi!
    >
    > We plan to set up a backup server.
    >
    > While the basic backup procedure is clear -- use some archiving utility
    > like dump, tar, or cpio and send data to the backup server via ssh or a
    > network mount -- there are many details which are unclear for me.
    >
    > The two biggest problems are:
    >
    > 1) What parts are to be backed up? If I backup the whole system, the
    > backup disk will get full soon. You could say it's not necessary, and
    > that only the valueable data should be backed up (and not those parts
    > which are easy to re-create by means of a new installation). But, say,
    > someone breaks into the machince. How could I reliably find out the
    > Achilles heel she used to get in if I don't have a complete system
    > backup? Or if she has a backdoor left behind?

    Depends on what the risk you trying to mitigate with backup. Think of the
    problems and how you would get around them. There are file consistency utils
    you can run to see if root-kits etc have been installed.

    2) How to schedule backups? I guess services should stop for the backup
    > period as the backup could be unreliable or inconsistent if disk/file
    > writes were going on during backup. It sounds as if I should drop to
    > single user mode. Or is there a less drastic approach? And if I dropped
    > to single user mode, I would lose control over the box for that period,
    > as the box is accessed via ssh and sshd is also stopped in single user
    > mode -- this sounds scary...

    With FreeBSD 5.x and later you can snapshop the filesystem then use a
    special 'dump' to backup that snapshot to the backup machine.

    have a look at amanda and bacula for how they handle this and do some
    research on different backup strategies and their risks and benfits wrt to
    Unix systems - theres lots out there..

    --
    Martin
    TYA.
    >
    > --
    > Csaba Henk
    >
    > My sense of humour is often too subtle to cope with getting smileyd.
    > Please don't take it personal.
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to "
    > freebsd-questions-unsubscribe@freebsd.org"
    >
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: ross: "Re: Getting my screen to rotate with my monitor"

    Relevant Pages

    • Re: Remote backups using ssh and dump
      ... I don't think it is possible to just dump from the root, although if it is possible, I'd like to know how. ... I also take a snapshot of the home directory, in case I need to fetch one file from backup. ... The backup server is directly connected to the primary server, using a crossover cable, so the nightly gigabyte transfer doesn't clog the office lan switch. ...
      (freebsd-questions)
    • RE: croning rsync over ssh
      ... 'cron-able' ssh key (otherwise an interactive typing of the passphrase is ... to the machine that you want to backup from. ... backup machine inserted into the authorized_hosts file on the backup client ... to rsync the files. ...
      (SSH)
    • Re: ssh and backups?
      ... > What I have is a machine I can ssh into from my backup server. ... > can't ssh from the DMZ machine back to the backup server. ...
      (comp.unix.solaris)
    • Re: Remote backup hosting setup?
      ... >> To just backup the data to a remote server is very easy, ... It comes together with rsync and ssh. ... copy changes within files over to the remote site. ...
      (freebsd-questions)
    • Re: Remote backups using ssh and dump
      ... I'm presently using rsync over ssh, but I think dump would be better if it will ... you our backup strategy. ... who can connect to each clients via sshd_conf's AllowUsers config. ...
      (freebsd-questions)