Bash


  • Bash: Backup and restore of crontab

    2012-09-12 Bash Will Redirect 🚩

    Crontab Backup If you use cron quite often, it is a good practice to backup it from time to time. This can be achieved in a very easy way. First, see what is your crontab content: Now just redirect standard output from screen to the destination file – our backup. This command will create a… read more

  • In this article we won’t be talking about the idea of backup in general aspect. We’ll just focus on how to improve backup process (of anything) using cron and several commands in bash. For purpose of this article we assume that our application is an intranet website, placed on a local server in most typical… read more