Recientemente tuve este dilema ya que quería pasar la Base de datos de uno de mis servidores a otro, entendí que la manera mas fácil era atravez de SSH (shell/ Terminal) antes de esto siempre entraba a phpMyAdmin hacia un backup del la base de datos y luego entraba al panel de phpMyAdmin del otro servidor y la subía. Pero me encontré con un problema mas grande, al tratar de hacer esto en el nuevo servidor me daba un limite de solo subir por el upload “10MB” esto obviamente comprimido por que las base de datos pesaba “120MB” comprimido era unos “12MB” imaginen eso por solo “2MB” no podía subir una base de datos.
Recordé entonces el famoso mysqlDump que hace un backup de tu base, pero me pregunte aja eso es fácil lo mismo que puedo hacer atravez del Admin de MySQL el problema es como la paso al otro servidor para que la suba? Yo soy bien amante del “SCP” (Secure Copy) de Linux que es la manera mas fácil y segura de pasar archivos atravez de un red por SSH. Luego de tener idea de lo que quería y necesitaba me di a la tarea de buscar y luego de un rato encontré mi solución y salvación!
Este es el comando que debes utilizar
mysqldump -utuuser -pmolongo tudb | ssh [email protected] "mysql -upapanga -pplancheta -h mysql.vidanix.com tudb"
En palabras mas fáciles, lo que estamos haciendo aquí es ejecutar un MySQL Dump (backup de db y luego transferir esta data a nuestro otro servidor por SSH y además de esto decirle que lo vamos a subir con el siguiente user y password en la siguiente tabla utilizando el siguiente subdominio. Si te fijas bien casa user y password esta empezado por el comando -u ó -p luego de esto pones el username o password todo corrido, sin espacios igualito a como aparece en el ejemplo. En algunos casos al pasar la base de datos a otro servidor nuestro proveedor tiene un servidor exclusivo de MySQL por eso al final hice referencia a -h (hostname) de ser “localhost” solo elimina la -h y listo. Ya tienes como hacer backup de una base de datos a otra todo por SSH, quien dijo que por GUI era mas fácil?
*Asegura-te de haber creado el db con el nombre que de-ses y el usuario antes de ejecutar este comando si no, no obtendrás ningún resultado.
Ultimos 10 Temas Por Ernesto
- Cables de Network/ Ethernet Cat6 - December 9th, 2019
- Website de la Semana: TechBench (Baja Windows 10 ISO directo de Microsoft) - December 7th, 2019
- Laptop de la semana - December 7th, 2019
- Regresamos en el 2019! - December 31st, 2018
- Programa de la Semana: Windows 7 Recovery CD - January 9th, 2014
- Averigua la información de tu servidor Linux via web - January 7th, 2014
- Baja tus Torrents anónimamente - January 5th, 2014
- Como comprimir un archivo en Ubuntu atravez del Terminal (SSH) - January 5th, 2014
- Actualiza tus Programas de forma fácil. - March 3rd, 2011
- Desactiva tu disco C:\ de ser Compatido "Share" en Windows - March 1st, 2011
stromectol oral: Iver Protocols Guide – ivermectin buy nz
AmiTrip: Elavil – Elavil
propecia rx: cheap propecia without rx – Follicle Insight
Follicle Insight: Follicle Insight – Follicle Insight
https://fertilitypctguide.us.com/# fertility pct guide
https://amitrip.us.com/# AmiTrip
buying generic propecia no prescription cost of cheap propecia pill Follicle Insight
https://amitrip.us.com/# Elavil
Iver Protocols Guide: stromectol ivermectin – Iver Protocols Guide
Iver Protocols Guide: Iver Protocols Guide – stromectol canada
buying generic propecia Follicle Insight Follicle Insight
where to buy cheap clomid without rx: fertility pct guide – can i get clomid without dr prescription
https://amitrip.us.com/# Generic Elavil
https://amitrip.us.com/# Generic Elavil
fertility pct guide: fertility pct guide – how can i get cheap clomid online
Amitriptyline: Amitriptyline – Elavil
cost of propecia pill: Follicle Insight – Follicle Insight
Iver Protocols Guide: Iver Protocols Guide – Iver Protocols Guide
https://follicle.us.com/# generic propecia online
https://iver.us.com/# Iver Protocols Guide
https://follicle.us.com/# buying cheap propecia prices
Hi, anyone searching for an affordable health store to purchase health products online. Check out MagMaxHealth: buspar. Selling high quality drugs with fast shipping. Best regards.
Hello, if you need a reliable online pharmacy to purchase prescription drugs cheaply. Take a look at this pharmacy: clarinex. They offer generic tablets with fast shipping. Cheers.
Greetings, if anyone needs a medical guide about common medicines, I recommend this online directory. You can read about how to take meds in detail. Read more here: https://magmaxhealth.com/Clomid. Very informative.
To understand the safety protocols, please review this resource: https://magmaxhealth.com/toradol.html to ensure risk management.
Hey everyone, if anyone needs dosage instructions on health treatments, take a look at this useful resource. It covers how to take meds in detail. See details: https://magmaxhealth.com/Meclizine. Very informative.
Hey everyone, I recently found a medical guide regarding various medications, take a look at this health wiki. It explains safety protocols very well. Read more here: https://magmaxhealth.com/Clomid. Good info.
Hi, for those searching for detailed information on health treatments, I recommend this useful resource. It covers how to take meds very well. Link: https://magmaxhealth.com/Flonase. Very informative.
For a complete overview of proper usage instructions, it is recommended to check this resource: https://magmaxhealth.com/lamictal.html which covers risk management.
Hello, anyone searching for a reliable source for meds to order pills hassle-free. Check out MagMaxHealth: toradol. Stocking a wide range of meds at the best prices. Good luck.
Hello, anyone searching for a reliable drugstore to purchase medicines cheaply. Check out this pharmacy: flonase. They offer generic tablets and huge discounts. Good luck.
Hi guys, if you are looking for a trusted online pharmacy to purchase prescription drugs online. Check out this pharmacy: prilosec. Stocking a wide range of meds and huge discounts. Cheers.
Hi, I recently found dosage instructions about various medications, take a look at this online directory. It covers how to take meds clearly. Read more here: https://magmaxhealth.com/Toradol. Good info.
Hey everyone, I recently found a medical guide regarding health treatments, I found this drug database. It explains usage and risks in detail. Source: https://magmaxhealth.com/Olanzapine. Hope it helps.
Hello, if you are looking for dosage instructions on prescription drugs, I recommend this drug database. You can read about usage and risks clearly. See details: https://magmaxhealth.com/Allopurinol. Good info.
Hey everyone, if anyone needs side effects info on health treatments, I found this health wiki. You can read about drug interactions very well. Link: https://magmaxhealth.com/Allopurinol. Hope this is useful.
Hi guys, anyone searching for a trusted health store to purchase medicines online. Check out MagMaxHealth: allopurinol. Selling generic tablets at the best prices. Cheers.
Greetings, I wanted to share a trusted drugstore to purchase prescription drugs securely. Check out MagMaxHealth: clarinex. Selling generic tablets at the best prices. Best regards.
To understand the side effects and interactions, it is recommended to check this resource: https://magmaxhealth.com/ which covers clinical details.
In terms of safety protocols, please review this resource: https://magmaxhealth.com/rosuvastatin.html for safe treatment.
Hi all, if you are looking for a medical guide on health treatments, I recommend this online directory. It explains usage and risks clearly. Link: https://magmaxhealth.com/Toradol. Thanks.
Hi all, if anyone needs side effects info about common medicines, I recommend this medical reference. It covers drug interactions clearly. Read more here: https://magmaxhealth.com/Methotrexate. Hope it helps.
To understand the medical specifications, please review the medical directory at: https://magmaxhealth.com/meclizine.html which covers risk management.
Hi, anyone searching for a reliable source for meds to purchase health products online. I found MagMaxHealth: MagMaxHealth. Selling high quality drugs at the best prices. Thanks.
Hello, I recently found detailed information on common medicines, take a look at this health wiki. It explains how to take meds very well. See details: https://magmaxhealth.com/Buspar. Hope this is useful.
In terms of medical specifications, it is recommended to check the detailed guide on: https://magmaxhealth.com/lipitor.html for safe treatment.
Hi, if anyone needs side effects info about common medicines, check out this medical reference. You can read about usage and risks clearly. Link: https://magmaxhealth.com/Flonase. Hope it helps.
Hi all, for those searching for side effects info about various medications, I recommend this online directory. You can read about drug interactions in detail. Reference: https://magmaxhealth.com/Protonix. Thanks.
Hello, if you are looking for an affordable health store to order pills securely. Take a look at this pharmacy: olanzapine. They offer generic tablets and huge discounts. Best regards.
Hi, if you are looking for a reliable health store to buy medicines hassle-free. I recommend this pharmacy: clarinex. Selling high quality drugs with fast shipping. Hope this helps.