The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to pckgacct directly to the remote FTP server?

Discussion in 'General Discussion' started by sharmaine001, Mar 14, 2010.

  1. sharmaine001

    sharmaine001 Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    I want to generate a full backup of a site using pkgacct

    Is there a command I can use to send the .tar.gz file to a remote FTP server directly from my server using SSH?
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    You can place the .tar.gz file inside the public_html folder of your domain in your exisiting server and then you can login to your SSH from the destination server and fire the below mentioned command to get the backup:

    wget /home/username/public_html/backup.tar.gz

    Once you fire the above command it will download backup.tar.gz file into your destination server.
     
  3. sharmaine001

    sharmaine001 Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    I dont have ssh access to the destination server
     
  4. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    You can run a backup of the account from cPanel >> Backup option where you have an option to specify the remote Ftp details. Once cPanel backs up the account, it will transfer the backup file to the remote server immediately using Ftp.
     
Loading...

Share This Page