# 压缩备份

[备份数据库](/lib/library-operation/saving_a_copy_of_a_lib.md)可以同时备份.ENL文件和相对应的.DATA文件夹，如果想备份为一个文件，就需要压缩备份了。一个文件的好处传递时比较方便。

**注：** EndNote 的压缩备份时数据库不能大于4G或文件数不能超过65535个，不然会报错

## 压缩备份

1. 打开EndNote
2. File >> Compressed Library (.enlx)
3. 备份选项设置
   * Create & Email 压缩并邮寄
   * 是否带有附件
   * 备份的文献范围
   * 选择Next会跳出一个对话框
4. 备份保存在硬盘，可以重命名这个文件，但是名字不能包含以下特殊字符：

| **名称不能包含以下字符** |       |
| :------------: | ----- |
|       \\       | (反斜杠) |
|        /       | (f斜杠) |
|        :       | (冒号)  |
|       \*       | (星号)  |
|        ?       | (问号)  |
|        "       | (引号)  |
|        <       | (小于号) |
|        >       | (大于号) |
|       \|       | (竖线)  |

5\. 如果选择了 Create & Email 选项，备份完成后会调出 email 默认客户端，建立新邮件，并把备份以附件的形式发送给其他人。

## 恢复备份

1. EndNote X 以后版本打开.enlx 备份文件，就会自动解压缩，重新生成数据库文件.ENL 文件和相应的.DATA 文件夹，位置默认为原备份文件的文件夹。
2. 使用 EndNote 打开解压后的.enl文件即可正常使用数据库了。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.howsci.com/lib/library-operation/saving_a_cmprssdcpy_ofa_lib.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
