Moving my backups to restic (2021)

mooreds2 pts0 comments

Moving my backups to restic – Simon Lyall's Blog

Skip to content

Top Posts<br>A minimal viable Light Rail for Auckland<br>Auckland Gondolas: Practical or a rope to nowhere?<br>Moving my backups to restic<br>Sidewalk Delivery Robots: An Introduction to Technology and Vendors<br>Passengers vs "50 Girls 50"<br>Reading the Lord of the Rings aloud

Recent Posts

Search for:

Categories<br>Archives<br>Archives

Select Month<br>May 2026 (1)<br>January 2026 (10)<br>December 2025 (3)<br>November 2025 (1)<br>October 2025 (1)<br>August 2025 (3)<br>June 2025 (2)<br>May 2025 (1)<br>April 2025 (2)<br>March 2025 (2)<br>February 2025 (2)<br>January 2025 (12)<br>December 2024 (2)<br>November 2024 (1)<br>September 2024 (1)<br>August 2024 (3)<br>July 2024 (1)<br>May 2024 (4)<br>April 2024 (4)<br>March 2024 (2)<br>February 2024 (1)<br>January 2024 (6)<br>December 2023 (2)<br>November 2023 (1)<br>October 2023 (1)<br>September 2023 (2)<br>August 2023 (1)<br>July 2023 (2)<br>June 2023 (3)<br>May 2023 (1)<br>April 2023 (1)<br>March 2023 (1)<br>February 2023 (1)<br>January 2023 (1)<br>December 2022 (2)<br>November 2022 (1)<br>October 2022 (1)<br>August 2022 (2)<br>July 2022 (2)<br>June 2022 (1)<br>May 2022 (1)<br>April 2022 (1)<br>March 2022 (1)<br>February 2022 (1)<br>January 2022 (1)<br>December 2021 (2)<br>November 2021 (2)<br>October 2021 (1)<br>September 2021 (1)<br>August 2021 (2)<br>July 2021 (1)<br>June 2021 (1)<br>April 2021 (2)<br>February 2021 (3)<br>January 2021 (1)<br>December 2020 (2)<br>November 2020 (1)<br>October 2020 (1)<br>September 2020 (1)<br>August 2020 (4)<br>July 2020 (1)<br>May 2020 (2)<br>April 2020 (2)<br>March 2020 (1)<br>February 2020 (1)<br>January 2020 (16)<br>December 2019 (4)<br>November 2019 (1)<br>October 2019 (6)<br>August 2019 (1)<br>July 2019 (1)<br>June 2019 (1)<br>May 2019 (1)<br>April 2019 (1)<br>March 2019 (1)<br>February 2019 (1)<br>January 2019 (17)<br>December 2018 (2)<br>November 2018 (8)<br>October 2018 (2)<br>September 2018 (1)<br>August 2018 (1)<br>July 2018 (1)<br>June 2018 (1)<br>May 2018 (1)<br>April 2018 (1)<br>March 2018 (1)<br>January 2018 (17)<br>October 2017 (6)<br>January 2017 (21)<br>December 2016 (2)<br>October 2016 (2)<br>September 2016 (4)<br>August 2016 (1)<br>July 2016 (2)<br>March 2016 (1)<br>February 2016 (15)<br>January 2016 (1)<br>December 2015 (2)<br>July 2015 (9)<br>June 2015 (1)<br>April 2015 (1)<br>March 2015 (5)<br>January 2015 (19)<br>October 2014 (2)<br>September 2014 (2)<br>August 2014 (1)<br>April 2014 (2)<br>March 2014 (1)<br>January 2014 (17)<br>September 2013 (2)<br>April 2013 (2)<br>February 2013 (1)<br>January 2013 (13)<br>December 2012 (1)<br>November 2012 (2)<br>October 2012 (1)<br>September 2012 (5)<br>August 2012 (2)<br>July 2012 (3)<br>June 2012 (6)<br>May 2012 (5)<br>April 2012 (1)<br>January 2012 (11)<br>November 2011 (1)<br>August 2011 (1)<br>July 2011 (1)<br>June 2011 (1)<br>January 2011 (23)<br>December 2010 (1)<br>October 2010 (2)<br>August 2010 (1)<br>July 2010 (6)<br>June 2010 (1)<br>May 2010 (4)<br>April 2010 (2)<br>January 2010 (12)<br>December 2009 (1)<br>October 2009 (1)<br>September 2009 (1)<br>August 2009 (1)<br>July 2009 (3)<br>June 2009 (1)<br>May 2009 (1)<br>April 2009 (2)<br>February 2009 (8)<br>January 2009 (10)<br>December 2008 (3)<br>November 2008 (6)<br>October 2008 (4)<br>September 2008 (3)<br>August 2008 (1)<br>July 2008 (3)<br>June 2008 (1)<br>May 2008 (4)<br>March 2008 (2)<br>February 2008 (4)<br>January 2008 (6)<br>November 2007 (10)<br>October 2007 (1)<br>September 2007 (1)<br>August 2007 (1)<br>May 2007 (1)<br>February 2007 (3)<br>January 2007 (3)

Admin

I’ve recently moved my home backups over to restic . I’m using restic to backup the /etc and /home folders and on all machines are my website files and databases. Media files are backed up separately.

I have around 220 Gigabytes of data, about half of that is photos.

My Home setup

I currently have 4 regularly-used physical machines at home: two desktops, one laptop and server. I also have a VPS hosted at Linode and a VM running on the home server. Everything is running Linux.

Existing Backup Setup

For at least 15 years I’ve been using rsnaphot for backup. rsnapshot works by keeping a local copy of the folders to be backed up. To update the local copy it uses rsync over ssh to pull down a copy from the remote machine. It then keeps multiple old versions of files by making a series of copies.

I’d end up with around 12 older versions of the filesystem (something like 5 daily, 4 weekly and 3 monthly) so I could recover files that had been deleted. To save space rsnapshot uses hard links so only one copy of a file is kept if the contents didn’t change.

I also backed up a copy to external hard drives regularly and kept one copy offsite.

The main problem with rsnapshot was it was a little clunky. It took a long time to run because it copied and deleted a lot of files every time it ran. It also is difficult to exclude folders from being backed up and it is also not compatible with any cloud based filesystems. It also requires ssh keys to login to remote machines as root.

Getting started with restic

I started playing around with restic after seeing some recommendations online. As a single binary with a few commands it seemed a little simpler than other solutions. It has a push model so needs to be on each machine and it will upload from there to the archive.

Restic supports around a dozen storage backends for repositories. These include local file system, sftp and...

january august october december april july

Related Articles