Eduardo
Eduardo

Reputation: 8402

Mongodump for Daily Backups

I am considering using mongodump for daily backups.

If I always perform the dump on the same directory: do I have to make sure to clear the contents from the previous day, before running mongodump? I could not find anything about this in the documentation.

Upvotes: 4

Views: 1451

Answers (1)

Hans N. Hjort
Hans N. Hjort

Reputation: 861

No, mongodump will overwrite any contents in the directory, so you're safe to use the same one.

Upvotes: 7

Related Questions