Jump to content
maxse

Restic for backups

8 posts in this topic Last Reply

Recommended Posts

I’ve been exploring different options to back up my main box. Tried VMs with Arq, and It just doesn’t cut it. I decided on running a minio S3 docker on the remote unraid box. 
 

It seems like restic, although no GUI would be the best option. 
But I can’t seem to find any info on how to install it and have it working with unraid. It seems like a popular backup tool just not much on unraid. 
 

can you guys help me out on how I can use this thing? I really don’t want to have to create a VM again just to use a command line type of backup. 
 

Would appreciate some help 

Share this post


Link to post

oh nice! I don't recall seeing it when looking at CA.

I'm surprised it's not more popular on here and wanted to get your guys' opinion on it's specific use in unraid. It seems pretty great, like rclone except it actually provides true versioned backups. 

Share this post


Link to post

Borg is in the NerdPack, it's comparable to Restic, but adds compression. I've just spent weeks developing my own scripts to use Borg from my Linux Desktop to unRAID, and for unRAID to perform server-side checks on the repository on a scheduled basis. It took weeks because it's my first go at bash scripts, and i'm also quite anal :)

 

It's really interesting that Restic is available as a Docker. It just seems odd to me! I'd be interested to hear how you go with it.

Share this post


Link to post

@mlapaglia I've seen some efforts on the client side, but nothing comprehensive to manage a range of backup operations performed on a server.

 

Borg has Vorta, and this project seems very similar for Restic:

https://github.com/Mebus/restatic

 

Now for Borg, i've seen this astonishing server-side effort: "Borg Backup Server". It looks quite amazing, but it's been in development for i think about 1.5 years and as far as i know it's not yet considered ready for the big time. I presume it also needs a bunch of effort getting it running - some webserver or something. Looks amazing though and maybe one day we'll see it available as a plugin.

 

 

Edited by Derek_

Share this post


Link to post
On 1/13/2020 at 11:26 PM, mlapaglia said:

@Derek_ that is SLICK! Is it only for synology? https://roll.urown.net/NAS/borg-backup-server.html# , maybe not their website is vague http://www.borgbackupserver.com/

I don't think it's for Synology at all. My guess is you'd have to install nginx or something to use it. It's really aimed at enterprise i think. The guy who is making it runs a webserver business i think, and he wanted to ditch whatever expensive backup software he uses and switch to Borg, but it wasn't easy to manage across dozens (hundreds?) of hosts, so he's developing his own management console.

From what i've gathered it's a solo effort.

If you don't have many devices to backup, then it's really overkill. Borg is pretty robust from what i've seen, and you can configure desktop notifications or emails. It's not all there for you, so it can require some work to set it up if you're anal about it (like i am), but it's pretty much set and forget once you're done (i'm not yet done, i'm about half-way there).

 

It'd made a pretty sweet Docker in unRAID, eh? ;)

Edited by Derek_

Share this post


Link to post
On 12/23/2019 at 12:32 AM, maxse said:

I can’t seem to find any info on how to install it

@maxse, FYI, I'm just getting started with restic, and to install it I downloaded the 'linux_amd64' build from the restic releases page on Github, and have a script called from /boot/config/go that (along with plenty of other boot-time tweaks) handles copying it to /usr/local/bin.

 

I'll also mention that my startup scripts set the XDG_CACHE_HOME environment variable to point to a dir I made on a nice, speedy Unassigned Device (though you could also use /mnt/cache/.cache or wherever you like) so that restic makes all its cache files somewhere persistent, instead of in the RAM disk, where they'd be lost on a reboot, which almost certainly isn't what you want!

 

The restic Docker container may be great, but it sounded like an un-necessary layer of complication to me, so I approached it this way.

Edited by bland328

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.