File

tools/migration/migrator.cfg.lua @ 11692:d1e7f5b2f524

prosodyctl: Add cert to command listing This hides a whole bunch of subcommands tho, maybe those should be explicitly listed?
author Kim Alvefur <zash@zash.se>
date Thu, 15 Jul 2021 00:37:47 +0200
parent 10003:4d702f0c6273
child 12168:33e856c65033
line wrap: on
line source

local data_path = "../../data";

local vhost = {
	"accounts",
	"account_details",
	"roster",
	"vcard",
	"private",
	"blocklist",
	"privacy",
	"archive-archive",
	"offline-archive",
	"pubsub_nodes",
	-- "pubsub_*-archive",
	"pep",
	-- "pep_*-archive",
}
local muc = {
	"persistent",
	"config",
	"state",
	"muc_log-archive",
};

input {
	hosts = {
		["example.com"] = vhost;
		["conference.example.com"] = muc;
	};
	type = "internal";
	path = data_path;
}

output {
	type = "sql";
	driver = "SQLite3";
	database = data_path.."/prosody.sqlite";
}

--[[

input {
	type = "internal";
	path = data_path;
}
output {
	type = "sql";
	driver = "SQLite3";
	database = data_path.."/prosody.sqlite";
}

]]