Percona-Lab / mongodb_consistent_backup

A tool for performing consistent backups of MongoDB Clusters or Replica Sets
https://www.percona.com
Apache License 2.0
276 stars 81 forks source link

Upload/Rsync/Rsync: Adding a function get_dest_dir() to work like in … #270

Closed corey-hammerton closed 6 years ago

corey-hammerton commented 6 years ago

…RsyncUploadThread

This function returns the joined result of the rsync path and the base dir, exactly like in RsyncUploadThread. This commit adds this function and uses it in the prepare_dest_dir() and in the rsync_config that gets logged.

timvaillancourt commented 6 years ago

LGTM, thanks @corey-hammerton