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
# Conectarse al servidor remoto | |
$ ssh root@armatubicicleta.cl | |
# Hago el dump en el sistema remoto | |
$ mongodump | |
# Comprimo el archivo en el sistema remoto | |
$ tar -zcvf armatubicicleta.tgz dump/armatubicicleta/ | |
# Me descargo el archivo a mi sistema local (desde la terminal local) | |
$ scp root@armatubicicleta.cl:/root/dump/armatubicicleta.tgz /home/joaco/armatubicicleta.tgz | |
# Descomprimo el archivo | |
$ tar -zxvf armatubicicleta.tgz |
NewerOlder