pastebin - collaborative debugging tool RSS

Posted by Anonymous on Sat 28th Feb 2015 12:05
raw | new post

  1. #!/bin/bash
  3. # Backup script meant for backing up stuff that is not managed by $env
  4. # Requires root privileges
  6. # Set backup location here
  7. bak=/path/to/backup/location
  9. # Backup a sample directory
  10. rsync /path/to/source/ "$bak"

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}

All content is user-submitted.
The administrators of this site ( are not responsible for their content.
Abuse reports should be emailed to us at