# Come eseguire il backup di Discourse su S3 | Discourse come backup su S3

**URL:** <https://meta.discourse.org/t/how-to-back-up-discourse-to-s3-discourse-s3/245552>\
**Category:** Sysadmins\
**Tags:** s3, chinese-translation\
**Created:** [14 Novembre 2022, 5:50pm UTC](https://meta.discourse.org/t/how-to-back-up-discourse-to-s3-discourse-s3/245552 "2022-11-14T17:50:23Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![honeymoose](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/honeymoose/32/198718_2.png) [@honeymoose](https://meta.discourse.org/u/honeymoose)\
**Post date:** [26 Luglio 2024, 12:02pm UTC](https://meta.discourse.org/t/how-to-back-up-discourse-to-s3-discourse-s3/245552/8 "2024-07-26T12:02:02Z")

</div>

> [@copymonopoly](#):
>
> Questo è lo screenshot appena generato, sembra che mostri tutto normale, inoltre ho creato l’API con i massimi permessi in R2.

Ho eseguito il mio processo di backup, sembra che i nostri log siano gli stessi.

```plaintext
[2024-07-26 11:56:00] pg_dump: executing SEQUENCE SET category_custom_fields_id_seq
[2024-07-26 11:56:00] Finalizing backup...
[2024-07-26 11:56:00] Creating archive: isharkfly-2024-07-26-115540-v20240723030506.tar.gz
[2024-07-26 11:56:00] Making sure archive does not already exist...
[2024-07-26 11:56:00] Creating empty archive...
[2024-07-26 11:56:00] Archiving data dump...
[2024-07-26 11:56:00] Archiving uploads...
[2024-07-26 11:56:00] Skipping uploads stored on S3.
[2024-07-26 11:56:00] Removing tmp '/var/www/discourse/tmp/backups/default/2024-07-26-115540' directory...
[2024-07-26 11:56:00] Gzipping archive, this may take a while...
[2024-07-26 11:56:05] Uploading archive...
[2024-07-26 11:56:09] Executing the after_create_hook for the backup...
[2024-07-26 11:56:09] Deleting old backups...
[2024-07-26 11:56:10] Cleaning stuff up...
[2024-07-26 11:56:10] Removing archive from local storage...
[2024-07-26 11:56:10] Removing '.tar' leftovers...
[2024-07-26 11:56:10] Marking backup as finished...
[2024-07-26 11:56:10] Refreshing disk stats...
[2024-07-26 11:56:10] Notifying 'honeymoose' of the end of the backup...
[2024-07-26 11:56:18] Finished!

```

Il prossimo passo sarà verificare se il problema riguarda i record delle tabelle di backup del database.

---

_[View the full topic](https://meta.discourse.org/t/how-to-back-up-discourse-to-s3-discourse-s3/245552)._
