Backup Script – Where to Put backup.sh in Ubuntu

backupshellUbuntu

I'm writing a shell script that will make backups of my system ( like this: https://help.ubuntu.com/8.04/serverguide/C/backup-shellscripts.html ).

What is the best location in my system, to store this file? I know, I can put it anywhere, but what will be if it will be stored in a directory being backed up? What is the best practice here?

I'm running an Ubuntu-server.

Best Answer

Some people install additional stuff in /usr/local others in /opt.

See: http://www.pathname.com/fhs/

Related Topic