UNIX / Linux Dump Command Exclude Directories / Files

Posted on in Categories , , , , , , , , , , last updated June 20, 2009

I‘m using dump command to backup file systems to tape and remote server. However, I’m not able to find any option that will allow me to exclude files or directories from backup. How do I force UNIX / Linux / FreeBSD dump command to exclude selected files (such as /var/cache or /usr/basejails) which I don’t want to backup?

How To Back Up a Web Server

Posted on in Categories , , , , , , , , , , , , , , last updated August 2, 2008

Q. I’m using Red Hat Enterprise Linux based Apache web server. How do I backup my Apache webserver, MySQL and PostgreSQL database to another disk called /backup and then copy it to other offsite backup ssh server called backup.example.com?