Re: backup strategies

From: Csaba Henk (cs_at_creo.hu)
Date: 10/31/05

  • Next message: Andrew P.: "Re: SAP R/3 ISO images"
    Date: Mon, 31 Oct 2005 15:00:38 +0100
    To: freebsd-questions@freebsd.org
    
    

    Thanks for all the tips and answers, I will consider the mentioned
    alternatives.

    Yet I have one more question...

    On Sun, Oct 30, 2005 at 01:22:35PM -0600, Eric Schuele wrote:
    > dump(8) will create a snapshot of a live filesystem, dump the snapshot
    > and then remove the snapshot, if given the correct flags ('-L').

    Can even a full bakcup done safely on a live filesystem by "dump -L"?

    As dump(8) says when explaining the -L flag:

     To obtain a consistent dump image, dump takes a snapshot of the file
     system in the .snap directory in the root of the file system being
     dumped and then does a dump of the snapshot.

    I don't see how the temporary snapshot can improve the
    reliability/consistency/correctness of the dump. Could someone explain
    this?

    -- 
    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"
    

  • Next message: Andrew P.: "Re: SAP R/3 ISO images"

    Relevant Pages

    • Re: Backups / Dump etc
      ... dump which will automatically snapshot the mounted filesystems. ... so that the filesystem meta ... Let us posit that the dump kicks off just as you are writing the ... applications were quiesced at the time of the snapshot. ...
      (freebsd-questions)
    • Re: support quality (Re: dump | restore fails: unknown tape headertype 1853384566)
      ... Most commercial DBs have hooks that allow the backup routines to call out to custom snapshot facilities. ... One would usually request a backup through the database, which would then freeze IO to its data files and maybe log files, deal with flushing caches etc and then call your snapshot routine. ... Hooks that call out and snapshot are not necessarily good enough although they're "necessary" to get a dump that restores without the database going into log-replay mode. ...
      (freebsd-stable)
    • Re: ffs snapshot lockup
      ... tty input, and all suspectible processes are waiting ... and dump is active. ... To repeat something I said earlier: when creating a snapshot ... I'm now convinced it was all stemming from some bug in bge driver (at ...
      (freebsd-stable)
    • dump woes
      ... dumping a snapshot to a file within the filesystem being dumped like so: ... The filesystem was only 4.1GB, ... dump file was growing to almost 12GB! ...
      (freebsd-stable)
    • Re: Anyone using UFS snapshots?
      ... David Combs wrote: ... When ufsdump is used to dump a file system snapshot created with fssnap, ...
      (comp.unix.solaris)