?
Solved

Making backups with dump

Posted on 2003-03-21
4
Medium Priority
?
474 Views
Last Modified: 2013-12-15
I want to make backups daily with dump. The backup is going to be from one device to another in the same machine. The idea is that from monday to friday make an incremental backup, and sundays make a complete backup.
The directory size is about 22 GB.

I just need an examples or guide to the dump commands. I will inculde it in my cron.daily.

Thank you
0
Comment
Question by:Lluis-evintia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 1

Accepted Solution

by:
bushmannt earned 200 total points
ID: 8369329
/sbin/dump -0auf /dev/nst0 /usr/src
does a full dump of a filesystem containing /usr/src
you can make a lot of changes to this, eg.

dump -9auf /dev/st0 /dev/sda5
does a level 9 dump to a rewindable scsi tape0 dumping scsi disk 1 partition 5

if you just want a full dump every week or so, you will have a bunch of lines like line #1:
dump -0auf /dev/nst0 /dev/hda1
dump -0auf /dev/nst0 /dev/hda2
dump -0auf /dev/st0 /dev/hda3


why is last line different?  becuase it will automatically rewind the tape for you.  
IF you dump few things to st0 they will be overwritten, as after each dump tape will rewind to the beginning.
hope this helps
Marcin
0
 

Expert Comment

by:CleanupPing
ID: 9076603
Lluis-evintia:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question