• Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    7
    ·
    7 days ago

    It’s Termux, basically a fully fletched terminal for Android. So you can install various tools via apt, and use them, for example yt-dlp, ffmpeg, gcc, python etc. And yes, you can also use SSH, both as server and client. I use it very often to connect to my servers on the go.

    You can even use chroot to basically run a distro of your choice.

      • Magnetic_dud@discuss.tchncs.de
        link
        fedilink
        arrow-up
        2
        ·
        6 days ago

        It’s also incredibly useful to backup /sdcard via rsync or Borg every night automatically

        Or access the contents of your phone via SFTP

        • tritonium
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          4 days ago

          I like using syncthing. It syncs all my apps that are backed up with neobackup, my pictures, files etc. to my NAS. Then my NAS runs borg on that directory as well as all the other important NAS directories to make the legit backups.

          I have termux installed but I honestly rarely use it. Hate typing on the phone in the terminal… if I need to do it then I’ll just adb connect from my computer and do it from there on a real keyboard.

          • Magnetic_dud@discuss.tchncs.de
            link
            fedilink
            arrow-up
            1
            ·
            4 days ago

            I also did the same as you but because they discontinued the official syncthing app on Android I skipped the "sync to PC first step. Now I directly go to Borg from phone night time only when charging, the automate app is able to invoke termux and run the backup script

            Many times it happened the syncthing app crashed in background and I didn’t notice before after several days, now if the Borg repository server (borgwarehouse, it’s a must have) doesn’t see activity after some user specified time sends me a warning email

            • tritonium
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              4 days ago

              Syncthing-fork has been recommended over Syncthing for the last few years. That’s what I’ve been running for about that long with no issues. I like having access to a copy of the actual files on the NAS too which a borg backup doesn’t provide unless you do an additional borg mount. Syncthin-fork does other things too, light keeping a keepass database synced on devices. But yeah, nothing syncthing can do over a scheduled rsync script… I just have not found that to be as reliable on Android as it is in Linux.

              Syncthin-fork has never stopped working for me. I would notice because it also puts my pictures into a folder that gets read by immich and I often check immich to look at my photos. I run immich differently than intended where I don’t do the photo backups with it. I only use it as a gallery client on my existing organized directory structure of images. It only has read only access.