My pi3 is placed 300+ kilometers away and I can't reach it frequently(probably 2 times a year).

I would like to backup the disk image remotely once a month, almost all tutorials I found are for which could hold it in hand.

I have a macbook and windows desktop(putty/winscp ready, but I need diskimage backup), is there a way for me to do that remotely?

I have working openvpn between pi and my local PCs.

  • I have working openvpn between pi and my local PCs. May 5, 2019 at 14:16
  • 1
    Do you really need a complete image? Or is it also possible to make classical backups of all files?
    – Ingo
    May 5, 2019 at 19:36

1 Answer 1


You can do a disk backup on a running system by reading /dev/sda, or whatever the name of your disk is.

However, a disk backup will not necessarily be consistent, and it will occupy space for blocks that are not allocated.

So a better approach specifically for a PI would be to make a disk backup of the partition table and the first partition, and then use tar or rsync to make a copy of the main file system.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.