mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Moving starred/shared stories to separate backup.
This commit is contained in:
parent
699bbceeba
commit
be6e5523d3
1 changed files with 9 additions and 2 deletions
|
@ -26,12 +26,12 @@ collections=(
|
|||
redeemed_codes
|
||||
saved_searches
|
||||
sent_emails
|
||||
shared_stories
|
||||
# shared_stories
|
||||
social_invites
|
||||
social_profile
|
||||
social_services
|
||||
social_subscription
|
||||
starred_stories
|
||||
# starred_stories
|
||||
starred_stories_counts
|
||||
statistics
|
||||
# stories
|
||||
|
@ -41,6 +41,13 @@ collections=(
|
|||
user_search
|
||||
)
|
||||
|
||||
if [$1 == "stories"]; then
|
||||
collections +=(
|
||||
shared_stories
|
||||
starred_stories
|
||||
)
|
||||
fi
|
||||
|
||||
for collection in ${collections[@]}; do
|
||||
now=$(date '+%Y-%m-%d-%H-%M')
|
||||
echo "---> Dumping $collection - ${now}"
|
||||
|
|
Loading…
Add table
Reference in a new issue