Reputation: 8402
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
Reputation: 861
No, mongodump will overwrite any contents in the directory, so you're safe to use the same one.
Upvotes: 7