Making backups with dump

Posted on 2003-03-21
Medium Priority
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
Question by:Lluis-evintia
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

Accepted Solution

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

Expert Comment

ID: 9076603
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 
Post your closing recommendations!  No comment means you don't care.

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