diff options
Diffstat (limited to 'docs/en')
-rw-r--r-- | docs/en/user/migration.rst | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/en/user/migration.rst b/docs/en/user/migration.rst index 9e7d1a1e..109a4c9b 100644 --- a/docs/en/user/migration.rst +++ b/docs/en/user/migration.rst | |||
@@ -24,6 +24,28 @@ After creating an user account on your new wallabag v2 instance, you must head o | |||
24 | :alt: Import from wallabag v1 | 24 | :alt: Import from wallabag v1 |
25 | :align: center | 25 | :align: center |
26 | 26 | ||
27 | Import via command-line interface (CLI) | ||
28 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
29 | |||
30 | If you have a CLI access on your web server, you can execute this command to import your wallabag v1 export: | ||
31 | |||
32 | :: | ||
33 | |||
34 | bin/console wallabag:import-v1 1 ~/Downloads/wallabag-export-1-2016-04-05.json | ||
35 | |||
36 | Please replace values: | ||
37 | |||
38 | * ``1`` is the user identifier in database (The ID of the first user created on wallabag is 1) | ||
39 | * ``~/Downloads/wallabag-export-1-2016-04-05.json`` is the path of your wallabag v1 export | ||
40 | |||
41 | You'll have this in return: | ||
42 | |||
43 | :: | ||
44 | |||
45 | Start : 05-04-2016 11:36:07 --- | ||
46 | 403 imported | ||
47 | 0 already saved | ||
48 | End : 05-04-2016 11:36:09 --- | ||
27 | 49 | ||
28 | From wallabag 2.x | 50 | From wallabag 2.x |
29 | ----------------- | 51 | ----------------- |