Skip to content

Instantly share code, notes, and snippets.

@GuyPaddock GuyPaddock/backup.sh
Last active Dec 11, 2018

Embed
What would you like to do?
Crude HP Touchpad WebOS Backup Script (run with `nohup` for best results over SSH; errors appear in errors.log)
#!/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
You can’t perform that action at this time.