Skip to main content
migrate is a plugin for migrating the content of one
TiddlyWeb store to another. This can provide two functions:

* Duplicating a store to the same format for use elsewhere, or backups.
* Changing the format of the store from one StorageInterface
implementation to another (e.g. from text to sql).

To use 'migrate' the tiddlywebconfig.py in the source
instance should be edited to add 'tiddlywebplugins.migrate' to
'twanager_plugins' and to add a 'target_store' key.

The 'target_store' key's value is the same form as
'server_store', with the config information of the
store being migrated to.

Here's an example that will migrate from the sql store
to the text store, with the data stored in a dir in
/tmp:

config = {
'twanager_plugins': ['tiddlywebplugins.migrate'],
'server_store': ['sql', {'db_config': 'sqlite:///test.db'}],
'target_store': ['text', {'store_root': '/tmp/backupstore'}],
}

Once the configuration is set the twanager command is run:

twanager migrate

If the store is large this may take some time.

When tiddlers are migrated from one store to another, they
are stored as new revisions, so if the target store already
exists and has a tiddler of the same name in the same bag,
it will create a new one, extending the revisions.

Licensed as TiddlyWeb itself.

For more information on TiddlyWeb see http://tiddlyweb.com/

Copyright 2009, 2013 Chris Dent.

Release files for tiddlywebplugins.migrate 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tiddlywebplugins.migrate 0.8
File Size Uploaded
tiddlywebplugins.migrate-0.8.tar.gz 7.3 kB Details

Release files / tiddlywebplugins.migrate-0.8.tar.gz

Download URL tiddlywebplugins.migrate-0.8.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
12da265eecd054ba3a21553006ec43abe095072ead7bf7daf3bab3998e75bd93
BLAKE2b-256 checksum
How to use checksums
c6fb28e81c23b57215e568a24437f160ee71c24af7071fbe698072dbbf2d26b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.8 This release

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page