Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Error report when performing operation after MongoDB backup recovery starts: Error:couldn't add user:not master

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Environmental information

Operating system: Windows server2008R2

Database version: 3.2.7

Problem description: due to misoperation of MongoDB, MongoDB single instance sharding configuration information was lost using backup recovery, resulting in failure to perform any operation after mongodb startup.

The error in performing the database operation is as follows:

Process:

After communication, the prefecture and city technical response backup and recovery uses today's backup, and it is suspected that the backup is invalid because the database is not completely closed at the time of backup; using last month's backup file to restore the database, it is found that all the operation of the database is normal. After communication, the prefecture and city technology accepts the database rollback and uses last month's backup to restore.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report