Created
March 5, 2019 10:46
-
-
Save jetstreamin/fdb3e328bbccd5b4e535b65f163b3e68 to your computer and use it in GitHub Desktop.
backup.sh - simple backup script for bash
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
#!/bin/bash | |
OF=/var/my-backup-$(date +%Y%m%d).tgz | |
tar -cZf $OF /home/me/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment