Commit Diff


commit - 4340e205138bbb32611a289aafa09243e496d3e9
commit + 9ffe1db1d0f33cc83a79a46e17537680509ca19b
blob - 1a2485251c33a70432394c93fb89330ef214bfc9
blob + 88bb3430d98286036a036498c0604ea398be80df
--- bkup.sh
+++ bkup.sh
@@ -1 +1,14 @@
 #!/bin/sh
+backup_repository="/home/bkup"
+
+#   Usage
+
+#   Backup the specified directory to the repository
+tar cf $backup_repository...tar $dir_to_bkup ;
+
+#   Clean old backups periodically.
+# The default behaviour is to keep backups for 
+# one week, to keep one backup per week for the
+# past semester (three months), and one backup
+# per month forever
+