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 | |
parent | 52d806ea6b28c389c38d1ceaad0e4dfb20e8e672 (diff) | |
download | wallabag-af47742dd0afedd4bd4ff27a96155de37f436b18.tar.gz wallabag-af47742dd0afedd4bd4ff27a96155de37f436b18.tar.zst wallabag-af47742dd0afedd4bd4ff27a96155de37f436b18.zip |
Documentation about wallabag v1 CLI import
-rw-r--r-- | docs/en/user/migration.rst | 22 | ||||
-rw-r--r-- | docs/fr/user/migration.rst | 22 |
2 files changed, 44 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 | ----------------- |
diff --git a/docs/fr/user/migration.rst b/docs/fr/user/migration.rst index b315ff5c..d101ba2f 100644 --- a/docs/fr/user/migration.rst +++ b/docs/fr/user/migration.rst | |||
@@ -24,6 +24,28 @@ Une fois que vous avez créé un compte utilisateur sur votre nouvelle instance | |||
24 | :alt: Import depuis wallabag v1 | 24 | :alt: Import depuis wallabag v1 |
25 | :align: center | 25 | :align: center |
26 | 26 | ||
27 | Import via via la ligne de commande (CLI) | ||
28 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
29 | |||
30 | Si vous avez accès à la ligne de commandes de votre serveur web, vous pouvez exécuter cette commande pour import votre fichier wallabag v1 : | ||
31 | |||
32 | :: | ||
33 | |||
34 | bin/console wallabag:import-v1 1 ~/Downloads/wallabag-export-1-2016-04-05.json | ||
35 | |||
36 | Remplacez les valeurs : | ||
37 | |||
38 | * ``1`` est l'identifiant de votre utilisateur en base (l'ID de votre premier utilisateur créé sur wallabag est 1) | ||
39 | * ``~/Downloads/wallabag-export-1-2016-04-05.json`` est le chemin de votre export wallabag v1 | ||
40 | |||
41 | Vous obtiendrez : | ||
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 | Depuis wallabag 2.x | 50 | Depuis wallabag 2.x |
29 | ------------------- | 51 | ------------------- |