Operating System - Linux
1752796 Members
5633 Online
108789 Solutions
New Discussion юеВ

backing up /proc filesystem ?

 
SOLVED
Go to solution
Jean-Yves Picard
Trusted Contributor

backing up /proc filesystem ?

Hello,

I am writing procedure to backup restore linux hosts.

is there a point of backing up /proc filesystem ?

this filesystems looks to me as a view (in database acceptation of term), hence the only way you can have same /proc on both source host and target host is to (try to) rebuild the target exactly the same way as source host.
same size for vg, lvs etc ...

Jean-Yves Picard
5 REPLIES 5
Ivan Ferreira
Honored Contributor
Solution

Re: backing up /proc filesystem ?

You don't have to backup the /proc file system, it's a virtual file system. The proc file system is populated at startup "on the fly". You only need to ensure that the /proc mount point exists.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Jean-Yves Picard
Trusted Contributor

Re: backing up /proc filesystem ?

hello

thanks for this quick and precise answer, Ivan

Jean-Yves
(hhhmmm, not sure you NEED 10 more points ...)
Arunvijai_4
Honored Contributor

Re: backing up /proc filesystem ?

Hi Jean,

/proc is a VFS. You can find more information about /proc here: http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/ch-proc.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
dirk dierickx
Honored Contributor

Re: backing up /proc filesystem ?

there is no use in backup /proc

settings in procs that are configured at boot time are included in the /etc directory so just be sure to have that included in your system backups.
Jean-Yves Picard
Trusted Contributor

Re: backing up /proc filesystem ?

Thanks to all who answer.