Remote backup directory change?

uk01

Well-Known Member
Dec 31, 2009
232
35
78
Hi, I got disk full errors tonight from the remote destination.

When I checked I was confused as there was no incremental backups for tonight or last night (since v68 update). The last folder in /home/ was 2 days old.

Then by accident I found them in /root/home/. It seems v68 started putting them in /root.

Am I correct in thinking it has started complete new backups? I'm assuming so as it filled my drive 100%. So I can ditch the old ones without affecting the integrity of the new folders?

Why has this changed?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Hello,

Could you open a support ticket using the link in my signature so we can take a closer look at your system to verify what actually happened?

Thank you.
 

brt

Well-Known Member
Jul 9, 2015
105
10
68
US
cPanel Access Level
Root Administrator
I'm seeing this as well, and only on the remote site.

Backups used to be in /[servername]/[backup directory]/2017-11-09 and now appear to be going to /[servername]/[backup directory]/home/[servername]/2017-11-09.

?????
 
Last edited:

brt

Well-Known Member
Jul 9, 2015
105
10
68
US
cPanel Access Level
Root Administrator
Ah, the Backup Directory that you enter in Backup Settings for the remote host appears to have changed to relative, so the path is doubled up.

Old path was:
/backup/path

New path is:
/backup/path/backup/path

Why did this change?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Backups used to be in /[servername]/[backup directory]/2017-11-09 and now appear to be going to /[servername]/[backup directory]/home/[servername]/2017-11-09.
Hello,

This behavior stems from the following case implemented in cPanel version 68:

Fixed case CPANEL-15309: Backup Rsync transport: make link-dest option absolute.

Internal case CPANEL-16515 is now open to determine if the new behavior is by design, and if so, to ensure we document that information. I'll update this thread with more information on the status of this case as it becomes available.

Thank you.
 

brt

Well-Known Member
Jul 9, 2015
105
10
68
US
cPanel Access Level
Root Administrator
I can't tell you how frustrating this is. Is there any way to currently use an absolute directory path anymore?

If I enter "/backup/path" it still puts the backup inside the user folder under "{userdir}/backup/path/*".

This behavior is new as of this last week or two.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Is there any way to currently use an absolute directory path anymore?
You can use the following value to define the root directory until a resolution is published:

Code:
/../
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Hello,

To update, it was determined the current behavior is by design. Per the case:

The backup directory on remote systems is always created relative to the home directory of the logged in user on the remote system.
Thank you.