Backup files not found at local disk

AI-generated summary

Backup files not found at local disk

kinqsley is experiencing issues with backup files not being stored in the expected location /var/discourse/shared/standalone/backups/default/, despite appearing in the Backup section of the admin panel. Manual and automatic backups were attempted, but the files are nowhere to be found.

Canapin suggested checking if the backups are stored in another volume by examining the volumes: section of the app.yml file.

Discourse version: 2.6.0.beta6

I did tried manual backup in admin panel

[2020-11-30 04:54:58] 'bob' has started the backup!
[2020-11-30 04:54:58] Marking backup as running...
[2020-11-30 04:54:58] Making sure '/var/www/discourse/tmp/backups/default/2020-11-30-045458' exists...
[2020-11-30 04:54:58] Making sure '/var/www/discourse/public/backups/default' exists...
[2020-11-30 04:54:58] Updating metadata...
[2020-11-30 04:54:58] Dumping the public schema of the database...
[2020-11-30 04:54:58] pg_dump: last built-in OID is 16383
[2020-11-30 04:54:58] pg_dump: reading extensions
[2020-11-30 04:54:58] pg_dump: identifying extension members
[2020-11-30 04:54:58] pg_dump: reading schemas
[2020-11-30 04:54:58] pg_dump: reading user-defined tables
[2020-11-30 04:55:23] pg_dump: processing data for table "public.post_timings"
[2020-11-30 04:55:23] pg_dump: dumping contents of table "public.post_timings"
[2020-11-30 04:55:23] pg_dump: processing data for table "public.post_uploads"
[2020-11-30 04:55:24] pg_dump: dumping contents of table "public.post_uploads"
[2020-11-30 04:55:24] pg_dump: processing data for table "public.posts"
[2020-11-30 04:55:24] pg_dump: dumping contents of table "public.posts"
[2020-11-30 04:55:30] pg_dump: processing data for table "public.published_pages"
[2020-11-30 04:55:30] pg_dump: dumping contents of table "public.published_pages"
[2020-11-30 04:55:30] pg_dump: processing data for table "public.push_subscriptions"
[2020-11-30 04:55:30] pg_dump: dumping contents of table "public.push_subscriptions"
[2020-11-30 04:55:30] pg_dump: processing data for table "public.quoted_posts"
[2020-11-30 04:55:30] pg_dump: dumping contents of table "public.quoted_posts"
[2020-11-30 04:55:30] pg_dump: processing data for table "public.remote_themes"
[2020-11-30 04:55:30] pg_dump: dumping contents of table "public.remote_themes"
[2020-11-30 04:55:30] pg_dump: processing data for table "public.reviewable_claimed_topics"
[2020-11-30 04:55:30] pg_dump: dumping contents of table "public.reviewable_claimed_topics"
[2020-11-30 04:55:30] pg_dump: processing data for table "public.reviewable_histories"
[2020-11-30 04:55:30] pg_dump: dumping contents of table "public.reviewable_histories"
[2020-11-30 04:55:30] pg_dump: processing data for table "public.reviewable_scores"
[2020-11-30 04:55:30] pg_dump: dumping contents of table "public.reviewable_scores"
[2020-11-30 04:55:30] pg_dump: processing data for table "public.reviewables"
[2020-11-30 04:55:30] pg_dump: dumping contents of table "public.reviewables"
[2020-11-30 04:55:30] pg_dump: processing data for table "public.scheduler_stats"
[2020-11-30 04:55:30] pg_dump: dumping contents of table "public.scheduler_stats"
[2020-11-30 04:55:31] pg_dump: processing data for table "public.schema_migration_details"
[2020-11-30 04:55:31] pg_dump: dumping contents of table "public.schema_migration_details"
[2020-11-30 04:55:31] pg_dump: processing data for table "public.schema_migrations"
[2020-11-30 04:55:31] pg_dump: dumping contents of table "public.schema_migrations"
[2020-11-30 04:55:31] pg_dump: processing data for table "public.screened_emails"
[2020-11-30 04:55:31] pg_dump: dumping contents of table "public.screened_emails"
[2020-11-30 04:55:31] pg_dump: processing data for table "public.screened_ip_addresses"
[2020-11-30 04:55:31] pg_dump: dumping contents of table "public.screened_ip_addresses"
[2020-11-30 04:55:31] pg_dump: processing data for table "public.screened_urls"
[2020-11-30 04:55:31] pg_dump: dumping contents of table "public.screened_urls"
[2020-11-30 04:55:31] pg_dump: processing data for table "public.search_logs"
[2020-11-30 04:55:31] pg_dump: dumping contents of table "public.search_logs"
[2020-11-30 04:55:31] pg_dump: processing data for table "public.shared_drafts"
[2020-11-30 04:55:31] pg_dump: dumping contents of table "public.shared_drafts"
[2020-11-30 04:55:31] pg_dump: processing data for table "public.single_sign_on_records"
[2020-11-30 04:55:31] pg_dump: dumping contents of table "public.single_sign_on_records"
[2020-11-30 04:55:32] pg_dump: processing data for table "public.site_settings"
[2020-11-30 04:55:32] pg_dump: dumping contents of table "public.site_settings"
[2020-11-30 04:55:32] pg_dump: processing data for table "public.skipped_email_logs"
[2020-11-30 04:55:32] pg_dump: dumping contents of table "public.skipped_email_logs"
[2020-11-30 04:55:32] pg_dump: processing data for table "public.stylesheet_cache"
[2020-11-30 04:55:32] pg_dump: dumping contents of table "public.stylesheet_cache"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.tag_group_memberships"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.tag_group_memberships"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.tag_group_permissions"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.tag_group_permissions"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.tag_groups"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.tag_groups"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.tag_search_data"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.tag_search_data"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.tag_users"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.tag_users"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.tags"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.tags"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.tags_web_hooks"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.tags_web_hooks"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.theme_fields"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.theme_fields"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.theme_modifier_sets"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.theme_modifier_sets"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.theme_settings"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.theme_settings"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.theme_translation_overrides"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.theme_translation_overrides"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.themes"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.themes"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.top_topics"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.top_topics"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_allowed_groups"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_allowed_groups"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_allowed_users"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_allowed_users"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_custom_fields"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_custom_fields"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_embeds"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_embeds"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_groups"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_groups"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_invites"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_invites"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_link_clicks"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_link_clicks"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_links"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_links"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_search_data"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_search_data"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_tags"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_tags"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_thumbnails"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_thumbnails"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_timers"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_timers"
[2020-11-30 04:55:43] pg_dump: processing data for table "public.topic_users"
[2020-11-30 04:55:43] pg_dump: dumping contents of table "public.topic_users"
[2020-11-30 04:55:44] pg_dump: processing data for table "public.topic_views"
[2020-11-30 04:55:44] pg_dump: dumping contents of table "public.topic_views"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.topics"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.topics"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.translation_overrides"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.translation_overrides"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.unsubscribe_keys"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.unsubscribe_keys"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.uploads"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.uploads"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_actions"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_actions"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_api_key_scopes"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_api_key_scopes"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_api_keys"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_api_keys"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_archived_messages"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_archived_messages"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_associated_accounts"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_associated_accounts"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_auth_token_logs"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_auth_token_logs"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_auth_tokens"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_auth_tokens"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_avatars"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_avatars"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_badges"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_badges"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_custom_fields"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_custom_fields"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_emails"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_emails"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_exports"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_exports"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_field_options"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_field_options"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_fields"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_fields"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_histories"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_histories"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_ip_address_histories"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_ip_address_histories"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_open_ids"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_open_ids"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_options"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_options"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_profile_views"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_profile_views"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_profiles"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_profiles"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_search_data"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_search_data"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_second_factors"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_second_factors"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_security_keys"
[2020-11-30 04:55:45] pg_dump: dumping contents of table "public.user_security_keys"
[2020-11-30 04:55:45] pg_dump: processing data for table "public.user_stats"
[2020-11-30 04:55:46] pg_dump: dumping contents of table "public.user_stats"
[2020-11-30 04:55:46] pg_dump: processing data for table "public.user_uploads"
[2020-11-30 04:55:46] pg_dump: dumping contents of table "public.user_uploads"
[2020-11-30 04:55:46] pg_dump: processing data for table "public.user_visits"
[2020-11-30 04:55:46] pg_dump: dumping contents of table "public.user_visits"
[2020-11-30 04:55:46] pg_dump: processing data for table "public.user_warnings"
[2020-11-30 04:55:46] pg_dump: dumping contents of table "public.user_warnings"
[2020-11-30 04:55:46] pg_dump: processing data for table "public.users"
[2020-11-30 04:55:46] pg_dump: dumping contents of table "public.users"
[2020-11-30 04:55:46] pg_dump: processing data for table "public.watched_words"
[2020-11-30 04:55:46] pg_dump: dumping contents of table "public.watched_words"
[2020-11-30 04:55:46] pg_dump: processing data for table "public.web_crawler_requests"
[2020-11-30 04:55:46] pg_dump: dumping contents of table "public.web_crawler_requests"
[2020-11-30 04:55:46] pg_dump: processing data for table "public.web_hook_event_types"
[2020-11-30 04:55:46] pg_dump: dumping contents of table "public.web_hook_event_types"
[2020-11-30 04:55:46] pg_dump: processing data for table "public.web_hook_event_types_hooks"
[2020-11-30 04:55:46] pg_dump: dumping contents of table "public.web_hook_event_types_hooks"
[2020-11-30 04:55:46] pg_dump: processing data for table "public.web_hook_events"
[2020-11-30 04:55:46] pg_dump: dumping contents of table "public.web_hook_events"
[2020-11-30 04:55:46] pg_dump: processing data for table "public.web_hooks"
[2020-11-30 04:55:46] pg_dump: dumping contents of table "public.web_hooks"
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET allowed_pm_users_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET anonymous_users_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET api_key_scopes_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET api_keys_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET application_requests_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET backup_draft_posts_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET backup_draft_topics_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET backup_metadata_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET badge_groupings_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET badge_types_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET badges_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET bookmarks_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET categories_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET category_custom_fields_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET category_featured_topics_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET category_groups_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET category_tag_groups_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET category_tag_stats_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET category_tags_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET category_users_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET child_themes_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET color_scheme_colors_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET color_schemes_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET custom_emojis_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET developers_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET directory_items_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET draft_sequences_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET drafts_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET email_change_requests_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET email_logs_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET email_tokens_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET embeddable_hosts_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET group_archived_messages_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET group_category_notification_defaults_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET group_custom_fields_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET group_histories_id_seq
[2020-11-30 04:55:46] pg_dump: executing SEQUENCE SET group_mentions_id_seq
[2020-11-30 04:55:46] Finalizing backup...
[2020-11-30 04:55:46] Creating archive: bob-forum-2020-11-30-045458-v20201116132948.tar.gz
[2020-11-30 04:55:46] Making sure archive does not already exist...
[2020-11-30 04:55:46] Creating empty archive...
[2020-11-30 04:55:46] Archiving data dump...
[2020-11-30 04:55:47] Archiving uploads...
[2020-11-30 04:55:50] Removing tmp '/var/www/discourse/tmp/backups/default/2020-11-30-045458' directory...
[2020-11-30 04:55:50] Gzipping archive, this may take a while...
[2020-11-30 04:56:13] Executing the after_create_hook for the backup...
[2020-11-30 04:56:13] Deleting old backups...
[2020-11-30 04:56:13] Cleaning stuff up...
[2020-11-30 04:56:13] Removing '.tar' leftovers...
[2020-11-30 04:56:13] Marking backup as finished...
[2020-11-30 04:56:13] Refreshing disk stats...
[2020-11-30 04:56:13] Notifying 'bob' of the end of the backup...
[2020-11-30 04:56:32] Finished!

Backup file appears at Backup section in admin panel.

Despite manual or automatic, there were no backup files stored in /var/discourse/shared/standalone/backups/default/. Tried find command in terminal, still not found.

My settings:

Welcome back, Kingsley!

Maybe they are stored in another volume? You can check this in app.yml, in the volumes: part.


edit oh, this is a 2 years old topic, I don’t know why I had it open in a tab… :thinking: