-
Notifications
You must be signed in to change notification settings - Fork 0
/
mattermost-dl.sample.toml
76 lines (60 loc) · 1.55 KB
/
mattermost-dl.sample.toml
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
# This is sample configuration that downloads few speciic channels
version = "0"
downloadTeams=false
downloadGroupChannels=false
downloadUserChannels=false
[connection]
hostname = "https://mattermost-server.com"
usedApi = 4
username = "user.name"
token = "76vnm1dwpo08v1f0etc5tp49mgn4pma1"
[throttling]
loopDelay = 100
[output]
# Relative to current working directory
directory = "./mattermost-backup"
[report]
progressInterval=5000
[privateChannelOptions]
maximumPostCount = 10000
[[users]]
name = "spike.spiegel"
beforeTime = "2001-11-26"
[[users]]
name = "jet.black"
sessionPostLimit = 1000
[[users]]
name = "faye.valentine"
attachments.download = true
attachments.maxSize = 1000000
[[groups]]
group = [
{name = "spike.spiegel"},
{name = "jet.black"},
{name = "faye.valentine"}
]
# Combining conditions
afterPost = "s01e05" # Post Id
beforeTime = "2001-11-26"
[[teams]]
team.internalName = "yutani"
downloadPublicChannels = true # All available _public_ channels
downloadPrivateChannels = false
[[teams.privateChannels]]
internalName = "nostromo"
# Settings inherited from privateChannelOptions
[[teams.privateChannels]]
internalName = "acheron"
maximumPostCount = -1 # Explicit overriding of privateChannelOptions
# Don't download custom emoji occuring in this channel
emoji.download = false
[[teams.privateChannels]]
name = "Fiorina 161"
# Fetch 10 latest posts
downloadFromOldest = false
maximumPostCount = 10
[[teams.privateChannels]]
internalName = "auriga"
# Starting from scratch
onExistingCompatible = "delete"
onExistingIncompatible = "delete"