KW-BACKUP(1)
π NAME π
kw-backup β save and restore all of kw's internal data πΎβ¨
β¨ SYNOPSIS β¨
kw backup [<path>]
kw backup (-r | --restore) <path> [(-f | --force)]
kw backup (--verbose)
π DESCRIPTION π
okay so bestie, here's the tea β β kw-backup is your girl for keeping kw's whole inner world safe.
Give it a <path> and it'll bake you a tar.gz file, drop it right at that <path>, and stuff it with everything chilling inside the KW_DATA_DIR folder. That's the whole vibe. πΈ
And if you don't hand it a path at all? No stress β the backup just goes straight into your current directory. Periodt. π
π OPTIONS π
-r,--restore<path>β the glow-up option β¨ this one brings all your kw data back from the dead. It extracts thetar.gzsitting at<path>and tucks everything back into theKW_DATA_DIRfolder like nothing ever happened. BUT β if it bumps into files with the same name while restoring, it will by default stop and ask you how you wanna proceed π«Ά. If you just want to straight-up replace every file inKW_DATA_DIRwith whatever's in the backup, go ahead and use the--forceoption.--verboseβ the chatty mode π£οΈ this makes thekwprogram spill out debug messages so you can watch it track its own progress. It's genuinely so useful when you're debugging, and it makes spotting possible errors way easier. iykyk π
π EXAMPLES π
Want a backup file to just appear in your current directory? Run:
kw backup
You can also tell it exactly where to stash the backup. Say you want it in /documents/backup β then run:
kw backup /documents/backup
To bring a backup back, use the --restore option. Say you wanna restore the backup stored at /documents/backup/kw-backup-from-yesterday.tar.gz β run:
kw backup --restore /documents/backup/kw-backup-from-yesterday.tar.gz
ngl bestie, that--forceflag is not playing around β it will just replace everything inKW_DATA_DIRwith the contents of your backup. Iconic, but be sure before you commit. π
and that's the whole page, bestie β kw-backup, saving and restoring kw's internal data since forever π this lil manual came from the kw-backup - Save... kw internal data() pages, so go forth and back up your life fr fr πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: kworkflow 1:0.10-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms