Mailinglist Archive: opensuse (929 mails)

< Previous Next >
Re: [opensuse] Backup .. restore ... access/ownership
On 03/28/2014 10:28 PM, Carl Hartung pecked at the keyboard and wrote:
On Fri, 28 Mar 2014 21:28:00 -0400
Anton Aylward wrote:

OUCH! For some reason everything seemed to be r--r--r-- root.root

I'd burnt the DVDs with K3B. Is this some side effect of putting a
reiserFS on a DVD using K3B in data mode? Or what?

Hi Anton,

You've asked for thoughts, so... I think there are two separate
'gotchas' here.

First, I don't think the original filesystem type is at play. I think
the backup media being ROM is what caused the files to be marked
read-only as they were written.

Second, I think if you'd mounted the DVDs so they were owned by you
(e.g. anton.users) instead of by root (root.root) your files would have
inherited that ownership as they were being read.

Third, I think if I were backing up to DVD, I'd first compress the
source directories into a tarball to preserve the original attributes.

I could be wrong, but these are my initial thoughts... hth & YMMV etc.



I agree with Carl, if you did your backup on a file by file basis that you have lost all of the file attributes. I always create a tar file of the filesystem and then backup the tar file to DVD, that way you don't lose the attributes.


Ken Schneider
SuSe since Version 5.2, June 1998
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups