Remote Backup not transferring

cPanel, Industry leading hosting platform with world-class support.
Post Reply
peterjones445
Posts: 5
Joined: July 3rd, 2013, 10:36 am

Remote Backup not transferring

Post by peterjones445 »

Hi,
I have set everything up correctly to the best of my knowledge.

I have set it to backup an entire directory to a remote server. I can connect to the remote server with RSYNC without password by using a key as described in the JBM guide and I have set the cron job to do the daily backup directory. I have set it to unlimited bandwidth.

I have setup the directory on the remote machine with the same name as in the config line of JBM /backup/remote

In the JBM log I get the following Entire Directory Remote Backups Cron Job (RSYNC) :: sending incremental file list

with total execution time of 00:00:07

I get no data transfer to the remote server at all.

Help please :)
User avatar
elialum
Staff Member
Staff Member
Posts: 98
Joined: October 25th, 2015, 1:44 pm

Remote Backup not transferring

Post by elialum »

Hi Pete,

Are you using cPanel legacy backup ?
If yes, are you sure you enabled account backup and there are selected accounts ?

Currently we are *not* supporting the new backup method introduced in cPanel version 11.38.
You will need to use the legacy backup for our module to work.

Version 2.1 is on development now and will change the whole directory structure - the "daily/weekly/monthly" folders will be moved to "date" based folders (as it works in the new backup method).

Eli.
peterjones445
Posts: 5
Joined: July 3rd, 2013, 10:36 am

Remote Backup not transferring

Post by peterjones445 »

Hi Eli,

Yes the legacy backup is set up and working. Actually, during the installation process if you do not have the legacy backup activated it will not allow you to proceed.

I was thinking about RSYNC and wanted to know the following.

1. Does JBM send a list to RSYNC on the remote server such that the remote server RSYNC visits the main server and retrieves the directory with files?

or

2. Does RSYNC on the main server download the files to the remote server?

Regards
Pete
User avatar
elialum
Staff Member
Staff Member
Posts: 98
Joined: October 25th, 2015, 1:44 pm

Remote Backup not transferring

Post by elialum »

Hi,

As for the rsync - files are being pushed from the main server to the remote server.
You can alternately try ftp and see how it goes.

If there is still an issue, please open a support ticket with temporary server login details and our staff will investigate this issue for you.

Eli.
peterjones445
Posts: 5
Joined: July 3rd, 2013, 10:36 am

Remote Backup not transferring

Post by peterjones445 »

Hi Eli,

I can Wget also but am trying to demo the workings of JBM. I am unable to open a support ticket as I am on a trial,

Also, I am getting confirmation from the remote server logs that the main server is logging in as root when the cron runs.

Just nothing else occurs.

Regards
Pete
User avatar
elialum
Staff Member
Staff Member
Posts: 98
Joined: October 25th, 2015, 1:44 pm

Remote Backup not transferring

Post by elialum »

Hi Pete,

I've just logged into your account, there are not limits for opening a support ticket.
Please open a ticket, we will need to have a look at this one.

We will also update this ticket with the findings, so other users can share the information.

Thanks in advance,
Eli.
User avatar
elialum
Staff Member
Staff Member
Posts: 98
Joined: October 25th, 2015, 1:44 pm

Remote Backup not transferring

Post by elialum »

Hi Pete,

I've encountered the same issue with another client.

It was resolved after we created the folder "cpbackup" in the destination directory.
Also need to make sure it has proper ownership and permissions.

I am not sure why, but rsync refuses to create the "cpbackup" folder (works fine for other users), so after the folder creation, this issue was resolved.

We will fix this issue in the next release, but in the meantime I think this will resolve your problem.

Kind regards,
Eli.
Post Reply