1827773 Members
2550 Online
109969 Solutions
New Discussion

Re: BACKUP Scripts

 
SOLVED
Go to solution
mick001
Advisor

BACKUP Scripts

Hello,


Can you help me with some backup scripts what we can start from cron with logfiles / checks / copy to backup server/ auto administer/ configurable etc


THANKS!!!

mick
6 REPLIES 6
Michael Tully
Honored Contributor

Re: BACKUP Scripts

Well, one suggestion is to use fbackup. You could use 'ignite' (make_tape_recovery) for a small system. If it is a really large system, you should look at a commercial package like omniback.

Below is a simple fbackup script.
/usr/sbin/fbackup -f /dev/rmt/0m -g /usr/local/backup/fbackup.list -I /usr/local/backup/log/fbackup.index > /usr/local/backup/log/fbkuplog.`date +%d` 2>&1

# more fbackup.list
i /

You could make the program far more complicated by using indexes.
e.g. cron entry
30 22 * * 1-5 /usr/local/backup/fbackup.ksh
Anyone for a Mutiny ?
mick001
Advisor

Re: BACKUP Scripts

Hi,

the files I want to backup is a database backup. the file I want to copy to the backup-server

Cheers

Elif Gius
Valued Contributor

Re: BACKUP Scripts

Hi mick,

take a look at http://www.backupcentral.com/free-backup-software1.html

There are some scripts for backup of databases, operating systems and so on.

Maybe it will help you.

Bye
Elif
Geoff Wild
Honored Contributor
Solution

Re: BACKUP Scripts

If you can afford it, get an enterprise solution like Netbackup...

Attached is a script I used to use quite some time ago to backup Baan...it is tar based.


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Geoff Wild
Honored Contributor

Re: BACKUP Scripts

Don't know why - script didn't attach - here it is one more time with feeling...


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Rick Garland
Honored Contributor

Re: BACKUP Scripts

The backupcentral.com site is a definite bookmark! Lots of good stuff there if you roll your own or work with a commercial product. (lacking OmniBack/Data Protector)