Last active
December 11, 2018 19:18
-
-
Save GuyPaddock/730d0aa127d498553a3a69686bd0a32a to your computer and use it in GitHub Desktop.
Crude HP Touchpad WebOS Backup Script (run with `nohup` for best results over SSH; errors appear in errors.log)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
cd /media/cryptofs | |
tar -cvpjf webos-backup.tbz2 \ | |
--exclude=/proc \ | |
--exclude=/media/internal \ | |
--exclude=/tmp \ | |
--exclude=/dev \ | |
--exclude=/sys \ | |
--exclude=/var/run \ | |
--exclude=/media/cryptofs/webos-backup.tbz2 \ | |
--exclude=/media/cryptofs/nohup.out \ | |
--exclude=/media/cryptofs/errors.log \ | |
/ \ | |
2>errors.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment