Mongodb common backup command

22 views
Skip to first unread message

harish t

unread,
Aug 6, 2019, 1:13:16 AM8/6/19
to mongodb-user
I am looking for common backup command that can be used in both windows and Linux. 

Stephen Steneker

unread,
Aug 7, 2019, 6:08:37 AM8/7/19
to mongodb-user
On Tuesday, 6 August 2019 15:13:16 UTC+10, harish t wrote:
I am looking for common backup command that can be used in both windows and Linux. 

Hi Harish,

The mongorestore and mongodump utilities are supported for the same platforms as the MongoDB server (which includes Windows, Linux, macOS, and others). The dump format is cross-platform, so you can generally backup from Linux and restore in Windows (or vice-versa). One possible caveat is that Windows & Linux currently have different database naming restrictions, but the unsupported characters are straightforward to avoid.


Regards,
Stennie
Reply all
Reply to author
Forward
0 new messages