You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/administrator-guides/administration/import/csv.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# CSV
2
2
3
-
The CSV importer allows you to import your own plain text files, however it does require the zip file to be in a specific format for the importer to understand.
3
+
The CSV importer allows you to import your own plain text files. However, it does require the zip file to be in a specific format for the importer to understand.
4
4
5
5
## The Zip File
6
6
7
-
The zip file must be a **flat zip**, which means there can **not** be a "root" or "sub" folder in which the items reside in the zip file. The importer looks for the files `channels.csv` and `users.csv` immediately inside the zip and not inside of any folder. If you have any questions about this, please ask in [\#support channel on the Community server](https://open.rocket.chat/channel/support).
7
+
The zip file must be a **flat zip**, which means there can **not** be a "root" or "sub" folder in which the items reside in the zip file. The importer looks for the files `channels.csv` and `users.csv` immediately inside the zip and not inside of any folder. If you have any questions about this, please ask in the [\#support channel on the Community server](https://open.rocket.chat/channel/support).
8
8
9
-
The **directmessages** directory is a special directory name, check**Direct Messages** section below.
9
+
The **directmessages** directory is a special directory name. Check the**Direct Messages** section below.
10
10
11
11
```text
12
12
fileToImport.zip
@@ -38,7 +38,7 @@ The `channels.csv` requires a **very** specific structure and layout. Each line
38
38
39
39
1. Channel name
40
40
2. Username of the channel creator
41
-
3. Whether the channel is public or private. If the last argument is not `private` it is assumed the channel is public.
41
+
3. Whether the channel is public or private. If the last argument is not `private` it is assumed the channel is public
42
42
4. List of users in the channel, separated by semicolons. If only the creator is in the channel, then there must be empty quotes.
43
43
44
44
```text
@@ -50,7 +50,7 @@ The `channels.csv` requires a **very** specific structure and layout. Each line
50
50
51
51
## users.csv Format
52
52
53
-
The `users.csv` is a file which contains the user details, each line containing a new user and the user details is:
53
+
The `users.csv` is a file that contains the user details, each line containing a new user, and the user details are:
54
54
55
55
1. Username \(must not contain @ and some other special characters\)
The message csv files require a **very** specific format. Each line contains a new message, every piece of information is **requires** quotes to surround it, there cannot be any spaces between the commas. The details required are:
67
+
The message CSV files require a particular format. Each line contains a new message, every piece of information is **required** quotes to surround it, there cannot be any spaces between the commas. The details required are:
68
68
69
69
1. Username who sent the message
70
70
2. The timestamp in milliseconds
71
-
3. The message, quotes are highly recommended especially if the message text contains a comma.
71
+
3. The message, quotes are highly recommended, especially if the message text contains a comma.
72
72
73
73
```text
74
74
"bradley.hilton","1479162481336","this is a test message"
@@ -82,9 +82,9 @@ Direct Channels / Direct Messages are imported from a special directory named **
82
82
1. Username who sent the message
83
83
2. Username who received the message
84
84
3. The timestamp in milliseconds
85
-
4. The message, quotes are highly recommended especially if the message text contains a comma.
85
+
4. The message, quotes are highly recommended, especially if the message text contains a comma.
86
86
87
-
It's **required** to keep conversations in **distinct files**, for example, a conversation between user A and B compose a file \(`messages1.csv`\), and the conversation between user B and C compose another file \(`messages2.csv`\).
87
+
It's **required** to keep conversations in **distinct files;** for example, a conversation between user A and B compose a file \(`messages1.csv`\), and the conversation between user B and C compose another file \(`messages2.csv`\).
88
88
89
89
```text
90
90
"bradley.hilton","billy.bob","1479162481336","this is a test message"
Copy file name to clipboardExpand all lines: guides/administrator-guides/administration/import/hipchat/cloud.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# HipChat Cloud
2
2
3
-
To start importing values from HipChat you first need to have an instance of Rocket.Chat running. You can do that by[your own](https://docs.rocket.chat/developer-guides/quick-start/).
3
+
To start importing values from HipChat you first need to have an instance of Rocket.Chat running. You can do that on[your own](https://docs.rocket.chat/developer-guides/quick-start/).
4
4
5
5
If you already have an instance running and administration privileges, you can follow these steps:
Copy file name to clipboardExpand all lines: guides/administrator-guides/administration/import/hipchat/enterprise.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,18 +6,18 @@ To import your current data from HipChat Server / Data Center into Rocket.Chat,
6
6
7
7
This is a copy from the HipChat Server / Data Center Documentation:
8
8
9
-
1. Browse to the fully qualified domain name you've configured for your HipChat Server, for example `https://hipchat.yourcompany.com/`.
10
-
2. Log into the web user interface \(UI\) using your administrator email and password.
11
-
3. Click **Server admin > Export.**
12
-
4. To include files and one-to-one chat history in the export, select the check boxes.
13
-
5. In the **Password** and **Confirm Password** fields, create a password to protect your archive file. You're required to provide this password when you import your data into HipChat Server. We don't store this password, so be sure to remember it.
14
-
6. Click **Export**. Depending on how much data you have, it may take a few hours to export the data. When it's finished, you'll receive an email with a link to download the file.
15
-
7. When you receive the email, click the link in the email to download the archive file.
9
+
1. Browse to the fully qualified domain name you've configured for your HipChat Server, for example `https://hipchat.yourcompany.com/`
10
+
2. Log into the web user interface \(UI\) using your administrator email and password
11
+
3. Click **Server admin > Export**
12
+
4. To include files and one-to-one chat history in the export, select the checkboxes
13
+
5. In the **Password** and **Confirm Password** fields, create a password to protect your archive file. You're required to provide this password when you import your data into HipChat Server. We don't store this password, so be sure to remember it
14
+
6. Click **Export**. Depending on how much data you have, it may take a few hours to export the data. When it's finished, you'll receive an email with a link to download the file
15
+
7. When you receive the email, click the link in the email to download the archive file
16
16
17
17
## Import into Rocket.Chat
18
18
19
-
1. Decrypt the exported file: `openssl aes-256-cbc -d -in path_to_encrypted_file.tar.gz.aes -out path_to_decrypted_file.tar.gz -pass pass:your_password` See the table below for descriptions of the command line arguments.
20
-
2. Ensure the file generated is a `tar.gz` file, otherwise Rocket.Chat won't accept it.
19
+
1. Decrypt the exported file: `openssl aes-256-cbc -d -in path_to_encrypted_file.tar.gz.aes -out path_to_decrypted_file.tar.gz -pass pass:your_password` See the table below for descriptions of the command line arguments
20
+
2. Ensure the file generated is a `tar.gz` file, otherwise Rocket.Chat won't accept it
21
21
3. Go to `https://[your_rocketchat]/admin/import/prepare/hipchatenterprise`
22
22
4. Choose your decrypted `tar.gz` file and wait until Rocket.Chat can read it \(it can take a few minutes, depending on the size of your export\)
23
23
5. Deselect any items you **don't** want to import
0 commit comments