Re: backup with dd tool

From: Ed Wilts (ewilts_at_ewilts.org)
Date: 05/24/04

  • Next message: Michael Scully: "RE: Hylafax on Enterprise 3"
    Date: Mon, 24 May 2004 10:33:43 -0500
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    On Mon, May 24, 2004 at 07:15:17PM +0530, Nabin Limbu wrote:
    > I want to clone my hard disk with dd tool. One of my partition has about 6 GB of
    > contents. so whenI try to backup my partition with the command:
    > dd if=/dev/sda1 bs-512 | gzip -9/mnt/sda3.dd.gz,
    > then I got error saying file size limit exceeded after backing up 2GB. It seems file size
    > has limited only up to 2GB size. Now how can I backup my 6GB content with dd tool.

    Older versions of Linux didn't support files > 2GB - newer ones do. For
    older versions, pipe your gzip command into split. Here's a fragment of
    our really old backup script:
    find $fs -name .nobackup -xdev | sed -e 's|/.nobackup||' > $EXCLUDE
            ( tar czl --ignore-failed-read --exclude-from=${EXCLUDE} -f -$fs \
                || touch $OOPS) | split -b 1000m - ${target}-

    You may also want to look at mondorescue.org for full image-based
    backups.

    -- 
    Ed Wilts, Mounds View, MN, USA
    mailto:ewilts@ewilts.org
    Member #1, Red Hat Community Ambassador Program
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Michael Scully: "RE: Hylafax on Enterprise 3"

    Relevant Pages

    • Re: Partition help
      ... change that makes the current clone outdated. ... I also backup email and the email address book to the external hard drive on ... the idea of backing up to a partition on the same hard drive ... your HDD. ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Partition help
      ... separate all program data into into its own "data" partition, ... A partition for backup is only very slightly better than having no ... A precise copy whereby should your day-to-day HDD fail or your ... the program can create subsequent disk clones of the source HDD usually at ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Partition help
      ... separate all program data into into its own "data" partition, ... A partition for backup is only very slightly better than having no ... A precise copy whereby should your day-to-day HDD fail or your ... create *incremental* disk clones following the creation of the original ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Clone OS to HD via DOS and Clean Install XP?
      ... There's a problem inherent in the backup concept: ... I defrag after large uninstalls/deletes or before big installs, ... >than a single partition for the whole physical drive. ... Big HDs are not much more costly than small ones ...
      (microsoft.public.windowsxp.hardware)
    • Re: Clone OS to HD via DOS and Clean Install XP?
      ... There's a problem inherent in the backup concept: ... I defrag after large uninstalls/deletes or before big installs, ... >than a single partition for the whole physical drive. ... Big HDs are not much more costly than small ones ...
      (microsoft.public.windowsxp.general)