- Log in to your server via SSH, then navigate to your domain's directory: cd YOUR_DOMAIN.
- From your domain directory, create the backup of your database, mysqldump --opt --skip-lock-tables --routines --max_allowed_packet=2G -u USERNAME -p DATABASE | gzip > database-backup-$(date +%F).sql.gz.
Announcement
Collapse
No announcement yet.
How to Backup a Domain through SSH?
Collapse
Unconfigured Ad Widget
Collapse
X
-
-
Re: How to Backup a Domain through SSH?
Great Information , Can you explain How to Install Wordpress
Leave a comment:
-
How to Backup a Domain through SSH?
1. Log into your server as root using SSH
2. Change directory to the script directory by executing below command:
cd /scripts
3. Execute the CPanel script for the account backup by executing below command:
./pkgacct username
4. The backup file will be taken inside the user's home directory.
5. Now copy or move it to your backup drive.Last edited by admin; 08-14-2015, 07:35 AM.Tags: None
Leave a comment: