Created
December 28, 2015 15:08
-
-
Save ratulcse10/c16ed621fa4d64ca0a7d to your computer and use it in GitHub Desktop.
how to restore locked droplet
This file contains hidden or 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
// Contact Support Ticke | |
1. Login to Web Console | |
* Link3 will not work, need to use Qubee | |
2. Backup MySQL | |
mysqldump -u username -p database_to_backup > backup_name.sql | |
3. Move that database file to /var/www/html | |
4. Contact Support to convert Droptlet to Recovery Mood | |
5. Login Web Console and enable Everything, you will get new SSH | |
6. Login from Terminal and go to | |
##To GET FILES | |
cd /mnt/var/www/html | |
**compress the folder tar.gz | |
tar -zcvf archive-name.tar.gz directory-nam | |
##TO GET MySQL | |
cd /mnt/var/www/html and check sql | |
7. Login to another Working Droplet | |
8. Copy file from Affected Droplet | |
##File | |
scp -3 root@IP_AFFECTED_DROPLET::/mnt/var/www/html/folder.tar.gz /destination_of_this | |
##Database | |
scp -3 root@IP_AFFECTED_DROPLET::/mnt/var/www/html/database.sql /destination_of_this | |
NOW Tell Support to destry and reinitiate this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment