# “Key is stored in legacy trusted.gpg keyring” 警告

**URL:** <https://meta.discourse.org/t/key-is-stored-in-legacy-trusted-gpg-keyring-warning/397470>\
**Category:** Support\
**Created:** [2026年三月2日 20:41 UTC](https://meta.discourse.org/t/key-is-stored-in-legacy-trusted-gpg-keyring-warning/397470 "2026-03-02T20:41:20Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Post date:** [2026年三月5日 02:58 UTC](https://meta.discourse.org/t/key-is-stored-in-legacy-trusted-gpg-keyring-warning/397470/8 "2026-03-05T02:58:48Z")

</div>

关于这个，已经有相当详细的指南了：

> [@Backup discourse from the command line](https://meta.discourse.org/t/backup-discourse-from-the-command-line/64364?u=itsbhanusharma):
>
> bookmark This guide covers how to back up and restore your Discourse site using command line tools, specifically designed for self-hosted environments. person_raising_hand Required user level: Administrator information_source You can use the below placeholders to automatically fill out the command line prompts in this guide: Backing up To create a backup of your Discourse site, follow these steps: Enter the container: ./launcher enter app Run the backup: discourse backup…

> [@Restore a backup from the command line](https://meta.discourse.org/t/restore-a-backup-from-the-command-line/108034?u=itsbhanusharma):
>
> bookmark This guide explains how to restore a Discourse backup from the command line without using the Discourse web UI. person_raising_hand Required user level: Administrator wrench Console access required Here’s how to restore a Discourse backup from the command line, without ever booting the Discourse web UI. This is handy when you’re moving servers. Prerequisites Before you start, make sure you complete the following steps: Download the latest backup file from the source Discou…

---

_[View the full topic](https://meta.discourse.org/t/key-is-stored-in-legacy-trusted-gpg-keyring-warning/397470)._
