[Fwd: [SLE] backing up "proc" the directory]
![](https://seccdn.libravatar.org/avatar/ae094647cc5d86ba242d84ba78a73143.jpg?s=120&d=mm&r=g)
I have been using tar to backup (for restore of) the directories under "/". I was able to use "tar -cvzpf /tar_ball_dir/file_name.tar.gz /sub_directories ...where sub_directories were bin, etc, home, lib media, opt, root, sbin, srv, tmp, usr, and var. But tar ran into problems with sys, dev, boot and proc. I was able to use "cp -v -p -R /sub_directories /non_compressed_dir/ ...where sub_directories were sys, dev, and boot. But cp ran into problems with proc. I remember some other archiving tool but cannot remember the name -- apparently it will back up the proc directory. Does anyone know the name of this archiving tool. I should probably be using it on all 4 files because it can also do compression. Thanks -- Ted
![](https://seccdn.libravatar.org/avatar/7891b1b1a5767f4b9ac1cc0723cebdac.jpg?s=120&d=mm&r=g)
Ted Hilts wrote:
But cp ran into problems with proc.
/proc is not a real file-system, but an interface to the kernel. There is no point in backing it up. /Per Jessen, Zürich -- http://www.spamchek.ch/freetrial - jetzt für 30 Tage ausprobieren - kostenlos und unverbindlich!
![](https://seccdn.libravatar.org/avatar/5a94d2f8a5845d5f1c1ea1556fc0cb72.jpg?s=120&d=mm&r=g)
Per Jessen wrote:
Ted Hilts wrote:
But cp ran into problems with proc.
/proc is not a real file-system, but an interface to the kernel. There is no point in backing it up.
The same applies to /sys with 2.6 kernels. No use (and with the recursion being effectively infinite) and effectively impossible to backup either /proc and /sys. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
participants (3)
-
Joe Morris (NTM)
-
Per Jessen
-
Ted Hilts