summaryrefslogtreecommitdiff
path: root/tickets/74ddc3e0bee44cc49b27368cda74de23/Maildir/new/1485712507.M644354P1523Q1.hrun
blob: 781bd6d3dd2db0ac3c5acfd970e76b3bfe8a0d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
Return-Path: <obnam-dev-bounces@obnam.org>
X-Original-To: distix@pieni.net
Delivered-To: distix@pieni.net
Received: from bagpuss.pepperfish.net (bagpuss.pepperfish.net [148.251.8.16])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pieni.net (Postfix) with ESMTPS id 93DC722852
	for <distix@pieni.net>; Sun, 29 Jan 2017 18:53:11 +0100 (CET)
Received: from platypus.pepperfish.net (unknown [10.112.100.20])
	by bagpuss.pepperfish.net (Postfix) with ESMTP id 22770FBA;
	Sun, 29 Jan 2017 17:53:11 +0000 (GMT)
Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1cXtf4-0002b3-VM; Sun, 29 Jan 2017 17:53:10 +0000
Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net)
 by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
 id 1cXtf3-0002as-01
 for <obnam-dev@obnam.org>; Sun, 29 Jan 2017 17:53:09 +0000
Received: from mail-qt0-f172.google.com ([209.85.216.172])
 by mx0.pepperfish.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.80) (envelope-from <sanskritfritz@gmail.com>)
 id 1cXtf0-0006oP-Ls
 for obnam-dev@obnam.org; Sun, 29 Jan 2017 17:53:08 +0000
Received: by mail-qt0-f172.google.com with SMTP id x49so185891072qtc.2
 for <obnam-dev@obnam.org>; Sun, 29 Jan 2017 09:53:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=nY38KgZeRcpUZPhQQlqXM52CHL6PKZOQZbiP19gLs50=;
 b=VhC8a2U4Hb26kRpPppnxM03O86rr/ECKcoIXF9u0aOovlVvyJJHdvyLmTDP6Et61+7
 bMQWeXIfN/0giMVGX4Vm3JWf2V+BrxodPnDVJ+XrWK7GbE4B9cLM5IpelzVBGSwtVg8M
 2MYdr+HLRy6LEyTWGBv0oz1HxgekNA1HOQt7ZeIslQxf9nBdcrdpR7jwg5UlVYBq+ITN
 vh4xUzNFyLZDjsC1Mw3tXdPTiQA2YTg9rsGmxre8rhymlo6vnqoSjkOMFDLEw+GcZy+R
 pL+3HRCVqMKZPkWb/yVZrAOJHS9aEgqwiGnWg4BTqgqeHVn+O4CTtjZ5EdBgD8BNs24X
 FfcQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=nY38KgZeRcpUZPhQQlqXM52CHL6PKZOQZbiP19gLs50=;
 b=gHCAU8SUK0pnpNfTnSMBtA9+7V7l0CZzkLfJRrKiXk34VCq+uuNKfVWrzcsr8Atv0x
 WWkyT5mQp2BCaI3OL/1Tuo4kqPNiEkdd7YB1YwGcHBy3YxlKBNBCbDoRsBPvhwYDSddg
 /I/EPTBXj4BdCEceKeluuIwyJyijWD5Zd8UfmeCuTjXPOwSRSgCUah2sJARTrx0rWWvO
 uJutPgtxgUCwgMVvZOmoJVpEx6/4Ch508Rw4GlLCQGhf/kQWibm5hhNjrBUPujLEux9s
 V0aLPHC4QShsA5JJeUZBEY7ElOfWz/ZjiqhZRxi75h80SOxgCF4l5jANAoEbeJbGtLTu
 nt7w==
X-Gm-Message-State: AIkVDXJeG7HCKB6h1cZ2+GODClRAeJ9moZt19UQKwe9qkPddN+n+ybGbyCKBdt3YrX1kki4NtrLT0crMnjzP6g==
X-Received: by 10.237.37.90 with SMTP id w26mr16850198qtc.112.1485712373418;
 Sun, 29 Jan 2017 09:52:53 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.58.231 with HTTP; Sun, 29 Jan 2017 09:52:12 -0800 (PST)
In-Reply-To: <1485684052.7612.7.camel@hellion.org.uk>
References: <CAExbbMyj78W70YReRW28mLU+ckPPH+D=Qu0PyLwd86W4BNjBpQ@mail.gmail.com>
 <1485518787.6091.12.camel@hellion.org.uk>
 <CAExbbMzigpV3FreXakFEALqGC_gqR0+AbvffhgOJ2LRqJyuJZw@mail.gmail.com>
 <CAExbbMyBX+1xfft-b8+ExnzucYzOKkaMaf4YqKwc=cvs5v+R9w@mail.gmail.com>
 <CAExbbMzqn4jF3ZWpUL_-0GcoTRMmKtsNtUAa83w+oRjuN5VNfw@mail.gmail.com>
 <1485684052.7612.7.camel@hellion.org.uk>
