Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No restore script available #11

Open
RomBuch opened this issue Sep 20, 2020 · 1 comment
Open

No restore script available #11

RomBuch opened this issue Sep 20, 2020 · 1 comment

Comments

@RomBuch
Copy link

RomBuch commented Sep 20, 2020

I successfully managed to make a backup-tgz-file on my laptop with the bud script.

However, how can I restore the backup when I reinstall UT on the device?

I would appreciate your help.

@RomBuch
Copy link
Author

RomBuch commented Nov 27, 2020

Actually I solved to restore my backup.

Here's how I did it:

  • install UT on new device
  • setup SSH between Desktop and UT device (instruction e.g. here (in German): https://wiki.ubuntuusers.de/Ubuntu_Touch/Terminal/#SSH )
  • create folder to mount UT root with ssh: mkdir ~/UPhone-Home
  • mount UT via SSH on Desktop: sshfs phablet@IP_ADRESS_PHONE:/ /home/$USER/UPhone-Home/
  • on Desktop: cd into directory with BUDS backup: cd ~/buds/backup/DATE/
  • on Desktop: start restore of data with: tar -xf BACKUP.tgz -C /home/$USER/UPhone-Home/home/phablet/

It runs through and all data is restored in the correct path. :)

E.g. when there is a file in the tgz:
/./Music/Track1.mp3
it will be correctly restored in
/home/phablet/Music/Track1.mp3

So this issue here seems not to be a problem: #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant