# Backup your account

It’s crucial to back up your account to ensure that you don’t lose access to your funds in case of device loss or malfunction.&#x20;

{% hint style="warning" %}
Remember always to backup your wallet. Stored in a safe place, a backup of your wallet can protect you against computer failures and many human mistakes.
{% endhint %}

The XRP Ledger Snap provides two primary options for backing up your account:

## **1. Storing the Mnemonic of your MetaMask**

The first method is to securely store the mnemonic (seed phrase) of your MetaMask wallet. This mnemonic is a 12 or 24-word phrase generated when you first set up MetaMask, and it’s the key to accessing all accounts within your MetaMask wallet, including those managed by the XRP Ledger Snap.

* **Access Your Mnemonic:**
  * Open MetaMask and navigate to the "Settings" section.
  * Select "Security & Privacy" and choose the option to reveal your seed phrase.
* **Store It Securely**

{% hint style="warning" %}
**Important:** Never share your mnemonic phrase or private keys with anyone. Neither the Peersyst team nor the MetaMask team will ever ask for your secrets. Always keep your keys secure and private.&#x20;
{% endhint %}

* **Now you can use your mnemonic to import your account into other wallets**

{% content-ref url="/pages/Jt37kGXna6SC0mLqXiZQ" %}
[Import your account into Xaman Wallet](/basics/importing-your-account-into-multiple-wallets/import-your-account-into-xaman-wallet.md)
{% endcontent-ref %}

## **2. Exporting the Private Key from the XRP Ledger Snap**

The second method involves exporting the private key for your XRP Ledger account directly from the XRP Ledger Snap. This key is specific to the XRP Ledger and can be used to recover your account in another wallet that supports the XRP Ledger.

* **Export the Private Key:**
  * Within the XRP Ledger Snap, go to account details and click export private key.
  * Choose the option to export your private key.

<figure><img src="/files/0aXCRVyprJlDh4vOYK8s" alt="" width="375"><figcaption></figcaption></figure>

* **Store It Securely**

{% hint style="warning" %}
**Important:** Never share your mnemonic phrase or private keys with anyone. Neither the Peersyst team nor the MetaMask team will ever ask for your secrets. Always keep your keys secure and private.&#x20;
{% endhint %}

## **Learn More About Security**

For more detailed information on how your funds are kept safe, visit the **Security** section of the documentation.&#x20;

{% content-ref url="/pages/a0SpBmfT8HE3S1yGKSkl" %}
[Security](/basics/security.md)
{% endcontent-ref %}


---

# 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://snap-docs.xrplevm.org/basics/backup-your-account.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.
