[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#737564: dump should accomodate backups of media named by their UUID



Package: dump
Version: 0.4b44-1
Severity: normal

Dear Maintainer,

(Hi, Bdale!  We have interacted in the past in the world of Forth.)

*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?

I have some disks brought over to a new server, where they will continue
to be used with their current contents.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

When time came for backups, I realized that /var/lib/dumpdates from their
old system would be needed in order to permit incremental backups.  I
bought the file over, and converted the named devices in this file to their
/dev/disk/by-uuid/<id> path.

I then unmounted the disks, and attempted:

/sbin/dump -2u -f <backup-dev> /dev/disk/by-uuid/<id>

   * What was the outcome of this action?

Instead of permitting me to back up from this increment, it noted that it
did not have previous state, and was going to do a level 0.

   * What outcome did you expect instead?

If a disk is named by UUID device path, and that UUID device path is
correctly named in /var/lib/dumpdates, I would expect to be able to
do an incremental dump.  Instead, I had to edit /var/lib/dumpdates
to reference the device by its /dev/sdXY pathname, mount the filesystem,
and then it permitted the incremental dump.

Note that this defect report is NOT trying to argue that the tool
should, in general, use UUID's to detect which disks are which.  I
understand that this would be a very important change.  But *if*
the UUID disk path is present in /var/lib/dumpdates *and* in the "dump"
command line (i.e., a UUID device path to an unmounted filesystem), I
think it would be correct to honor the dumpdates state and permit
an incremental dump.

*** End of the template - remove these lines ***


-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 3.4.75+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages dump depends on:
ii  e2fslibs      1.42.5-1.1
ii  libblkid1     2.20.1-5.3
ii  libc6         2.13-38
ii  libcomerr2    1.42.5-1.1
ii  libgcc1       1:4.7.2-5
ii  libreadline6  6.2+dfsg-0.1
ii  libselinux1   2.1.9-5
ii  libtinfo5     5.9-10
ii  libuuid1      2.20.1-5.3
ii  tar           1.26+dfsg-0.1

dump recommends no packages.

dump suggests no packages.

-- no debconf information


Reply to: