Sat Feb 11, 2017 11:18 am
Whilst you can use dd to copy a mounted image it's almost certainly going to lead to an inconsistent filesystem as writes will still be happening whilst you're doing the backup. For a 32GB SD card dd'ing the image over the network is likely going to take an hour (maybe longer if it's being used).
A better option might be rsync which will work at the file level, There are options for rsync to tell it not to cross filesystem boundaries. Even this might lead to some file inconsistencies (particularly things like databases), but you can run rsync a few times in quick succession to get things that changed during the previous sync.
Restoring from an rsync image might be a bit more tricky, you would either need to create an image from the files. Alternatively you could stick a minimal image on an SD card and rsync the files back from the backup over the top of the minimal SD image.