So I can use this command
dd if=/dev/sdx of=/path/to/image bs=1M
to take a full backup of the SD card that has the OS installed for my raspberry pi.
What I need help with is:
How do I find out what /dev/sdx (location of SD card) actually is?
Where would be the best place to backup to - /path/to/image - the SD card is 8gb so I can just write it back to itself in a way.
I would like to CRON it, I assume once I get the line correct and confirm its working, I can just CRONTAB that line?
Linux very new to me, would appreciate the help.