I've decided to make a full backup from my SSD disk to flash drive. According to archwiki general backup is done with following command:
rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* /path/to/backup/folder But what I supposed to do, if full backup needed? For instance, to launch rsync from usb when basic system would be broken and have fully ready-to-work last working state.
The other detail is that on my primary drive bootloader is GRUB and Syslinux is on usb stick. I'd like to avoid synching this at all. If I understand correctly, "/BOOT/*" should be added to --exclude or maybe there is something else?
rsyncis a remote sync command. To backup directly to a mounted device you could use many different commands,tarcpfsarchiverto name a few.