Mailinglist Archive: opensuse (2912 mails)

< Previous Next >
Re: [SLE] backing up "proc" the directory
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Fri, 4 Feb 2005 21:06:19 -0800
  • Message-id: <200502042106.19126.rschulz@xxxxxxxxx>

The simple answer to issues of "backing up" the /proc directory is:

All of the contents of /proc are synthesized by the kernel to reflect
the current status of the system. Nothing there is really a file, none
of it is meaningfully backed up and none of it could even be restored.

Just avoid backing up /proc and /dev.

It sounds like you need to take in some Linux tutorials.

Randall Schulz

On Friday 04 February 2005 20:48, Ted Hilts wrote:
> 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

< Previous Next >
Follow Ups