Operating System - Linux
1827892 Members
2074 Online
109969 Solutions
New Discussion

Ignore NFS mounted filesystems with dump

 
Ragni Singh
Super Advisor

Ignore NFS mounted filesystems with dump

Hi all,

I'm doing a dump of the Linux server with the following command..

dump -0u -f /dev/nst0 /

This will backup everything under root. Will this ignore NFS mounted filesystems or how can I specify to ignore NFS mounted filesystems. Any help is greatly appreciated and points will be assigned.
5 REPLIES 5
Bruno Vidal
Respected Contributor

Re: Ignore NFS mounted filesystems with dump

Hi,
As far I know, dump command will backup only the file system you gave, it don't cross mount point. So if you need to dump the entire system you should do multiple dump. One for each file system you want to backup.

Cheers.
Steven E. Protter
Exalted Contributor

Re: Ignore NFS mounted filesystems with dump

Just wondering, how are you planning to restore this data if its a backup?

I think that command will ignore NFS mountpoints. To be sure, umount them before running the command.

This isn't a disaster recovery plan is it?

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
Ragni Singh
Super Advisor

Re: Ignore NFS mounted filesystems with dump

Yes, we will be doing a restore sooner or later. For now, I just want to backup the system.

Caesar_3
Esteemed Contributor

Re: Ignore NFS mounted filesystems with dump

Hello!

Dump will backup only mount point that you give
if you will have under other mounts they will
ignored.

Caesar
Huc_1
Honored Contributor

Re: Ignore NFS mounted filesystems with dump

Hello

How about a devious way ? ... keeps your cpu busy

I use dump/restore on my linux's for backup

When I was testing my various procedures I sometime used this method...

/sbin/dump -0 -f /dev/null /

this will dump to no where but does give you some informations in return and it is fast..

It will tell you if nfs is backup or not, I do not use nfs.

I think It will be ignore if the 5 field in /etc/fstab is 0

ex: of ignored's


/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0

I am prudent,I always try to test in a none production enviroment first.

I hope this will be of some help to you.

Jean-Pierre




Smile I will feel the difference