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 | |
| # | |
| # A minimalistic backup tool for MySQL or files with auto-cleanup after a certain period, on a Ubuntu or Centos based environments. | |
| # It can handle multiple projects (websites) located on the server where this tool is present. Add one or more *.conf files in the backup.d directory | |
| # For each one of them we generate the md5 checksum. | |
| # | |
| # Requirements: | |
| # - md5sum (usually present by default) | |
| # - tar (usually present by default) | |
| # - mysqldump (it comes with MySQL/MariaDB) |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |