Would it be reasonable to expect a Raspberry Pi 4 to run Nextcloud and manage a photo backup of +100 Gb?

The Raspberry Pi is from 2020, running Raspbian, and it was used as an intervalometer with the help of gphoto2 (meaning no great efforts were demanded from it).

The pictures are on two external hard drives

*1Tb WesternDigital SATA (bought second hand, but “like new” according to the sales guy.

*320Gb WesternDigital SATA (inherited from an AcerOne laptop once I realized it could not even handle lubuntu)

My very limited knowledge on the subject tells me I need to:

*Get rid of Raspbian and install Raspberry Pi OS

*Install Nextcloud (and upgrade an existing account)

*Upload +100 Gb

Would the aforementioned steps allow me to access the files on Fedora/Kubuntu (two separate hard drives on a desktop) and openSUSUE (on a laptop)?

I’m also testing a filen.io account and a sync.com account. All three services (NextCloud, Filen, and Sync) work as I expect on an Ipad.

Filen and Nextcloud have Linux applications, and both have been working without problems on test backups of 100 pictures.

Sync is CANADIAN but not Linux friendly (I tried Wine, didn’t work, gave up)… I’m accessing a free account via Firefox only, so I’m not counting on them for this journey.

So, long story short, I want to back up my files (mostly pictures/scans and some pfd documents) on someone else’s computer and locally.

Now the question. Can anyone recommend a guide to achieve what I want?

I’m a cook by trade without any technical (software/hardware) training who has been using Linux (openSUSE, Ubuntu, Arch, Mint) since 2012. Please forgive any mistakes on terminology.

I included a picture of my intervalo-Frankenstein-meter from 2020.

Thank You.

  • @MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    211 hours ago

    Do you need nextcloud? Its resource heavy and slow on the best of days.

    So if not you could run syncthing plus a web based file browser, and immich or similar for photos.

    • @justblackcoffeeplease@lemmy.caOP
      link
      fedilink
      English
      15 hours ago

      Do you need nextcloud?

      I am looking for an alternative to proton drive. It does not seem like the Linux app is happening anytime soon, and I want to be able to have a backup of the pictures I duplicate and edit without having to download the file and upload it after the changes I make.

      • filen.io does that, but the servers are on the other side of the Atlantic.

      • sync.com does not have a Linux app either.

      • google drive and mega allow that, but I do not use those services.

      • CarrotsHaveEars
        link
        fedilink
        1
        edit-2
        4 hours ago

        In which way do you plan to transfer your photos to the backup storage? In the picture I can see a camera and I assume it uses an SD card. I would, if I were you:

        1. Buy a consumer grade storage device with USB port, like those desktop storage towers from WestDigital
        2. Build a RAID with it if the data is important enough
        3. Connect it to my computer and just run rsync

        Some storage tower even comes with an Ethernet port and a web interface. It’s practically a personal “cloud”.

        Nextcloud is resource heavy, slow, hard to setup, and hard to backup/restore. This is from someone who has been using it from when it was Owncloud.

        • @justblackcoffeeplease@lemmy.caOP
          link
          fedilink
          English
          12 hours ago

          In which way do you plan to transfer your photos to the backup storage?

          The pictures I currently have and want to save are on an external hard drive and on proton drive. Any (future) pictures I take are:

          • sent to proton drive from my iphone, or
          • transferred from the camera’s SD card to my computer and then added to proton drive using firefox.

          Because proton does not have a Linux app, the problem with this workflow is that I need to download every picture I want to edit, and then upload it back to proton.

          The options I have are:

          • switch to windows (that is never going to happen).

          • switch to mac (I am temped, but the idea of having to buy a new computer every two years because they become obsolete bothers me a little).

          • stay on Linux and use nextcloud on an iphone, an ipad, a dell optiplex 7010 and a toshoba satellite (both with 4Gb RAM).

          In the picture I can see a camera and I assume it uses an SD card

          That was just a picture of the RPi4 I want to use for this project. Back in 2020 I ran gphoto2 on it and used it as an intervalometer.

          Your suggested setup would allow two hard drives to be synchronized, but the web archive (proton) would still need constant downloads and uploads.

          Free filen and nextcloud accounts have allowed me to do what I want… take a picture with the phone, upload it, edit it on that service’s folder, see the changes on every other device.

      • @MangoPenguin@lemmy.blahaj.zone
        link
        fedilink
        English
        15 hours ago

        Well one thing to point out is nextcloud and other sync programs are not backups, they’re sync software.

        But syncthing would work fine for keeping changes in sync between systems.

        • @justblackcoffeeplease@lemmy.caOP
          link
          fedilink
          English
          13 hours ago

          I might have a misconception of what back up is.

          Right before writing this, I used an ipad to take a picture of one of my cats. That ipad has the filen, nextcloud, and sync apps. I added the same photo to a test folder on each of the services I just mentioned. I can see the picture in the test folder of each service on my desktop.

          Those are all free accounts, yes. I am not a paying customer yet. If that is not a backup, I don’t know what to call it.

          • @MangoPenguin@lemmy.blahaj.zone
            link
            fedilink
            English
            12 hours ago

            Basically a backup is a point in time snapshot that you can restore from. So you’d run backups daily or multiple times per day and can easily get back deleted or changed files.

            Whereas with a sync service if you delete that file or change it, the original is gone and you can’t get it back. Some will have versions and trash cans, which gives you some limited ability to restore.

  • Human Crayon
    link
    fedilink
    315 hours ago

    Be careful with “like new” claims. I’ve had people in the past pull that with me, and the drive had 8 years of time on it.

    If possible, serverpartdeals.com has an excellent range of used drives. Stick with the manufacturer refurbished. They come with a good warranty and so far have been rock solid for me (5 year timeframe).

  • @poinck@lemm.ee
    link
    fedilink
    242 days ago

    We learned the hard way that on a RPi4 you want a very good SD card if you are running nextcloud on it.

    • @sgh@lemmy.ml
      link
      fedilink
      132 days ago

      I got burned way too many times thanks to SD cards, one time I had a very good SD card fail way too early and can’t trust them anymore since then.

      If I was supposed to do something like this, I’d consider using a SATA disk with an adapter.

      • @mac@lemm.ee
        link
        fedilink
        42 days ago

        This is why I don’t use raspberry pis and just opt for mini PC’s these days. Price per unit is too high and then failure rate of SDs is also too high.

        I keep a couple around, but I highly doubt I’ll ever buy one again

    • @ferric_carcinization@lemmy.ml
      link
      fedilink
      English
      22 days ago

      I haven’t used nextcloud, but having /var on an actual disk might help, if nextcloud writes to it often. Even if it doesn’t, it might still help a bit as a lot of software does, so it will still reduce the writes to the SD card.

      You don’t actually need much on your root partition. Only /etc, /bin, /lib & if it’s separate, /sbin. Most distributions (inc. recent Debians, not sure which version rpi os uses) have symlinked /bin, /sbin & /lib with their /usr counterparts. This means that the binaries & libraries actually reside under /usr, so it has to be on the root partition, but /usr/local should be safe to move.

      This means that you can put all the absolutely required directories on the SD card and everything else on a real drive.

    • @justblackcoffeeplease@lemmy.caOP
      link
      fedilink
      English
      21 day ago

      Thank you. I am reading their Q&A forum, realizing that the price of what I intend to do will be blood and tears. That’s fine. We like it that way.

      • @ikidd@lemmy.world
        link
        fedilink
        English
        31 day ago

        IME, NCP was very simple and easy to set up. I used it for years until the AIO docker came along. But that’s not appropriate for a Pi in my estimation. Though it might be fine on a Pi, it’s certainly how I like to run NC, and I’ve used every method of running it over the last decade.

  • nanook
    link
    fedilink
    202 days ago

    Can you do it? Yes. Will the performance suck outright? Yes. Nextcloud is a pig. I run it on an 18-core i9-10980xe server clocked at 4.5 Ghz with 256GB of RAM, with RAIDED nvme disk, and I don’t find the performance adequate on this platform.

    • @Im_old@lemmy.world
      link
      fedilink
      62 days ago

      Hum, not my experience. I run it on an old pc as a podman container, for me and my wife, exactly for the same use case of OP: auto uploading the pictures/videos on our phones. Upload is almost instantaneous. Browsing files is fine, but I usually use a separate software to index/search the photos on the upload directory. For all kind of files (documents etc) is good.

    • @NotNow@lemmy.world
      link
      fedilink
      22 days ago

      C’mon man, gotta 100 wait states on your RAM? I run it on a Intel i3-8100T @ 3.10GHz and it’s fast enough. The only thing that sucks is it’s written in PHP.

  • @grue@lemmy.world
    link
    fedilink
    32 days ago

    *Get rid of Raspbian and install Raspberry Pi OS

    In case you didn’t know, they’re the same thing: “Raspberry Pi OS” is just the newer name for it.

    That said, the official instructions for upgrading to a new major version say to re-image your microSD anyway. So never mind; carry on!

  • @kayzeekayzee@lemmy.blahaj.zone
    link
    fedilink
    English
    12 days ago

    Yeah I’m pretty sure a raspi 4 is up to the task. I ran a 512 GB jellyfin server on a raspi 3 for a few months, and the only issue was with transcoding video/audio (raspi doesn’t have the right hardware acceleration for that).

    Never used nextcloud, but yeah you’ll probably want to update to 64-bit raspi os

    • @justblackcoffeeplease@lemmy.caOP
      link
      fedilink
      English
      1
      edit-2
      1 day ago

      Thanks for your reply. I do have the eventual video taken in between pictures. The way this is going, I might back up 1 or 2 Gb at first, to see how it all works out.