remote backup problems

Thanks to excellent support by @CyberPanel , remote scheduled automatic daily backups work without hiccups for past 6 days or so.

Regarding automated backup it is now working very well.

have not seen “Errno” errors in cyberpanel log nor random errors in error log. seems much improved.

the only thing that still unable to decipher is , how to read the date of the backup file as like below:
“backup-domain-07-00-04-Thu-Mar-2019”

Because the backup files will create the DAY folder in backup server, over a few weeks you can receive many of these backup files under “Thu-Mar”.

so far one way to see which is latest is by going to main server and check under “Create Backup” you can see list of previously backed up files and their status.

another way is go to backup folder and do ls -lu

as for manual remote backup (transfer from server to server) it can only work in SSH port 22.

if receiving server is not Port 22 is not work.

if possible it will be nice to also include possible to change port as well (same like automated scheduled backup, u can specify port )

good for security, i think.

would also be nice to specify a custom local path to save backups to besides just the home variable which is mapped to the below in > https://github.com/usmannasir/cyberpanel/blob/1.8.0/backup/backupManager.py
/home/domain/backup

Not being able to map the path on local or remote scheduled backups is very limiting compared to what people are used to coming from cPanel.
https://documentation.cpanel.net/display/82Docs/Backup+Configuration

Currently working around this with a custom script with rsync so it copies all the backups from all the users’s backup folders to a single remote folder.

rsync --remove-source-files -azP /home/*/backup/ $Username@$Host:$RemotePath

If I could map it properly to one path for all accounts globally. I could just write directly to a remote sshfs mount via autofs and users/admins would be able to see their completed backups as if they were local but without storing them all locally.

Hello, remotebackups,
when I want to move sites to other server, there is no error but it doesn’t move any site at all.

@whattheserver

When scheduling local backups after v1.9.0 you will have option to specify local path where backups will be moved in date arranged folders.

@TURK

please provide more details which feature are you referring to?

############################
Starting remote Backup
Start date: 06.18.2021_09-31-16
############################

[06.18.2021_09-31-16] Currently generating local backups for: wikivaly.xyz
[06.18.2021_09-31-16] Starting local backup for: wikivaly.xyz
[06.18.2021_09-31-19] Waiting for backup to complete…
[06.18.2021_09-31-26] Backup Completed for: wikivaly.xyz
[06.18.2021_09-31-26] Local Backup Completed for: wikivaly.xyz
[06.18.2021_09-31-26] Sending /home/backup/transfer-6670/backup-wikivaly.xyz-06.18.2021_09-31-17.tar.gz to 72.44.76.15.
[06.18.2021_09-31-26] Sent /home/backup/transfer-6670/backup-wikivaly.xyz-06.18.2021_09-31-17.tar.gz to 72.44.76.15.
[06.18.2021_09-31-26] #############################################
[06.18.2021_09-31-26] Backups are successfully generated and received on: 72.44.76.15

############################
Starting Backup Restore
Start date: 06.18.2021_09-31-27
############################

[06.18.2021_09-31-27] Backup Restore complete
completed[success]

The problem is Restore is not successfully done.

Have any solution? I have the same problem here in 2024. SSH port 22. API access granted. Sites are backed up on the source server, but are not transferred to the destination server.