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
# Backup script to take a snapshot of the database and upload to Rockspace Cloud Files | |
# also manages the no of backups to keep. | |
# | |
# Note: You will require a Rackspace Cloud account, more details @ http://www.rackspace.com/cloud/ | |
# | |
# ------------- | |
# Configuration | |
# ------------- | |
# The script uses the database.yml for configuration. Backup database details should be | |
# provided for the appropriate environment. |
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/sh | |
while [ 1 = 1 ] | |
do | |
#eject cdrom | |
eject | |
# pull the tray back in | |
eject -t | |
done |
NewerOlder