cPanel & WHM Version 92 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Provide SSHFS support for Backups

David Levey shared this idea 3 years ago
Open Discussion

As a server administrator, I would like to be able to use the SSHFS filesystem for local backups.

Comments (4)

photo
1

All that should be done is make an option to disable checking the inode count really was increased and it would work perfectly...


[2017-05-04 00:30:03 +0200] warn [backup] Hard link reported success but doesn’t seem to have worked! at /usr/local/cpanel/bin/backup line 2051.


Adding an option to disable this extensive verification would take a few minutes of development, I cannot believe it's not working out of the box.

photo
1

PS: The main reason this could some in handy is because you can mount the remote drive very easy like this and you don't have the risk of (over)filling the local disk with too many backups.

photo
4

It's really insane we cannot backup to SSHFS just because of this superfluous checks

photo
1

Hi we've been using mounted sshfs for around 2 years.

Every night backups run on 4 servers mounted to the same remote backup server via sshfs.

photo
2

Hi uk01,


Of course sshfs isn't blocked, we use it for many years. However there is an issue with the hard link not supported on sshfs which is very easy to fix. Because of this issue we can't properly use incremental.


Furthermore if we want to keep backup of 1th of the month and also daily, it will store those backups double. This all while hardlinking does perfeclty work on sshfs for quite some tome now, it's just the superfluous checking that is blocking us from using it properly.

photo
1

ah, good to know this. I didn't get as far as monthly backups because incremental didn't work when we switched to it in v66. This seems to be bug from the last reply on my thread here https://forums.cpanel.net/threads/incremental-backups-taking-up-too-much-space.608455/#post-2469907

Hopefully the hardlinking you've highlighted will get addresses at some stage too

photo
1

I now also realise the hardlink issue is what's maybe causing this problem

photo