Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

  1. More ways to get the info! - we shoot all of our new original content out as well as random messages on Twitter and our newsletter!. Twitter | Newsletter
    Dismiss Notice

Backup User? And other backup questions

Discussion in 'General Linux' started by oguruma, May 18, 2019 at 4:41 AM.

  1. oguruma

    oguruma New Member

    Nov 26, 2018
    Likes Received:
    I have a small Webserver running CentOS that hosts a few Wordpress sites. I want to back this up to a FreeNAS box on my LAN.

    (Log in to hide this advertisement)

    The CentOS box backs up to a local directory every night. I want to rsync that daily backup to the FreeNAS box on my LAN.

    All of the backups are placed in a /backup directory.

    Obviously I will need SSH keys to do this, but I have never done such a setup before, so I have some questions.

    1) Should I make the keys on my CentOS box and put the public key on the FreeNAS box? Or do it the other way around?

    2) How do I make a backup user that only has permissions to read the /backup directory? As in, what would the actual commands for that be?
  2. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Apr 30, 2017
    Likes Received:
    G'day @oguruma :)

    This is a question our Admin @Rob can likely answer.

    By mentioning him, he will be alerted and will be along when he can.

    He may also move this Thread to somewhere better suited to get you answers.

    Good Luck

    Chris Turner

Share This Page