Hi all! Recently I decided to ditch Dropbox because the app simply stopped working reliably on my end (after being a customer for 12 years). It puzzles me how they could drive such a great product into the ground…

After reading a lot on self hosted clouds and many threads here on Reddit, I found that the best solution for me was to spin up Resilio sync. This is my current setup in the network:

  • iMac Pro with selective sync in real time
  • MacBook Pro with selective sync in real time
  • QNAP NAS at home fully synced in real time
  • QNAP NAS at work fully synced in real time

Only the NAS at work is always on. My backup solution looks like this:

  • QNAP NAS at work syncs to externally mounted disk once a day (one way mirror)
  • QNAP NAS at work syncs to Backblaze once a day (one way mirror)

Now, one loophole I discovered was that if I accidentally delete a file, it will disappear immediately from all the real time synced devices. And if I do not correct for the mistake before the mirroring to Backblaze or the external drive at work, the accidentally deleted file will be gone forever.

My question is how to solve that loophole. Unfortunately I need to do active mirror syncs for the backups because it would become simply too expensive to do versioning as I have lots of traffic in the synced files (100 GB per day, with many additions and deletions). One way I thought about was to trigger the Backblaze backup manually, so that I get a chance to at least review the current state of my file system before mirroring it. But any other suggestions would be highly appreciated.

  • Carnildo@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    QNAP NAS at work syncs to externally mounted disk once a day (one way mirror)

    You can get cheap versioning here: instead of syncing to one external disk, get another disk or three and swap between them on a regular basis. As long as you realize that ransomware has encrypted your data before you’ve cycled through the entire set, you’ll still have an old backup you can recover from.

    • Antar3s86@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Thanks for the suggestions. Indeed this would make things safer. However, I forgot to mention that the external drive is an integrated storage pool on the NAS at work, so I can’t really iterate manually between the drives. :/

  • dcabines@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    A mirror is not a backup, like you’ve noticed. Use rsync for your backups if you don’t care about versioning or snapshots. You can run it on a schedule to copy files to your backup, but not delete anything. Then you can manually run it with the delete option turned on when you’re ready.

    • Antar3s86@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Ah nice! I did not know that rsync has a ‘delete option’. I guess what I could do with QNAP HBS is to set up multiple backup jobs: Copy over everything every day, while retaining all files and trigger the mirror option manually when space becomes an issue. Thanks!! 😊

    • Antar3s86@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Ah nice! I did not know that rsync has a ‘delete option’. I guess what I could do with QNAP HBS is to set up multiple backup jobs: Copy over everything every day, while retaining all files and trigger the mirror option manually when space becomes an issue. Thanks!! 😊