Could you post the log of the dump summary?

On December 14, 2018 10:07:39 AM EST, Richard Sass <[email protected]> 
wrote:
>We're having an issue with amrecover showing no files for a virtual
>filesystem (public) after issuing setdisk and ls commands. Another
>filesystem (sd0a) works as expected. It appears that any DLE defined
>with
>dumptype modifications such as "include" exhibits the issue while those
>without do not. The index file associated with the "public" DLE exists
>and
>is populated with entries we would expect to see.
>
>Any thoughts would be appreciated. Thanks
>
>Some background...
>
>$ uname -a
>     NetBSD ncti103.ncti.com 7.1.1 NetBSD 7.1.1 (GENERIC.201712222334Z)
>amd64
>
>$ amadmin --version
>       amadmin-3.3.7p1
>
>$ df -h
>Filesystem         Size       Used      Avail %Cap Mounted on
>/dev/sd0a          424G       6.2G       397G   1% /
>/dev/sd1d          2.2T       1.9T       148G  92% /data1
>...
>
>$ ls -l /data1
>total 20
>drwxr-xr-x  47 pcguest  samba  12800 Nov 23 10:24 public
>drwxr-xr-x   5 root     wheel    512 Oct  4  2017 templates
>...
>
>$ ls -l /public
>lrwxr-xr-x  1 root  wheel   13B Oct  3  2017 /public -> /data1/public
>
>$ ls -l /data1/public
>total 147M
>drwxr-xr-x   3 pcguest  samba  512B Oct 10 14:39 !evdo
>drwxr-xr-x   3 pcguest  samba  512B Jul 31  2015 $Pop3ToBridge
>drwxr-xr-x   2 pcguest  samba  512B Jan 29  2016 $ScheduleTesting
>...
>
>The following DLE's are defined.
>
>   ncti103  sd0a     /    comp-root   -1 server
>
>   ncti103 public /data1 {
>   comp-user
>   include "./public"
>   } -1 server
>
>Dumptypes in play
>
>define dumptype global {
>        comment       "Global definitions"
>        program       "APPLICATION"
>        application   "app_amgtar"
>        index         yes
>        record        yes
>        auth          "BSDTCP"
>        estimate      calcsize
>        client-custom-compress "/home/backup/pigz"
>}
>
>define dumptype comp-root {
>        global
>        comment    "Root partitions with compression"
>        compress   client custom
>        priority   low
>        exclude    list "/usr/local/var/amanda/gtar_exclude_list"
>}
>
>define dumptype comp-user {
>        global
>        comment        "Non-root partitions on reasonably fast machines"
>        compress   client custom
>        priority   medium
>}
>
>$ cd /usr/local/etc/amanda/SeQentDaily/index/ncti103/public
>$ gzcat 20181207000500_1.gz
>/public/
>/public/!evdo/
>/public/!evdo/new/
>/public/$Pop3ToBridge/
>/public/$Pop3ToBridge/TestEmails/
>/public/$ScheduleTesting/
>/public/AC/
>...
>
>AMRECOVER Version 3.3.7p1. Contacting server on ncti103.ncti.com ...
>220 ncti103 AMANDA index server (3.3.7p1) ready.
>Setting restore date to today (2018-12-07)
>200 Working date set to 2018-12-07.
>200 Config set to SeQentDaily.
>501 Host ncti103.ncti.com is not in your disklist.
>Trying host ncti103 ...
>200 Dump host set to ncti103.
>Use the setdisk command to choose dump disk to recover
>amrecover> sethost ncti103
>200 Dump host set to ncti103.
>amrecover> setdisk public
>200 Disk set to public.
>amrecover> setdate 2018-12-07
>200 Working date set to 2018-12-07.
>amrecover> ls
>2018-12-07-00-05-00 public/                            <<< public shows no
>files in the list
>amrecover> setdisk sd0a
>200 Disk set to sd0a.
>amrecover> ls
>2018-12-07-00-05-00 var/                                       <<< sd0a
>looks fine
>2018-12-07-00-05-00 usr/
>2018-12-07-00-05-00 tmp/
>2018-12-07-00-05-00 stand/
>...

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to