Suggestion for a reliable low powered SBC NAS for photos and documents backup

  • Until now I've used OMV on a raspi3 as a 24/7 torrent machine and NAS for movies.


    Looking to build a second OMV to serve as:
    - 24/7 NAS to backup photos and important documents
    - non RAID (as I've read RAID is not a backup) so I need a way to back things up to cloud (Google photos if possible, since they offer unlmited storage for photos up to 8MP res) or even to remote OMV (via Internet) - please suggest backup scenario.
    - low powered but reliable enough for my purpose, thinking of using ROCK64 or OrangePi Zero Plus with NAS expansion based on the energy efficient thread.


    suggestion and thoughts please.

  • Why don't you use your raspi3 as a torrent machine + to backup photos and important documents ?
    For backup, you can look at here : https://www.backblaze.com/blog/the-3-2-1-backup-strategy/

    You cannot use google photos that way, you need google photos app.

    If you want to backup to remote omv via internet, you can install a VPN server in distant host and a VPN client in local Host.
    You can although backup in cloud (b2 storage is the cheapest i found) with duplicity (for exemple).




    How I do ? I have 1 nas, 1 backup nas, 1 backup on cloud, 1 offsite on external HDD.


    I use this app on android : RSYNC WRAPPER.

    It automatically copy my photos to my NAS when I'm at home, connected to wifi and phone in charging mode every night.

    After that I use Rsync to backup to backup nas. Next, Duplicity creates an encrypted backup and push it to cloud.


    For low power nas, read this thread .

  • finally a reply! thank you haha


    I don't use my raspi3 as torrent machine and backup photos because recently for some reason, the raspi ruin the partition of 1 of my HDD so I lost all the contents. With movies etc, I don't mind. But with valuables data/photos, I want to set up a better system, separated from my torrent machine.


    I've read that backblaze strategy and that's exactly what I want to implement.


    OMV to OMV, do we have to use VPN? can't we use dyndns or something? I planned to setup another omv at work, so home backup remotely to work, work backup remotely to home. so that's remote backup sorted.


    with your setup, the nas, the backup nas is at the same location? please explain more detail about your setup, much appreciated.


    as far as I understand:
    your NAS backup to your BACKUP NAS with rsync
    your NAS also backup to CLOUD using Duplicity (what cloud service do you use?)
    need more detail on the offsite backup though

    • Offizieller Beitrag

    Have you considered a second disk and Rsync? Rsync backup is simple to set up, and to restore, and can be used to backup an entire disk. (I'd call it a delayed write mirror, that's similar to RAID1, but also functions as a backup.) Rsync works fine on an SBC and, with the Remount Plugin, an Rsync job can be set up to store data on another host (or SBC).


    If you want to preserve certain shares, that could be done with rsnapshot which provides versioned backups using snapshots. (You could restore from yesterday, last week, a few months back, etc.) While this a superior method of backing up important data, it's not well suited for frequently changing data sets.


    So what do you want to backup?
    A full disk?
    A network share? (Size?)
    ___________________________________________________


    If going from OMV to OMV, on a local LAN, I can help you to set that up. I haven't set up a VPN, to go to an offsite location, so I can't help you with that.

  • 2nd disk on a same omv? kinda paranoid with 2 hdd on a SBC omv since what happened in my other topic, you remember right? ruined partition table.


    my original plan was to backup an entire disk. since this is a new setup, hdd is empty and will be filled with data over time.


    something like this:
    omv 1 location A with 2TB hdd (i'll put the data i want to backup to this nas, backup to omv 2 and remote backup to omv 3)
    omv 2 location B with 4TB hdd (work data that I wan't to backup goes here, backup to cloud, remote backup to omv 3)
    omv 3 location A with 4TB hdd (receiving backup from omv 1 and omv 2)


    how's my backup scenario?

    • Offizieller Beitrag

    Well, note that using an R-PI with more than one disk would be taking a serious risk. The R-PI is in it's own category, due to it's poor combined USB/Ethernet interface.


    However, other better performing SBC's can be used with more than one disk. A general rule of thumb is, don't attach more disks than the SBC has in ports and don't expect an SBC to power up more than one 2.5" spinning disk through the USB interface.
    ______________________________________________________________________________


    Your backup scenario looks fine. The bottom line is, have at least two copies of critical data, with three copies preferred. It's also better to have at least 2 platforms involved, meaning if one SBC and drive dies, you have another SBC and drive with identical data. Getting back on-line is fast. It's just a matter of switching to a new server.
    ______________________________________________________________________________


    - If you want to do a drive-to-drive Rsync copy (locally), you'll find how to set that up -> here, starting on page 60 (of this version).


    - If you want to copy data to another host, you'll need to install the Remote Mount plugin. There's a couple different ways this can be done.


    My preference is, at the source (the main server):
    Set up your own system user, give that user a password, and at least read access to a network share. (The user name can be anything but do not use "backup". "backup" is a default Linux system user name. Use something like backup-1.)


    At the destination, install remote mount. To set up a new mount, use the IP address of the source server, the name of the share, and use your system user and password, with at least read access, to the share you're mounting. When complete, your Remote Mounts might look something like this. (When naming them, add something that shows the name of the source share and that they're remote.)




    ______________________________________________________________________________________________



    If successful, you'll see the a new file system under Storage, File Systems. In the following note all file systems with cifs are from the remote source server and that their names have _R_ in them. The names with _R_ in them, help me to identify that they're remote , not local.


    ___________________________________________________________________________________________


    Next I set up shared folder "pairs".
    Note, in the following, one share for Backups is local and the other is remote. Also note the relative paths. The path Backups/ is correct for a local shared folder. However, when selecting the device (which will be the file system mounted with remote mount) the relative path will be auto filled with something like Backups_R_OMV/. This is wrong. it must be changed to /



    Finally, the following are what I call "Rsync" pairs. When setting them up your Rsync Jobs, note the type is LOCAL. (Why? Remote Mount is making the remote share appear to be local.) The source shared folder is from the Remote Server and the destination shared folder is to a local folder.





    In setting up the Rsync jobs above, I set the following options ON (the button is green):


    Recursive
    Times
    Archive
    Delete (Make sure you have the source and destination right, before turning this switch on!)
    Preserve Permissions (This switch doesn't actually work, with files sourced from a foreign volume.)
    Preserve Extended Attributes (Do not use this switch with if data is sourced from a ZFS pool).
    Keep Partially Transferred Files


    I use the following in the "extra options"
    --chmod=0755 --chown=root:users

    Without the above, in extra options, only the root user will have access to files at the destination. Since I have a second server on line at all times, I set the same share permissions, that are on the source, at the destination server.
    ___________________________________________________________________


    While there's work involved in setting it all up, the above processes can be used to replicate all of your primary servers shares to another server. On the Rsync schedule, since a data disaster can be replicated to a second server, I'd set the job frequency to be no less than 1 week and you might want to think about making it two weeks. This will give you time to turn replication off if there's a major data loss on the main server.

  • that's very through, thank you, I will have a read and try the setup. will just make use of my RPi for now, with the original power supply by RPi, to avoid undervoltage. But I"m saving for Rock64.


    Question: do you move your important file manually to the backup folder, or did you automate the job as well?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!