I want to backup daily backup for my mongoDB, here is my script on linux.
mongodump --authenticationDatabase=“user” -u=“$user” -p=“password” --db=$database --archive=$backuppath/$database$DATE.gz --gzip
With this method I think this is not practice because output for this file until 30GB. I just want to backup for daily with index timestamp?
This is example my index timestamp
Please help me with this case