Einen Überblick über das Administrationstool KeyHelp der Keyweb AG und dessen Download gibt es auf https://www.keyhelp.de

Dieses Forum soll es interessierten Benutzern ermöglichen, sich über KeyHelp auszutauschen und Hilfe bei Problemen zu finden.

Restore New management Backup form old server to new server

What features are you missing in KeyHelp? We are listening to you.
Antworten
Nikitaidis
Beiträge: 29
Registriert: So 28. Apr 2019, 13:59

Restore New management Backup form old server to new server

Beitrag von Nikitaidis »

Hi,
How can use Restore New management Backup form old server to new server ?

Regards
Michael
Benutzeravatar
Alexander
Keyweb AG
Beiträge: 2062
Registriert: Mi 20. Jan 2016, 02:23

Re: Restore New management Backup form old server to new server

Beitrag von Alexander »

Hey,

one workflow in case of a full server transfer could be:

Server A:
1) Setup a remote backup repository
2) Create a full server backup into this repository

Server B:
1) Setup the same remote repository, after server A has finished its backup job
2) Wait some minutes, the content of this repository / the backup will be read
3) Click on restore and restore all databases which belong to root - (search for (root) in the search box), also restore all paths.
4) Wait until the restore has finished.
5) You probably have to setup the repository again, as the KeyHelp database has been overwritten meanwhile.
6) Now all the other content like databases / emails can be restored.
7) As a last step, one may need to update settings like the server name and IP addresses etc.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Nikitaidis
Beiträge: 29
Registriert: So 28. Apr 2019, 13:59

Re: Restore New management Backup form old server to new server

Beitrag von Nikitaidis »

SFTP show error when I add it ( I add my password correct )


