Skip to content

Commit

Permalink
Merge pull request Sefaria#1682 from Sefaria/add-dump-exclusions
Browse files Browse the repository at this point in the history
helm(fix): Remove collection not needed for database backup
  • Loading branch information
edamboritz authored Oct 30, 2023
2 parents 7abfa89 + f75f782 commit 54ecfae
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ data:
sleep 2
done
until mongodump --uri="$URI" -v -d $DATABASE --excludeCollection=history --excludeCollection=texts --excludeCollection=sheets --excludeCollection=links --excludeCollection=user_history -o "${DATADIR}/dump"
until mongodump --uri="$URI" -v -d $DATABASE --excludeCollection=history --excludeCollection=texts --excludeCollection=sheets --excludeCollection=links
--excludeCollection=django_cache --excludeCollection=user_history -o "${DATADIR}/dump"
do
echo "trying to dump other stuff again"
sleep 2
Expand Down

0 comments on commit 54ecfae

Please sign in to comment.