Skip to content

Instantly share code, notes, and snippets.

@mrl22
Created November 28, 2023 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrl22/4191b907bdada5c8cc51031cbf6e3665 to your computer and use it in GitHub Desktop.
Save mrl22/4191b907bdada5c8cc51031cbf6e3665 to your computer and use it in GitHub Desktop.
QNAP HBS Hybrid Backup Sync missing 'home' 'homes' directory on remote rsync server.

QNAP HBS Hybrid Backup Sync missing 'home' 'homes' directory on remote rsync server.

If you are reading this, you have probably ran into the same issue that I have that when using QNAP HBS and you browse the remote backup server, the home or /home.

Through the research I have done, unfortunately, there is no quick fix for this.

It seems that QNAP have a rule across the board that all root folders containing the word home are hidden from view. This is quite a big issue when it comes to backing up to remote rsync servers over SSH as Linux users are typically stored in the /home directory.

The fix (not perfect)

On your linux server, you are going to have to move your Linux user to another directory.

What I did was created a root folder on my Linux server called backup and moved this specific user there.

Here is how I did it:

For the purpose of this explanation, I am going to user the user backupuser. So make sure you replace this with your real user.

sudo mkdir /backup
sudo mv /home/backupuser /backup/
usermod -d /backup/backupuser backupuser

If /home resides on its own partition with much larger space, you may need to move and/or alter some partitions to ensure /backup has enough storage space for your QNAP backups.

Once setup, you should now be able to navigate to the /backup directory on the remote server.

Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment