Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #275105 > unrolled thread

disk image

Started byWilliam Torrez Corea <willitc9888@gmail.com>
First post2024-12-01 19:20 +0100
Last post2024-12-01 20:00 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  disk image William Torrez Corea <willitc9888@gmail.com> - 2024-12-01 19:20 +0100
    Re: disk image David Christensen <dpchrist@holgerdanske.com> - 2024-12-01 19:40 +0100
    Re: disk image "Thomas Schmitt" <scdbackup@gmx.net> - 2024-12-01 20:00 +0100

#275105 — disk image

FromWilliam Torrez Corea <willitc9888@gmail.com>
Date2024-12-01 19:20 +0100
Subjectdisk image
Message-ID<JOWI1-d2EL-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I make a disk image but this makes a backup of free space and full space of
the disk.

I am using dd (Unix) and using gnome-disk-utility.

How can I make a disk image of selected data?

I don't want to make a backup of the entire disk.
-- 

With kindest regards, William.

*Larry Wall invented a messy programming language -- and changed the face
of the Web*

[toc] | [next] | [standalone]


#275107

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-12-01 19:40 +0100
Message-ID<JOX1n-d2Ld-3@gated-at.bofh.it>
In reply to#275105
On 12/1/24 10:19, William Torrez Corea wrote:
> I make a disk image but this makes a backup of free space and full space of
> the disk.
> 
> I am using dd (Unix) and using gnome-disk-utility.
> 
> How can I make a disk image of selected data?
> 
> I don't want to make a backup of the entire disk.


I use dd(1) for backup images:

1.  If you want to backup only one partition, specify the device node 
for that partition:

# dd if=/dev/sda1 ...

2.  If you want specific blocks, such as the MBR, primary GPT header, 
secondary GPT header, etc., specific the starting block and the number 
of blocks to backup:

# dd bs=512 skip=0 count=34 ...


Related:

3.  Run zerofree(8), fstrim(8), or another utility to zero ununused 
blocks prior to taking the image.  This implies #4.

4.  Enable compression of the backup stream.  For command line usage:

#  dd ... | gzip ...


David

[toc] | [prev] | [next] | [standalone]


#275110

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2024-12-01 20:00 +0100
Message-ID<JOXkJ-d2RF-15@gated-at.bofh.it>
In reply to#275105
Hi,

William Torrez Corea wrote:
> I make a disk image but this makes a backup of free space and full space of
> the disk.
> I am using dd (Unix) and using gnome-disk-utility.
> How can I make a disk image of selected data?
> I don't want to make a backup of the entire disk.

This is a wide topic. :))

There are lots of backup tools and strategies.
Some are mentioned in
  https://wiki.debian.org/BackupAndRecovery
  https://www.debian.org/doc/manuals/debian-reference/ch10.en.html#_backup_and_recovery

I myself make backups on optical media by scdbackup and xorriso.
Other backups of mine go to remote computers by rsync.


Have a nice day :)

Thomas

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web