Permalink
Browse files

trying to show the folderlist correctly

  • Loading branch information...
1 parent 37fcb3e commit 81c605c72b4a613d5df13cd15dac26f9052822d7 Jason Draper committed Dec 22, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
View
@@ -9,8 +9,8 @@ This is a set of scripts I've compiled to make backing up any *nix system fairly
* BACKUP_MYSQL - if you do not wish to backup a MySQL database, change this variable to 0
* USERNAME, PASSWORD - set these variables to a MySQL user with full permissions on your database so that all the data can be properly extracted.
1. Inside folderlist.txt add the directories that you want to be backed up. One directory per line. For example, if you want to backup '/home/user/mystuff' and '/etc' then your file would look like:
-*/home/user/mystuff
-*/etc
+ /home/user/mystuff
+ /etc
Please note that the user running the script needs to have permission to these directories so if you plan on setting this script on a cron job, make sure that the runner has permissions over the directories.
1. Start the script! To run the file you may either modify the permissions to allow the script to be executable or simply run 'ruby full_backup.rb'. Depending on the size of the directories you have chosen to backup, this may take a while.
1. Move to the directory that you have chosen and move your backup to wherever you want(offsite server, external drive, cd, whatever)

0 comments on commit 81c605c

Please sign in to comment.