Find the answer to your Linux question:
Results 1 to 6 of 6
Hi I want to create a backup of my website from the back-end (Linux - console). Because my control panel licensed has been expired. And I want to create backup ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! pratapsingh's Avatar
    Join Date
    Feb 2009
    Posts
    82

    Question How to create backup of a website from the backend?


    Hi I want to create a backup of my website from the back-end (Linux - console). Because my control panel licensed has been expired. And I want to create backup for my website from the backed. Is there any way to do so? Please let me know. And how can I again restore it?

    I tried to take backup using the script /scripts/cpbackup

    user@localhost [~]# /scripts/cpbackup
    [cpbackup] Setting up mount
    [cpbackup] running: /bin/mount /backup
    mount: can't find /backup in /etc/fstab or /etc/mtab
    [cpbackup] running: /bin/mount -o remount,rw /backup
    mount: can't find /backup in /etc/fstab or /etc/mtab
    [cpbackup] Backup failed! /backup is not mounted! at /scripts/cpbackup line 904.

    I googled this issue but i didn't find any solution for this.

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    what are you backing up, static html/php files or are you also needing mysql backups?

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Location
    Bangalore
    Posts
    33
    try /scripts/pkgacct <account_name> <destination>

  4. #4
    Just Joined! pratapsingh's Avatar
    Join Date
    Feb 2009
    Posts
    82
    Thanks it worked can you tell me how to delete an account and then restore it back ? From the back-end.

  5. #5
    Just Joined!
    Join Date
    Dec 2007
    Location
    Bangalore
    Posts
    33
    /scripts/killacct <account_name>
    /scripts/restorepkg <account_name>

    This might help you:
    Scripts

  6. #6
    Just Joined! pratapsingh's Avatar
    Join Date
    Feb 2009
    Posts
    82
    Thanks Nirvani It worked thanks alot for your replies ///

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •