1821216 Members
3126 Online
109632 Solutions
New Discussion юеВ

backup on linux

 
SOLVED
Go to solution
Edwin Ruiz_2
Super Advisor

backup on linux

Hi i want to make one backup to tape from linix server, i know i can make it with tar.. buy no function.. How can i do my backup form linux server?
6 REPLIES 6
K.C. Chan
Trusted Contributor

Re: backup on linux

I am not sure what you want here, but you're looking into taring something into tape, here's the synthax; assuming you're in a linux environment offcourse: "tar -Pcvzf ...."
Reputation of a thousand years can be determined by the conduct of an hour
Edwin Ruiz_2
Super Advisor

Re: backup on linux

Ok! thanks
Martin P.J. Zinser
Honored Contributor

Re: backup on linux

Also if you can afford it bring the system to single user mode for the backup to avoid problems with open files and inconsistencies.
Steven E. Protter
Exalted Contributor

Re: backup on linux

This backup methodology will work fine for everything except open(hot) databases.

Earlier versions of tar defaulted to the tape device without the -f tapedevice entry.

You are going to need to shut down any oracle/mysql databases prior to backing up like this.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Edwin Ruiz_2
Super Advisor

Re: backup on linux

How can i know name of tape device? i supossed is /dev/st, but tar is created on / directory.. i want to make backup to tape drive
Stuart Browne
Honored Contributor
Solution

Re: backup on linux

The first tape device name is usually /dev/st0 (or /dev/nst0 for no-rewind), if you are using a normal SCSI/IDE tape drive.

If it is some other type of drive, a special driver might be required.

Check to make sure your 'st' module is installed (lsmod), and see what your console messages say with regards to 'st' devices (dmesg | grep st).
One long-haired git at your service...