[1;33mCommand: [0m[1mnice -n 0 sudo -u 'root' RCLONE_CONFIG='/backup-keyhelp/root/6_20210716_230736_366371/rclone' restic --cache-dir '/backup-keyhelp/root/cache/' --json --repo 'rclone:rclone-storage:/all_backup/' --password-file '/backup-keyhelp/root/6_20210716_230736_366371/restic_password' cat config[0m [1;31mError: [0mFatal: wrong password or no key found [1;33mCommand: [0m[1mnice -n 0 sudo -u 'root' RCLONE_CONFIG='/backup-keyhelp/root/6_20210716_230736_366371/rclone' restic --cache-dir '/backup-keyhelp/root/cache/' --json --repo 'rclone:rclone-storage:/all_backup/' --password-file '/backup-keyhelp/root/6_20210716_230736_366371/restic_password' cat config[0m [1;31mError: [0mFatal: wrong password or no key found
Benutzeravatar
Alexander
Keyweb AG
Beiträge: 2062
Registriert: Mi 20. Jan 2016, 02:23

Re: Restore New management Backup form old server to new server

Beitrag von Alexander »

Your password is not correct, or your SFTP server only accept a key auth.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Nikitaidis
Beiträge: 29
Registriert: So 28. Apr 2019, 13:59

Re: Restore New management Backup form old server to new server

Beitrag von Nikitaidis »

I fix problem with Password but I have other problem ... after backup start and show ( In progress (0.07 %) ) immediately backup canceled automatic . Please note that i try it in 2 differint server for backup and I get same error.


logged:

The following messages were logged:

Failed to create backup: Save(<data/aba1c7620e>) returned error, retrying after 12.19070367s: server response unexpected: 500 Internal Server Error (500)
rclone: 2021/07/17 12:04:16 ERROR : data/1b/1b2ef470973961ef394ecb991a51d57bf6ec904022485f12169182cc066e33cc: Post request put error: update stor: 450 Transfer aborted. Link to file server lost
rclone: 2021/07/17 12:04:16 ERROR : data/1b/1b2ef470973961ef394ecb991a51d57bf6ec904022485f12169182cc066e33cc: Post request rcat error: update stor: 450 Transfer aborted. Link to file server lost
Save(<data/1b2ef47097>) returned error, retrying after 18.644330146s: server response unexpected: 500 Internal Server Error (500)
rclone: 2021/07/17 12:04:17 ERROR : data/29/29417f9931dee64cc5e51466e7fed83223ba760ffe0ee265ae9e243d3edb3ef5: Post request put error: update stor: 450 Transfer aborted. Link to file server lost
rclone: 2021/07/17 12:04:17 ERROR : data/29/29417f9931dee64cc5e51466e7fed83223ba760ffe0ee265ae9e243d3edb3ef5: Post request rcat error: update stor: 450 Transfer aborted. Link to file server lost
Save(<data/29417f9931>) returned error, retrying after 16.299099478s: server response unexpected: 500 Internal Server Error (500)
rclone: 2021/07/17 12:04:27 ERROR : data/59/592e2b11d6206a01de8718ccb3eecae0ab91330bb00cf9b54dfac5f6e09a0fbe: Post request put error: update stor: 450 Transfer aborted. Link to file server lost
rclone: 2021/07/17 12:04:27 ERROR : data/59/592e2b11d6206a01de8718ccb3eecae0ab91330bb00cf9b54dfac5f6e09a0fbe: Post request rcat error: update stor: 450 Transfer aborted. Link to file server lost
Fatal: unable to save snapshot: server response unexpected: 500 Internal Server Error (500)
Dateianhänge
Screenshot 2021-07-17 at 11.53.51.png
Benutzeravatar
Alexander
Keyweb AG
Beiträge: 2062
Registriert: Mi 20. Jan 2016, 02:23

Re: Restore New management Backup form old server to new server

Beitrag von Alexander »

Note for using "outdated" backup remote storage and FTP.

If ProFTPD with an older version number is used on the remote storage side, it may not be able to handle TLS 1.3 correctly
(https://github.com/proftpd/proftpd/issues/959).

The backup will be aborted sooner or later due to too many failed transfers and you will see such messages under "Messages":

Code: Alles auswählen

Failed to create backup: Save() returned error, retrying after 22.912714797s: server response unexpected: 500 Internal Server Error (500)
rclone: 2021/07/13 19:35:15 ERROR : data/93/93420be3074b3503ce9d2eddc756123812e9884260eb355c042e169fb6cc7044: Post request put error: update stor: 450 Transfer aborted. Link to file server lost
rclone: 2021/07/13 19:35:15 ERROR : data/93/93420be3074b3503ce9d2eddc756123812e9884260eb355c042e169fb6cc7044: Post request rcat error: update stor: 450 Transfer aborted. Link to file server lost
Save() returned error, retrying after 15.406612236s: server response unexpected: 500 Internal Server Error (500)
rclone: 2021/07/13 19:35:15 ERROR : data/fd/fda2821a0f05e08e58b754a20ff993ceb3def1c3d4b47e351adf1e71004401ab: Post request put error: update stor: 450 Transfer aborted. Link to file server lost
rclone: 2021/07/13 19:35:15 ERROR : data/fd/fda2821a0f05e08e58b754a20ff993ceb3def1c3d4b47e351adf1e71004401ab: Post request rcat error: update stor: 450 Transfer aborted. Link to file server lost
Save() returned error, retrying after 12.941307974s: server response unexpected: 500 Internal Server Error (500)
So what can be done:

If you have control over the remote storage:
  • Update to a new operating system version (and thus to a new ProFTPD version)
  • Disable TLS 1.3 via /etc/ssl/openssl.conf (setting the TLS version via the ProFTPd configuration never worked in my tests)
If you don't have control over the remote storage:
  • Switching from FTP to SFTP, if the remote server allows it
  • Change from "Explicit FTP over TLS" to "Simple FTP (unencrypted, unsecured)"
  • Inform the operator of the remote server and ask for an update
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Antworten