Title: NEWTIV Migrate
Author: newtiv
Published: <strong>15 oktobris, 2026</strong>
Last modified: 15 oktobris, 2026

---

Meklēt spraudņus

![](https://ps.w.org/newtiv-migrate/assets/icon.svg?rev=3747990)

# NEWTIV Migrate

 Autors [newtiv](https://profiles.wordpress.org/newtiv/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/newtiv-migrate.1.0.0.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/newtiv-migrate/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/newtiv-migrate/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/newtiv-migrate/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/newtiv-migrate/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/newtiv-migrate/)

## Apraksts

You are building a new web or mobile application and want to keep the people who
already have an account on your WordPress site. NEWTIV Migrate exports, in one file:

 * **users**: username, email, name, registration date, roles, and optionally their**
   password hashes**, profile fields, WooCommerce addresses and any other user meta
   you name;
 * **content**: posts, pages, products and custom post types, with categories, tags,
   custom fields and author;
 * **comments** (without IP addresses) and the **media library** list with file 
   addresses.

Because the password hashes are included, your application can check a user’s usual
password exactly like WordPress does (phpass for older accounts, bcrypt for WordPress
6.8 and later), then store it in its own format at the first sign-in. Nobody has
to reset their password.

**Security first**

 * The file is always encrypted with a passphrase you choose: key derived with Argon2id,
   content encrypted with XChaCha20-Poly1305 (libsodium secretstream). Without the
   passphrase the file cannot be read.
 * The file is streamed to your browser and never stored on the server.
 * Only administrators can export, and they must type their account password again.
   Five wrong passwords lock the export for 15 minutes.
 * The last 20 exports are listed: who, when, how many records, with or without 
   password hashes.
 * Privacy: the export log stores, for each export, the date, the administrator’s
   username and IP address. It is deleted when the plugin is uninstalled.
 * Password hashes are optional: untick them for a content-only export.

**Large sites**: users and content are read in batches of 200. From the command 
line: `wp newtiv-migrate export site.ntvm` (see `wp help newtiv-migrate export`).

This plugin does not connect to any external service.

### File format

 1. First line: `NTVMIG1`.
 2. Second line: a JSON header with the key derivation parameters (`kdf.alg` = argon2id13,`
    kdf.opslimit`, `kdf.memlimit`, `kdf.salt` in base64) and the secretstream header(`
    header`, base64).
 3. Then frames: a 4-byte big-endian length followed by the ciphertext of one secretstream
    message. The last frame has the FINAL tag; a file without it is incomplete.

Key: `crypto_pwhash(32, passphrase, salt, opslimit, memlimit, ARGON2ID13)`. Decrypted,
the frames form NDJSON, one record per line, each with a `type`: `meta`, `user`,`
term`, `post`, `media`, `comment`, then `end` with the counts, to check that nothing
is missing.

Any libsodium binding can read it: PyNaCl (Python), libsodium-wrappers (Node.js),
ext-sodium (PHP).

User records carry `pass` and `pass_format` (`wp-bcrypt`, `phpass`, `bcrypt`, `md5`,`
argon2`). Meta values are exported exactly as stored in WordPress (arrays stay PHP-
serialized).

## Uzstādīšana

 1. Upload the plugin and activate it.
 2. Go to **Tools  NEWTIV Migrate**.
 3. Choose what to export, choose a passphrase (or generate one), type your password,
    download.
 4. Keep the passphrase somewhere safe, separately from the file.

## BUJ

### Can someone use the file to sign in to my site?

No. A password hash cannot be used to sign in; it can only be used to check a password
someone types. And the file itself cannot be read without the passphrase.

### I lost the passphrase.

The file cannot be opened. Make a new export.

### My host says the sodium extension is missing.

The plugin needs PHP’s sodium extension (included with PHP since 7.2, enabled by
almost every host). Without it, the export button stays disabled.

## Atsauksmes

Par šo spraudni nav atsauksmju.

## Autori un izstrādātāji

“NEWTIV Migrate” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi
cilvēki.

Līdzdalībnieki

 *   [ newtiv ](https://profiles.wordpress.org/newtiv/)

[Tulkot “NEWTIV Migrate&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/newtiv-migrate)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/newtiv-migrate/), 
apmeklējiet[ SVN krātuvi ](https://plugins.svn.wordpress.org/newtiv-migrate/)vai
abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/newtiv-migrate/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/newtiv-migrate/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

#### 1.0.0

 * First release: encrypted export of users (with password hashes), content, comments
   and media list; WP-CLI command; export log.

## Meta

 *  Versija **1.0.0**
 *  Pēdējo reizi atjaunots: **pirms 15 stundas**
 *  Aktīvās instalācijas: **Mazāk par 10**
 *  WordPress versija ** 6.0 vai jaunāka **
 *  Pārbaudīts līdz: **7.1.3**
 *  PHP versija ** 7.4 vai jaunāka **
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/newtiv-migrate/)
 * Birkas:
 * [export](https://lv.wordpress.org/plugins/tags/export/)[headless](https://lv.wordpress.org/plugins/tags/headless/)
   [migration](https://lv.wordpress.org/plugins/tags/migration/)[password](https://lv.wordpress.org/plugins/tags/password/)
   [users](https://lv.wordpress.org/plugins/tags/users/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/newtiv-migrate/advanced/)

## Vērtējumi

Vēl nav iesniegta neviena atsauksme.

[Your review](https://wordpress.org/support/plugin/newtiv-migrate/reviews/#new-post)

[Skatīt visasatsauksmes](https://wordpress.org/support/plugin/newtiv-migrate/reviews/)

## Līdzdalībnieki

 *   [ newtiv ](https://profiles.wordpress.org/newtiv/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/newtiv-migrate/)