backup
- Saves a backup of the current file to the backup folder.
PICO-8 will create a backup of your cartridge in {appdata}/pico-8/backup
when you quit without saving or overwrite an existing file. You can also trigger a backup manually with the backup
command.
Examples[]
At the PICO-8 prompt, never having saved:
> backup backed up
This creates a file in the backup folder named something like: 20201225_123987_untitled.p8
And if the cart is saved first:
> save winterwonderland.p8 saved winterwonderland.p8 > backup backed up winterwonderland.p8
This creates a file in the backup folder named something like: 20201225_124203_winterwonderland.p8