From: SanskritFritz <sanskritfritz@gmail.com>
Date: Sun, 29 Jan 2017 18:52:12 +0100
Message-ID: <CAExbbMzSDgzbOEBZ9D-gMpw9JNM26__X0k3J9pSXDpUOtp2TPw@mail.gmail.com>
To: Ian Campbell <ijc@hellion.org.uk>
Content-Type: text/plain; charset=UTF-8
X-Pepperfish-Transaction: e971-cff5-2f3d-b6f2
X-Spam-Score: 1.5
X-Spam-Score-int: 15
X-Spam-Bar: +
X-Scanned-By: pepperfish.net, Sun, 29 Jan 2017 17:53:08 +0000
X-Spam-Report: Content analysis details: (1.5 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.5 PPF_RECEIVED_HTTP      Received header mentions http
 1.0 PPF_FROM_CONTAINS_MAIL The From header contains 'mail'
 1.2 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
 (sanskritfritz[at]gmail.com)
 1.5 RCVD_IN_SORBS_SPAM     RBL: SORBS: sender is a spam source
 [209.85.216.172 listed in dnsbl.sorbs.net]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at http://www.dnswl.org/, low
 trust [209.85.216.172 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
 -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
 domain
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature,
 not necessarily valid
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-ACL-Warn: message may be spam
X-Scan-Signature: 95307e19e51ef85356cdc588a20b2845
Cc: Obnam development <obnam-dev@obnam.org>
Subject: Re: Kdirstat merged to Qdirstat
X-BeenThere: obnam-dev@obnam.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Obnam development discussions <obnam-dev-obnam.org>
List-Unsubscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
 <mailto:obnam-dev-request@obnam.org?subject=unsubscribe>
List-Archive: <http://listmaster.pepperfish.net/pipermail/obnam-dev-obnam.org>
List-Post: <mailto:obnam-dev@obnam.org>
List-Help: <mailto:obnam-dev-request@obnam.org?subject=help>
List-Subscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
 <mailto:obnam-dev-request@obnam.org?subject=subscribe>
Sender: obnam-dev-bounces@obnam.org
Errors-To: obnam-dev-bounces@obnam.org

On Sun, Jan 29, 2017 at 11:00 AM, Ian Campbell <ijc@hellion.org.uk> wrote:
> Unfortunately loading the "after" version into k4dirstat produces a UI
> which shows only / itself and none of its children :-( Loading the
> "before" version works. (this backup contains nothing of interest, so
> I've attach both files)

Qdirstat performs better, it shows everything as intended, the
"before" file starts with /local whereas the "after" file starts with
/, followed by /local as subdir.

> I don't have any / rooted backups to try with unfortunately.

obnam backup --root=/ --repository=obnamroot --exclude='^/[^/]*/.*$'

> Perhaps what is needed instead of the `file == "/"` check is a check
> something like "is the filename under the backup root prefix" (i.e.
> `not filename.startswith(backuproot)`, but I don't know where to get
> the backuproot from).
>
> I think the issues likely correspond to this bit of
> https://github.com/shundhammer/qdirstat/blob/master/doc/cache-file-format.txt
>
>     Path or Name
>     ------------
>
>     Either an absolute path (starting with "/") or only a base name
>     relative to the last preceding full path in the file.
>
> and confusion as to what it means to be the basename of "/". Obnam
> always outputs absolute paths though so should be ok. Maybe this is
> something where shundhammer could advise? Given that obnam follows the
> file format spec (I believe) perhaps it is even a *dirstat bug.

That could very well be the case. However I think listing the root
directory from a non-root backup is exactly what obnam should do
anyway. Even "obnam ls" does this, it lists "/" as the first directory
backed up:

root@HomeC /Backup# obnam backup --repository="/Backup/obnam_Pictures"
--exclude-from="/Backup/obnam_Pictures_exclude"
--root="/Common/Pictures"
root@HomeC /Backup# obnam ls --repository=/Backup/obnam_Pictures
Generation 4711 (2016-11-20 23:42:31 +0100 - 2016-11-20 23:43:10 +0100)
drwxr-xr-x    21 root     root           4096 2016-11-16 18:37:52 /
drwxr-xr-x    11 root     root           4096 2015-09-11 15:19:36 /Common
drwxrwxr-x     9 frank    users          4096 2016-11-19 22:09:00
/Common/Pictures
...

So, I think the `file == "/"` check actually circumvents the k4dirstat
bug you described. I really recommend uding qdirstat after this :D

_______________________________________________
obnam-dev mailing list
obnam-dev@obnam.org
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org