pine64 / OpenPineBuds

Community maintained firmware for PineBuds Pro
148 stars 18 forks source link

Add backup script #8

Closed ThatcherC closed 1 year ago

ThatcherC commented 1 year ago

I put together a script called backup.sh that handles creating firmware backups with bestool. The script is based on ./download.sh and is still pretty similar to it. The script places firmware backups in firmware-backups/ with names like firmware-1672882716-0.bin.bkp, where 1672882716 is the UNIX time at the start of the script and -0 indicates the firmware is from the right bud. A -1 indicates it's from the left.