This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Comandos para hacer un respaldo de la base de datos en MongoDB 4.2 | |
# abrír una consola y ubicarse en los binarios de Mongo, | |
# en Windows C:\Program Files\MongoDB\Server\4.2\bin | |
# =========================================== | |
# - - - - - - - - Comandos - - - - - - - - - | |
# =========================================== | |
# CREAR | |
mongodump -h IP:PUERTO -d NOMBRE_BD -u USUARIO -p CONTRASEÑA --authenticationDatabase DB_DE_AUTENTICACION --out /PATH/DE/SALIDA/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*============================================= | |
- - - - - - - - - - Paquetes - - - - - - - - - | |
=============================================*/ | |
# Buscar un paquete instalado | |
sudo pacman -Qs <paquete> | |
# Desinstalar un paquete (Junto con dependencias) | |
sudo pacman -Rns <paquete> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*============================================= | |
- - - - - - - - - - Básico - - - - - - - - - - | |
=============================================*/ | |
# Iniciar Git | |
git init | |
# Eliminar un archivo | |
git rm <archivo> |