SSH to Second Hard Drive on Ubuntu 23.x rsync

cPanel, Industry leading hosting platform with world-class support.
Post Reply
3awh
Posts: 9
Joined: May 20th, 2019, 6:42 pm

SSH to Second Hard Drive on Ubuntu 23.x rsync

Post by 3awh »

I have Ubuntu v23 installed on the second hard drive 2 TB and the first a 3 TB
the first 3 TB HD Name Is Backup
so on the Backup disk, I created a folder called Jetbackup
When I checked the path was. ./media/mitch/Backup/jetbackup
I started the transfer via SSH to the home server using rsync.
When it was done backing up the server. it was on the other 2 TB drive. wanted the 3 TB to be the backup drive
What did I do wrong? I think it might be a Linux thing.

Mitch
Mitch
Affordable Professional Web Hosting: https://3alienswebhosting.com
JetAppsKevin
Staff Member
Staff Member
Posts: 31
Joined: October 4th, 2023, 10:44 pm

Re: SSH to Second Hard Drive on Ubuntu 23.x rsync

Post by JetAppsKevin »

Hello Mitch,

If you are able to, please explain further about how JetBackup was utilized so that I would be able to assist you better.

From my understanding, you created a folder called "JetBackup" on your SSH destination and initiated a backup job. When it was complete, you found that the files were transferred to the wrong storage destination. Please clarify if I misread the issue.

As an initial check, please verify if the path to the folder on the SSH destination is configured correctly. For more information, you can refer to our documentation.

https://docs.jetbackup.com/v5.3-BETA/ad ... 0will%20be

If you are trying to manually transfer JetBackup generated backups via `rsync`, it is possible, but I would like to note that we do not recommend manually transferring JetBackup backups at any time.

https://docs.jetbackup.com/v5.3-BETA/ad ... backups%3F

If you still wish to do so, you can use the following modified command based on the one JetBackup uses to transfer files. Again, we can't guarantee the integrity of the backups if you manually move/transfer them.

Code: Select all

/usr/bin/rsync --perms -e 'ssh -p {PORT_NUM} -i /PATH/TO/KEY.RSA' -rltHS --safe-links --hard-links --no-D --chmod=Du=rwx,Fu+rw --timeout=600 '/PATH/TO/BACKUP/' 'HOST@SERVER:/PATH/TO/DESTINATION/'
I hope this helps!

Thank you,
Kevin N
JetApps, LLC.
JetApps.com | JetBackup.com
Post Reply