how to pckgacct directly to the remote FTP server?

sharmaine001

Well-Known Member
Jun 23, 2006
143
0
166
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?
 

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
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.