Announcement

Collapse
No announcement yet.

How to Backup a Domain through SSH?

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    juniovid
    Junior Member

  • juniovid
    replied
    1. Log in to your server via SSH, then navigate to your domain's directory: cd YOUR_DOMAIN.
    2. 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.

    Leave a comment:

  • edwardodfrazier
    Junior Member

  • edwardodfrazier
    replied
    Re: How to Backup a Domain through SSH?

    Great Information , Can you explain How to Install Wordpress

    Leave a comment:


  • kenn
    started a topic How to Backup a Domain through SSH?

    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.
    admin
    Administrator
    Last edited by admin; 08-14-2015, 07:35 AM.
Working...
X

Sign up for a News Letter Click here to sign up