-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
190 lines (151 loc) · 7.36 KB
/
index.html
File metadata and controls
190 lines (151 loc) · 7.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
<meta name="generator" content="Hugo 0.69.2" />
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-51875295-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-51875295-4');
</script>
<script data-ad-client="ca-pub-3643130310535590" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta property="og:title" content="Abhay PS" />
<meta property="og:description" content="A blog covering articles on technology, travel, education, food and other stuff." />
<meta property="og:type" content="website" />
<meta property="og:url" content="/" />
<meta property="og:updated_time" content="2015-11-18T22:43:12+01:00" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Abhay PS</title>
<meta name="description" content="A blog covering articles on technology, travel, education, food and other stuff." />
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abril+Fatface|PT+Sans|Zilla+Slab:400,400i,700&display=swap">
</head>
<body>
<aside class="sidebar">
<div class="container">
<div class="">
<div class="sidebar-about">
<img src="/images/abhay-profile.jpg" class="rounded-circle logo-pic" alt="Abhay PS - Profile picture">
<a href="/"><h1>Abhay PS</h1></a>
<p class="lead">
Another drop in the pool
</p>
</div>
<nav class="">
<ul class="nav flex-column">
<li class="nav-item"><a class="nav-link" href="/">Home</a> </li>
<li class="nav-item"><a class="nav-link" href="/about/"> About </a></li><li class="nav-item"><a class="nav-link" href="/categories/technology/"> Technology </a></li><li class="nav-item"><a class="nav-link" href="https://github.com/psabhay/"> Github </a></li><li class="nav-item"><a class="nav-link" href="https://www.linkedin.com/in/psabhay/"> LinkedIn </a></li>
</ul>
</nav>
<p>© 2020. All rights reserved. </p>
</div>
</div>
</aside>
<main class="content">
<div class="container-lg mt-4">
<article class="post mt-4">
<h1 class="post-title">
<a href="/posts/mongodb/mongodb-backup-and-restore/">Mongodb backup and restore</a>
</h1>
<h5>
<time datetime="2015-11-18T22:43:12+0100" class="post-date">Wed, Nov 18, 2015</time>
</h5>
<p>
<span class="badge badge-danger">
<a class="tags" href="/tags/database/">database</a>
</span>
<span class="badge badge-danger">
<a class="tags" href="/tags/mongodb/">mongodb</a>
</span>
<span class="badge badge-danger">
<a class="tags" href="/tags/nosql/">nosql</a>
</span>
</p>
<p>
Backup and restore are essential routine jobs. If you are working with MongoDB, then you must know how to take backups as well as how to restore them. MongoDB comes with excellent command-line tools for taking backups and restoring backups, i.e., mongodump and mongorestore.
This post shows MongoDB’s backup/restore methods; you can refer to MongoDB documentation for backup and restore strategies for more insight. But what I am going to show you are the most common and simple ways to backup and restore MongoDB.
<span class="read-more-link">
<a href="/posts/mongodb/mongodb-backup-and-restore/">Read More…</a>
</span>
</p>
</article><article class="post mt-4">
<h1 class="post-title">
<a href="/posts/mongodb/crud-operations-in-mongodb/">CRUD operations in Mongodb</a>
</h1>
<h5>
<time datetime="2015-08-18T20:18:53+0100" class="post-date">Tue, Aug 18, 2015</time>
</h5>
<p>
<span class="badge badge-danger">
<a class="tags" href="/tags/database/">database</a>
</span>
<span class="badge badge-danger">
<a class="tags" href="/tags/mongodb/">mongodb</a>
</span>
<span class="badge badge-danger">
<a class="tags" href="/tags/nosql/">nosql</a>
</span>
</p>
<p>
The acronym CRUD stands for Create, Read, Update, and Delete. In this section, we will learn basic CRUD operations. CRUD operations can be extremely complex sometimes, but we will not go into the complicated stuff for two reasons. First, it is not under the scope of this post. Second, we will be doing a lot of CRUD operations in the following posts.
Before we start learning CRUD, I must tell you that we will be using the mongo shell for CRUD in the following sections.
<span class="read-more-link">
<a href="/posts/mongodb/crud-operations-in-mongodb/">Read More…</a>
</span>
</p>
</article><article class="post mt-4">
<h1 class="post-title">
<a href="/posts/mongodb/indexes-in-mongodb/">Indexes in Mongodb</a>
</h1>
<h5>
<time datetime="2015-04-19T15:01:32+0100" class="post-date">Sun, Apr 19, 2015</time>
</h5>
<p>
<span class="badge badge-danger">
<a class="tags" href="/tags/database/">database</a>
</span>
<span class="badge badge-danger">
<a class="tags" href="/tags/mongodb/">mongodb</a>
</span>
<span class="badge badge-danger">
<a class="tags" href="/tags/nosql/">nosql</a>
</span>
</p>
<p>
MongoDB provides different kinds of indexes. Indexes are vital when the dataset is big. You just cannot keep scanning the whole collection on disk again and again for every query. So, indexing becomes extremely important when you have a massive amount of data stored in the collections. But when you have a huge dataset, then chances are there that one type of index will not fit for all as the nature of data differs.
<span class="read-more-link">
<a href="/posts/mongodb/indexes-in-mongodb/">Read More…</a>
</span>
</p>
</article><article class="post mt-4">
<h1 class="post-title">
<a href="/posts/mongodb/mongodb-gridfs-using-python/">Mongodb GridFS using Python</a>
</h1>
<h5>
<time datetime="2015-03-18T11:53:34+0100" class="post-date">Wed, Mar 18, 2015</time>
</h5>
<p>
<span class="badge badge-danger">
<a class="tags" href="/tags/database/">database</a>
</span>
<span class="badge badge-danger">
<a class="tags" href="/tags/mongodb/">mongodb</a>
</span>
<span class="badge badge-danger">
<a class="tags" href="/tags/nosql/">nosql</a>
</span>
</p>
<p>
Data is collected and stored in different forms depending on the nature of data. It can be in the form of text, images, videos, audio files, and files in other formats. MongoDB can be used for storing all kinds of data, but so far, we have used it for storing plain text information in MongoDB documents. As you know by now, that MongoDB document has a size limit of 16MB. Though 16MB is good enough in most cases, but looks tiny if you think of storing high-resolution images, PDF files, music, videos, etc.
<span class="read-more-link">
<a href="/posts/mongodb/mongodb-gridfs-using-python/">Read More…</a>
</span>
</p>
</article>
</div>
</main>
</body>
</html>