|
|
|
|
|
by mercer
4416 days ago
|
|
I realized exactly this when I wanted to write a backup script for some of my client's websites. My usual process had been to 'manually' backup using rsync, which was a matter of cutting and pasting the commands from a text document. When automating, however, I realized I'd also have to check if certain files (db dumps) were present, and of course if the script itself succeeded. I then realized that in this particular case, the simple cut and paste approach was perfectly fine, because: 1) it would take months for the time spent automating to be worth it compared to a quick cut and paste, and 2) it was much safer for me to quickly scroll back in my terminal and see if the particular files were present. Now I wouldn't generally recommend my approach, but in context it made sense not to automate, and yet I felt a 'need' to automate anyways. |
|
Besides, you should always document your process, and writing a backup script doesn't really take much more time than a detailed description in English.
[1] https://en.wikipedia.org/wiki/Bus_factor