How to set up a network storage as a storage for backups

Discussion in 'Proxmox VE: Networking and Firewall' started by Drax, Jul 14, 2018.

  1. Drax

    Drax Member

    Joined:
    Jul 21, 2012
    Messages:
    100
    Likes Received:
    2
    I am looking for opinions on using another server simply as storage for running our daily backups to vs trying to attach a USB type drive. Please advise your thoughts. I assume I first have to get it to mount to the server as a drive then simply use it as a regular drive? This is for proxmox5.2. presently I only have one node.
     
    #1 Drax, Jul 14, 2018
    Last edited: Jul 14, 2018
  2. Drax

    Drax Member

    Joined:
    Jul 21, 2012
    Messages:
    100
    Likes Received:
    2
    No suggestions? how is everyone else handling backups?
     
  3. GuiltyNL

    GuiltyNL Member
    Proxmox VE Subscriber

    Joined:
    Jun 28, 2018
    Messages:
    33
    Likes Received:
    3
    this is what I did:

    mkdir /media/usb
    mount /dev/sdb1 /media/usb (where sdb1 can be different in your setup)

    Then add the directory to Proxmox and config as a vzdump directory.
     
  4. Drax

    Drax Member

    Joined:
    Jul 21, 2012
    Messages:
    100
    Likes Received:
    2
    But that is just backing them up on the same drive array on your server correct? Or did you use a different server for backup?
     
  5. GuiltyNL

    GuiltyNL Member
    Proxmox VE Subscriber

    Joined:
    Jun 28, 2018
    Messages:
    33
    Likes Received:
    3
    Sorry, missed that. Yes it is on the same server, but your backup will be on the USB drive.

    If you want to enable this on another server, maybe just create a share with credentials with Samba. So you mount that usb drive on that other server and then you share that directory with samba over the network.

    We backup to a Synology NAS via CIFS and that works very well, something to consider. And the Synology forwards it to the cloud.
     
  6. Drax

    Drax Member

    Joined:
    Jul 21, 2012
    Messages:
    100
    Likes Received:
    2
    Has anyone used an amazon cloud backup with Proxmox? Something running within PX vs manually shutting down a VM copying it to AWS S3. Can You pipe to an external backup?
     
  7. GuiltyNL

    GuiltyNL Member
    Proxmox VE Subscriber

    Joined:
    Jun 28, 2018
    Messages:
    33
    Likes Received:
    3
  8. upnort

    upnort Member
    Proxmox VE Subscriber

    Joined:
    Apr 26, 2018
    Messages:
    66
    Likes Received:
    3
    We use external in-house systems for backups. The external systems are configured to share NFS mount points. The Proxmox systems are configured to use the shared NFS. We configure /etc/exports to limit access to our net range. Then use the Proxmox web interface to assign storage. Thereafter configure the backup schedule. I hope that helps. :)
     
  9. Jay Quin

    Jay Quin New Member

    Joined:
    Jul 26, 2018
    Messages:
    6
    Likes Received:
    1
    If you're using ZFS as your file system you can use sanoid/syncoid for backups. ZFS has built in support for snapshots but they can quickly become a pain to manage. sanoid will automatically take snapshots on a schedule then automatically remove snapshots based upon what you configure. I.e. 2 days of hourly, 1 week of daily, 2 months of weekly, etc.

    Syncoid will automatically send those snapshots to another system with ZFS based on a schedule. Just like sanoid it will manage those forwarded snapshots and delete old ones.

    The great thing about ZFS snapshots is the only extra room they take is based on what files have changed. Backups can be over 1000x faster than rsync. Learn more about ZFS snapshots at youtube "Move over rsync zfs replication with syncoid" by Jin Salter (Luc Nieland's YT account) and read about sandoid/syncoid on Jim Salter's gitub page at jimsalterjrs/sanoid.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice