This question already has an answer here:

First an overview of my setup: I have an RPI 2 Model B that I use to store media, documents, and backups of other devices on my network. I've moved the root file system to an external USB 1TB HDD for extra space and to improve the life of the SD card. The hard drive is split into two partitions - an ext4 partition where the root file system lives and an NTFS partition where I store all of my media, documents, and backups. I have a secondary sitting on standby which brings me to my question...

What are some ways to make full system backups of my RPI?

I'm interested in suggestions for linux tools (DD, rsync, etc) this with pros and cons of using them. I'd also love to hear methods to keep my data safe and updated (when I should make backups, how to automate them, where they should be stored, etc). Ideally I'd like something that is simple to do and is mostly automated. If it takes too much time create a backup each time, I'd be more likely not to keep up with it.

marked as duplicate by Jacobm001, Milliways, Ghanima Feb 8 '16 at 9:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • While this is a great question, there are already a plethora of answers here: raspberrypi.stackexchange.com/questions/311/… – Patrick Cook Feb 8 '16 at 3:02
  • Your journey brings you to Bacula - I won't spoil you a joy of reading it's concepts. It does exactly what you want to do. – Alexey Vesnin Feb 8 '16 at 3:04
  • As @PatrickCook states there are many answers. There are 2 viable solutions dd aand rsync steve-robillard's question and answer is excellent. See also raspberrypi.stackexchange.com/a/37850/8697 for a discussion of options. – Milliways Feb 8 '16 at 4:14
  • You may want to reconsider using NTFS if only used on the Pi. Linux does not have journalling support so it is inherently less reliable and it does not adequately support Linux permissions. – Milliways Feb 8 '16 at 4:16
  • @PatrickCook Most of those answers are crap since they revolve around dd -- all time worst backup method. This is the method used by people who've never seen a command line before and have no clear idea what a "filesystem" is. For something more canonical that actually meets the criteria of (realistically and easily) "automated" and does not "take too much time", look into rsync or rsnapshot. If you search either of those together with "backup" here or online you will find plenty of stuff, it does not all need to be explained again of course. – goldilocks Feb 8 '16 at 10:32