UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Webmust
    3. Best
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 6
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Backup and Restore scripts

      [EN] - Hello to all,

      I take advantage of AntiDroid's topic (I love this nickname) to talk about Backup and Restore.

      It's been almost 10 years since Ubuntu Touch was launched and there is still no total backup and restore easy to use.

      I am, myself, a bad coder (developer) and I have difficulties to use the command lines. Besides I don't even speak English 😞
      NOTE: It's time consuming and difficult to copy/paste into a translator all the time.

      Despite this, I will try to do it... For me, it will be long and difficult (several weeks to several months if you help me). For the best developers and connoisseurs of UT UBports this is a formality that would not take more than 2 or 3 hours.

      Here is the idea:
      Seeing that it is simple, through the "UT Tweak Tool" application ( https://open-store.io/app/ut-tweak-tool.sverzegnassi ), to access the "cache", "data" and "config" of each application to selectively delete them, it should be just as simple, with very little adaptation to select what you want to save.

      With the work of AntiDroid (above) we have again a good basis to work with.

      Restoration seems to me to be a very simple function.

      So we have an application that can integrate these backup and restore functions with a very advanced graphical interface for these new functions and we have the work of AntiDroid.

      The backup application should only allow you to simply choose the applications to backup + personal folders.

      The result should be a simple compressed archive. For example in .tar.gz or something like that.

      The application will also have to allow an output of the contacts directory in .vcf via the GUI with the following command (this command changes depending on the language - here for English speakers):

      syncevolution --export /home/phablet/Documents/UT-contacts.vcf backend=contacts database=Personal
      

      NOTE: I believe there is a similar command for CalDav.

      There is also a button that should allow restoration:

      syncevolution --import /home/phablet/Documents/UT-contacts.vcf backend=contacts database=Personal
      

      In short, we have everything we need to create this function which is absolutely fundamental! Let's go, let's do it?

      Thanks

      Translated with www.DeepL.com/Translator (free version)

      .

      .
      [FR] - Salut à tous,

      Je profite du sujet d'AntiDroid (j'adore ce pseudo) pour parler de Sauvegarde et de restauration.

      Voilà bientôt 10 ans qu'Ubuntu Touch aura été lancé et il n'y a toujours pas de sauvegarde et de restauration total simple à utiliser.

      Je suis, moi-même, un mauvais codeur (développeur) et j'ai des difficultés à utiliser les lignes de commande. En plus je ne parle même pas Anglais 😞
      NOTE : C'est long et difficile de faire des copier/coller dans un traducteur en permanence.

      Malgré cela, je vais essayé de le faire... Pour moi, ce sera long et difficile (plusieurs semaines à plusieurs mois si vous m'aiderez). Pour les meilleurs développeurs et connaisseurs d'UT UBports tout cela n'est qu'une formalité qui ne prendrait pas plus de 2 ou 3 heures.

      Voici l'idée :
      Constatant qu'il est simple, par l'intermédiaire de l'application "UT Tweak Tool" ( https://open-store.io/app/ut-tweak-tool.sverzegnassi ), d'accédé au "cache", au "données" et à la "Config" de chaque application pour les supprimer sélectivement, il doit être tout aussi simple, avec très peu d'adaptation de sélectionner ce que l'on veux sauvegarder.

      Avec le travail d'AntiDroid (ci-dessus) on a là encore une bonne base de travail.

      La restauration me semble être une fonction très simple.

      On a donc une application qui pourra intégrer ces fonctions sauvegarde et de restauration avec une interface graphique très avancée pour ces nouvelles fonction et on a le travail d'AntiDroid.

      L'application de sauvegarde devra uniquement permettre de choisir simplement les applications à sauvegarder + les dossiers personnels.

      Le résultat devrait être une simple archive compressée. Par exemple en .tar.gz ou quelque chose comme ça.

      L'application devra aussi permettre une sortie du répertoire des contacts en .vcf par l'intermédiaire de l'interface graphique avec la commande suivante (cette commande change selon la langue - Ici pour les francophone) :

      syncevolution --export /home/phablet/Documents/UT-contacts.vcf backend=contacts database=Personnel
      

      NOTE : Je crois qu'il existe une commande similaire pour CalDav.

      La aussi, un bouton doit permettre la restauration :

      syncevolution --import /home/phablet/Documents/UT-contacts.vcf backend=contacts database=Personnel
      

      En bref, on a tout ce qu'il nous faut pour créer cette fonction qui est absolument fondamentale ! On y va, on se lance ?

      Merci.

      posted in Support
      WebmustW
      Webmust
    • RE: uNav - Data transfer

      [EN] - @TotalSonic and @Bolly thank you very much!

      I managed to recover the data using the TotalSonic method. I will soon test Bolly's proposal and I will keep you informed.

      For the TotalSonic proposal I really struggled! Finally I went through the command lines and I had to start several times to achieve this because sometimes the folders did not appear for the transfer.

      1. On the phone:

      I created a folder
      /save/cache/
      /save/config/
      /save/local-share/
      In the /Documents/ folder (for MTP transfer)

      1. Then, from my PC terminal:
      xxx@xxx:~$ adb shell
      phablet@ubuntu-phablet:~$ sudo -i
      [sudo] password for phablet: 
      root@ubuntu-phablet:~# cp -a -R /home/phablet/.cache/navigator.costales/ /home/phablet/Documents/save/cache/
      root@ubuntu-phablet:~# cp -a -R /home/phablet/.config/navigator.costales/ /home/phablet/Documents/save/config/
      root@ubuntu-phablet:~# cp -a -R /home/phablet/.local/share/navigator.costales/ /home/phablet/Documents/save/local-share/
      
      1. I transferred the /save/ folder to the new phone by MTP (via my PC)

      2. I simply copied (via the graphical interface of my new phone) the 3 'navigator.costales' to their respective locations.

      I will keep you informed. Thank you 😉

      .

      .
      [FR] - A TotalSonic et à Bolly merci infiniment !

      J'ai réussi à récupéré les donnée grâce à la méthode de TotalSonic. je testerai bientôt la proposition de Bolly et je vous tiendrai informé.

      Pour la proposition de TotalSonic j'ai vraiment galéré ! Pour finir je suis passé par les lignes de commandes et j'ai dû recommencer plusieurs fois pour y parvenir parce que parfois les dossier ne s'affichait pas pour le transfert.

      1. Sur le téléphone :

      j'ai créer les un dossier
      /save/cache/
      /save/config/
      /save/local-share/
      Dans le dossier /Documents/ (pour le transfert par MTP)

      1. Puis, depuis le terminal de mon PC :
      xxx@xxx:~$ adb shell
      phablet@ubuntu-phablet:~$ sudo -i
      [sudo] password for phablet: 
      root@ubuntu-phablet:~# cp -a -R /home/phablet/.cache/navigator.costales/ /home/phablet/Documents/save/cache/
      root@ubuntu-phablet:~# cp -a -R /home/phablet/.config/navigator.costales/ /home/phablet/Documents/save/config/
      root@ubuntu-phablet:~# cp -a -R /home/phablet/.local/share/navigator.costales/ /home/phablet/Documents/save/local-share/
      
      1. J'ai transféré le dossier /save/ vers le nouveau téléphone par MTP (via mon PC)

      2. J'ai simplement copier (par l'interface graphique de mon nouveau téléphone) les 3 "navigator.costales" vers leurs emplacement respectifs.

      Je vous tiendrai informé. Merci à vous 😉

      posted in Support
      WebmustW
      Webmust