Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-11-2003, 10:34 AM
|
#1
|
LQ Newbie
Registered: Mar 2003
Posts: 9
Rep:
|
Backup Software. Which way do I go?
I would like some help in choosing the right solution to backup my server.
I am running RH 8.0 on an IBM Netfinity 3000 Server. The server has an Adaptec AHA-2940U/UW/D/AIC-7881U SCSI card and an Archive Python 04106-XXX DAT drive.
Redhat seems to have detected both these devices correctly.
The server will basically be an ftp file repository. I dont see myself making many system changes after the initial setup is complete so I really just want to make 1 full backup and then incremental backups of the ftp data area daily.
Would it be easier to use an off the shelf type product or just mount, tar, unmount using my own scripts ?
I am ok with the linux environment, but havent yet worked with tape drives or backups so any help/advice would be greatly appreciated.
Many thanks.
|
|
|
03-11-2003, 11:05 PM
|
#2
|
Member
Registered: Feb 2003
Distribution: Slackware
Posts: 78
Rep:
|
I have a HP Surestore dat24e, and I simply use tar to do my backups. (tar = Tape ARchive) Have you tried paging through the man pages for tar, dd, cpio and testing out different ways of backing up? Is there something specifically that the standard stuff doesn't do that you need? Also, in case you haven't, go pick up the mt package.
BTW, the commands I use might not be appropriate for your set up. You mentioned mount and umount, whereas I write straight to /dev/st0 without mounting it. The only way to find out for sure is to read man pages and consult the documentation for your tape drive.
|
|
|
03-12-2003, 07:31 AM
|
#3
|
LQ Newbie
Registered: Mar 2003
Posts: 9
Original Poster
Rep:
|
Thanks for the reply.
I havent read up on TAR or other commands yet but it sounds like the most simple way for me to approach it.
/me starts reading......
|
|
|
03-12-2003, 08:15 AM
|
#4
|
LQ Newbie
Registered: Mar 2003
Posts: 9
Original Poster
Rep:
|
ok...
To backup the files I use the command tar -cf /dev/st0 /var/ftp/pub/upload
To view the files I use the command tar -tf /dev/st0
What command would I use to restore the files ?
How could I schedule this job for once an evening and perform some sort of check to make sure it ran/worked ?
|
|
|
03-13-2003, 03:57 AM
|
#5
|
LQ Newbie
Registered: Mar 2003
Posts: 9
Original Poster
Rep:
|
*bump*
Anyone wanna comment or should I just RTFM ?
|
|
|
03-13-2003, 04:25 AM
|
#6
|
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131
Rep:
|
"Wimps use tape Real Men upload ther file via FTP for the world to share"
|
|
|
03-13-2003, 07:17 AM
|
#7
|
Member
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524
Rep:
|
Used "dump" for years. Not sure how easy an incremental backup would be with "tar". You would need to write a script to use it which shouldn't be that hard, but "dump" would eliminate that step.
I don't think "tar" can span tapes either. Correct me if I'm wrong.
|
|
|
03-13-2003, 11:35 AM
|
#8
|
LQ Newbie
Registered: Mar 2003
Posts: 9
Original Poster
Rep:
|
Quote:
Originally posted by micxz
"Wimps use tape Real Men upload ther file via FTP for the world to share"
|
Thanks for that pearl of wisdom but it doesnt do anything for me other than spam my thread.
:bash:
|
|
|
03-13-2003, 11:35 AM
|
#9
|
LQ Newbie
Registered: Mar 2003
Posts: 9
Original Poster
Rep:
|
Quote:
Originally posted by ghight
Used "dump" for years. Not sure how easy an incremental backup would be with "tar". You would need to write a script to use it which shouldn't be that hard, but "dump" would eliminate that step.
I don't think "tar" can span tapes either. Correct me if I'm wrong.
|
Cheers I will do some reading on dump.
|
|
|
03-13-2003, 01:57 PM
|
#10
|
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131
Rep:
|
Quote:
Originally posted by BigP
Thanks for that pearl of wisdom but it doesnt do anything for me other than spam my thread.
:bash:
|
I was just making a joke. I'm sorry you feel it's spam. I would use tar, cron & mail for this task.
|
|
|
03-13-2003, 02:39 PM
|
#11
|
Member
Registered: Jan 2003
Location: Florida, USA
Distribution: Slackware
Posts: 169
Rep:
|
You can span tapes with tar using the M option
|
|
|
All times are GMT -5. The time now is 12:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|