The following only applies to those with SSH access to their own server.
Important note: This will not work for those on Bryght's shared hosted service: only customers with their own virtual private server can follow these steps. If you are using the Bryght hosted service, contact us for a backup of your site's database.
ssh yourdomain.com -l adminyourdomain.com with the domain you have pointed to your server, or the IP address for your server. Then type in your password.sudo su/var/www/html/sites/default or /var/www/html/sites/yourdomain.comcat /var/www/html/sites/yourdomain.com/settings.php | grep "mysql"mysql://username:password@localhost/databasenamemysqldump -uYourUser -pYourPassword Datbase_Name > yourdomain.com.MM.DD.YYYY.mysql
YourUser, YourPassword, Database_Name and the date (which is useful when going through old backups) as appropriatetar -czvf yourdomain.com.MM.DD.YYYY.tar.gz yourdomain.com.MM.DD.YYYY.mysqlrm yourdomain.MM.DD.YYYY.*This work is licensed under a Creative Commons Attribution-Share Alike 2.5 License. This license applies to all text written by Bryght. All others retain full copyright to their text.