Ok, good that you found a source that can help you understand the concept!
The resulting scp-command would be something like
You are quite close now, I think. Good luck!
Ok, good that you found a source that can help you understand the concept!
The resulting scp-command would be something like
You are quite close now, I think. Good luck!
My question would be to transfer which programs or programs installed from server A from the area of ââserver A and Yunohost to the new server B! You left that for me as input earlier. Find backup files on Yunohost, then move them, get them on Yunohost on new server B. So that it only moves to the place where the old server is now. At the end comes the new Hin. Hence my exact questions and exact procedure
Meine Frage wĂ€re dazu welche oder von Server a aus Bereich von Server A und Yunohost installierten Programmen auf den neuen Server B rĂŒberzuschieben! Das hatten Sie weiter oben doch mir als Eingabe hinterlassen. Sicherungskopie Dateien unter Yunohost zu finden, um diese dann zu verschieben, auf Yunohost auf neuen Server B zu bekommen. So das er nur noch an dem Platz wandert, wo jetzt, der alter Server steht. Kommt zum Schluss der neue Hin. Daher meine genaue fragen und genaue Vorgehensweise
Thanks am have more be/fall under the authority of thanks⊠Your the beast helper thanks
The nice thing is, it helped me a lot and after old things especially when you can find them! This is how you understand Yunohost better and better and especially when there are such good ones who really help you! Thank you for that
wbk
JfmbLinux thanks and stay healthy How can I download the packages from my backup via terminal? u=carrabelloy
Das schöne ist, es hat mir sehr geholfen und nach alten dingen besonders, wenn man sie findet! So versteht man Yunohost auch immer besser und besonders wenn solch guten dabei sind die einem wirklich helfen! Habt Danke dafĂŒr @wbk @JfmbLinux thanks and bleib gesund How can I download the packages from my backup via terminal
So, do I understand correctly that you managed to restore the backup on the new server?
When restoring the backup, it includes not only the data, but also the apps. Is it working now?
no, thatâs still on the old server, now I have to set up the scp on both servers, i.e. install it. Or is it already included in the program and only has to be called with : ? on the serve. Yunosthost also has Debian
nein, das ist noch auf dem alten Server, muss jetzt erst mal das scp auf beiden Servern herrichten also Installieren. Oder ist es schon mit im Programm enthalten und muss es nur per : aufrufen? auf den serven. Yunosthost hat auch Debian
In that case: scp is one of the basic utilities installed with any distribution, just like SSH or even part of SSH.
Thereâs a first time for everything, but once you have tried it once, it is very simple to use. Everything is ready for you to do the migration. With two weeks left on your old server, just get on with it!
yunohost backup
options to see how to backup data as well, or copy it seperatelyThereâs not much more to it
ein live wÀre mir lieber. Thanks
Unfortunately that doesnât work because I donât know how to start it at all.
Leider klappt das nicht, da ich nicht weiĂ, wie ich das ĂŒberhaupt anfangen muss.
So, if you log in to serverB, the new one, try this:
admin@serverB: $ scp admin@serverA:/home/yunohost.backup/archives/202201* /home/yunohost.backup/archives/
I took 202201* from the example above, it will copy all backups from January, from serverA to serverB.
Does that work? Can you log in as admin on serverB?
If it does not work, could you show the command you typed and the error message?
âscreen -dmS backup bash -c ârsync -avz -e ssh /home/yunohost.backup/archives root@111.8.23.000:/home/yunohost.backup/; exec bashââ
Ok, if that works for you, it works
If you now have the backup over at serverB, you can
sudo yunohost backup list
That will list all archives. Follow with
sudo yunohost backup 202201..... # the one that you want to restore
You can get some info with the yunohost backup info backupname
-command.
sending incremental file list
archives/
archives/20210311-195045 (1).info.json
archives/20210311-195045 (1).tar
archives/20210510-071533.tar
archives/20210519-220012.info.json
archives/20210519-220012.tar
archives/20210531-223329.info.json
archives/20210531-223329.tar
archives/20210601-054130.info.json
archives/20210601-054130.tar
archives/20210627-145924.tar
archives/20210627-213747.tar
archives/20210627-215405.tar
screen
screen -rbackup archives/20210627-221431.tar
archives/20211013-151153.info.json
archives/20211013-151153.tar
archives/20220105-022628.tar
Now you have all files on serverB, correct?
archives/20220105-022628.tar
That one is most recent, do you know what it contains? It is two months old, is that recent enough for you?
You could run it for a test:
admin@serverB:~$ sudo yunohost backup restore 20220105-022628
It will put the apps and the data from the archive to your new server.
To visit the new server to see if everything is OK, you can do two things:
To make the switch âofficialâ, the DNS needs to be updated. For testing if everything is in the right place, I usually add the server I test to /etc/hosts
so that I can test, but other visitors still go to the old server.
It looks like the backup archive â/home/yunohost.backup/archives/20220105-022628.tarâ is corrupted : unexpected end of data
skipping directory archives
rsync: link_stat â/home/yunohost.backup/archives/aufâ failed: No such file or directory (2)
rsync: link_stat â/home/yunohost.backup/archives/160.0.000.00â failed: No such file or directory (2)
rsync: link_stat â/home/yunohost.backup/archives/mitâ failed: No such file or directory (2)
skipping directory archives
rsync: link_stat â/home/yunohost.backup/archives/160.0.23.000â failed: No such file or directory (2)
rsync: link_stat â/home/yunohost.backup/archives/viaâ failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.