0

When using dump, level 0, to save the whole concerned partition :

$ dump -0f /path/to/target/drive / 

I'm said some folders are excluded (I guess, at least, tmp folder). I have not found more detail about it. What is the default excluded folder list please ?

5
  • 1
    Have you read man dump ? the -e option. I suggest you take a look at some Mint documentation to get a better understanding of what you want to do. eg. Minit Community Think also about your partition setup, do you have a separate partition for /home ? Try to work out a strategy. I get the feeling dump isn't the right command for what you want, there were suggestions provided on your other recent questions. There are also topics in the Mint Forums that might help. Commented Jun 23, 2015 at 13:50
  • Is /tmp mounted on a separate filesystem? Commented Jun 23, 2015 at 18:24
  • @MarkPlotnick : /tmp is not. Commented Jun 24, 2015 at 7:50
  • @XTian : have you a good link for man dump please ? Commented Jun 24, 2015 at 7:50
  • Try typing man dump into Google Commented Jun 24, 2015 at 8:32

1 Answer 1

1

Nothing is excluded. It's a level 0 dump, it dumps everything on that file system.

A level 1 dump would dump everything that was changed since the last level 0 dump.

A level 2 dump would change everything changed up to the last level 1 dump (if there was a level 1 dump, otherwise back to the level 0 dump).

Hence you could do incremental backups by doing a level 0, then 1, then 2 etc, until you do your next level 0 and start over again. If you need to restore, you'd have to restore your level 0, then 1 on top of that, then 2 and so on.

You could do differential backups by first doing a level 0, then doing level 1 backups, until your next level 0. This has the benefit of if you have to restore a file, or the entire file system, there's only 2 places to look, in either the latest level 1 or the level 0. You could save each of the intervening level 1 backups to be able to undelete a file that was newer than in the level 0 but older than the most recent level 1.

Note: If /tmp is on a different file system, then it is not dumped. Dump works on a file system bases. Hence if you have 3 file systems mounted, you will need to dump them 3 times. Furthermore, dump dumps the entire file system, you can't dump a directory. Use tar for that!

3
  • ok thanks. There is no "intelligence", I mean, the whole FS is put in the dump "partition". Commented Jun 25, 2015 at 12:32
  • Correct. It walks through the entire file system inode by inode and dumps it all. It's like one of the original dump programs written for Unix ages ago. I used it to do tape dumps back when I was at the University. Commented Jun 26, 2015 at 1:17
  • tapes... if ever you have time to share photo on a blog, makes me curious. Thank you @MichaelGrant Commented Jun 26, 2015 at 7:41

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.