Christophe CasalegnoAutoimmune warrior, Entrepreneur & Bio/Hacker

brain@127.0.0.1:~$ cat post.html

brainbackup: a bash script to back up your lamp server

backup and restore

Hello friends, I hope the summer is going well for you. Last year I made a series of livecoding videos on writing a backup script in bash to back up both the databases and files on a LAMP server. I said I would make the script available, but time passed, and the VM I had written it on was destroyed… Anyway, I came across a copy I had used for clients, where it has remained in production ever since.

Watch the video on YouTube

So here it is, late but as promised, under the GPL licence, along with its configuration file. I will probably make a number of improvements soon, which will be a chance to make more videos, as it will replace the existing sxbackup script used with my LAMP stackx installer.

To download the script: I will add it to the contributions section shortly, but you can download it right now via the following link: brainbackup.tar

Feel free to write if you have any further questions. You can reach me through the usual channels.

Enjoy!

Christophe Casalegno
​You can follow me on: Twitter | Facebook | Linkedin | Telegram | Youtube

Leave a comment

Add a comment
Christophe Casalegno Brain 0verride

Keep it simple
and direct!