Windows 10 typically has a +-20GB partition with recovery images at the back end of your drive. While running Windows 10, you create a recovery drive or recovery DVDs which you can later use to recover. Typically you'll have two options, one brings it back to the same shape as it was when new, the second option only refreshes Windows leaving your data and Ubuntu intact.
For Ubuntu, you can either reinstall from the Live CD or make a backup image with dd or one of a thousand or so backup imaging software and restore the image. If it's a UEFI computer, you would also want to back up the System EFI partition that contains the boot files.
As for links, Google does a great job providing thousands, unless there is more to your question.
Image for Dos from this outfit will backup the whole drive in compressed, data only format, works great, 'tis the one I use. Automatic, backup to DVD, USB external drive, network drives etc.