I am trying to backup my website hosted on HostGator to my local TrueNas Server.
I would like to schedule it to backup weekly to a datashare with shapshots.
I am having major trouble pulling the file from the webserver using the truenas.
I started by trying rsync, but I could not get it to connect. I think it has to do with the ssh keys. see below
Then I tired SFTP, but the website cpanel will only generate encrpted ssh keys which truenas will not take in the key setup.
When I store the keys gererated by truenas on the server, I get a error about a encryption mismatch.
Tried WebDev, which Hostgator calls WebDisk. I created a new webdisk user with readonly on hostgator and it seemed to connect, but gives me the following error.
I can use Ftp, but I dont really want to, because on the security and it seems like it will pull the entire site everytime, and not just waht has changed.
Has anyone done this before, and how?
I would like to schedule it to backup weekly to a datashare with shapshots.
I am having major trouble pulling the file from the webserver using the truenas.
I started by trying rsync, but I could not get it to connect. I think it has to do with the ssh keys. see below
Then I tired SFTP, but the website cpanel will only generate encrpted ssh keys which truenas will not take in the key setup.
When I store the keys gererated by truenas on the server, I get a error about a encryption mismatch.
Tried WebDev, which Hostgator calls WebDisk. I created a new webdisk user with readonly on hostgator and it seemed to connect, but gives me the following error.
Code:
Error: <3>ERROR : : error listing: couldn't list files: XML syntax error on line 4: invalid character entity » Failed to lsjson with 2 errors: last error was: error in ListJSON: couldn't list files: XML syntax error on line 4: invalid character entity »
I can use Ftp, but I dont really want to, because on the security and it seems like it will pull the entire site everytime, and not just waht has changed.
Has anyone done this before, and how?