diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-05 13:46:59 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-04-05 13:46:59 +0200 |
commit | af47742dd0afedd4bd4ff27a96155de37f436b18 (patch) | |
tree | 5ee4d3afa6f9a40ab281e4c1f29abf3d41cf084c /docs/en/user | |
parent | 52d806ea6b28c389c38d1ceaad0e4dfb20e8e672 (diff) | |
download | wallabag-af47742dd0afedd4bd4ff27a96155de37f436b18.tar.gz wallabag-af47742dd0afedd4bd4ff27a96155de37f436b18.tar.zst wallabag-af47742dd0afedd4bd4ff27a96155de37f436b18.zip |
Documentation about wallabag v1 CLI import
Diffstat (limited to 'docs/en/user')
-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 | ----------------- |