I am using dirvish on two boxes. One is a Samba file server (fileserver), and
it is dirvishing hourly snapshots (kept for two days) of the shared drives
to a separate drive in the box. It is meant to substitute a raid
configuration.
The other linux box (snapshots) is taking daily rsync backups (kept for up
to 3 years) from the file server and is also taking daily rsync backups from
a linux box (backups) that is itself taking rsync backups from Windows pcs
on the network and also from remote sites. (I am also using rdiff-backup to
snapshot the .pst files). Although this seems wasteful, I feel happier
keeping the long term snapshot operations on a separate PC from the daily
backups. I also backup the backups box offsite using rsync. (Yes, data
backups are important to us!)
Samba is set so that all files are "force user" myname which is the log on
user name of all the linux boxes. I have no need to preserve windows pcs
ownership or permissions.
What happens is two things. First, on the snapshots box, dirvish-expire
cannot delete certain directories (typically My Document folders from the
Windows boxes) from the expiring snapshots. Second, on the fileserver and
the snapshots box, dirvish occasionally creates a snapshot which is owned by
root and not by myname. On the next run of dirvish, dirvish cannot read the
files in the root owned snapshot and fails.
I tried running dirvish using sudo dirvish-runall but it creates all
snapashot images with root ownership which probably works for dirvish but is
not optimal for me.
Hope that clarifies!




Dave Howorth wrote:
> 
> Paul Slootman wrote:
>> On Fri 31 Oct 2008, dfirth wrote:
>>> I have got myself confused.
>>> I am running dirvish locally. (I rsync to a directory on this linux box,
>>> and
>>> then run dirvish using this directory as the client files).
>> 
>> You mean you're doing it in 2 stages? I.e. at the end you have the files
>> 3 times on your system: the original, the rsync'ed copy, and the dirvish
>> copy?
> 
> Are you running rsync by hand?
> 
> Also what operating system is running on the source machine? And which
> machine is running rsync?
> 
>>> Every now and then (!), the resulting image directory is locked up with
>>> root
>>> permissions rather than my default user permissions. That means that I
>>> cannot access the directory (without sudo) but also dirvish cannot
>>> access it
>>> either and I get errors. I am not running dirvish as root.
> 
> Do you mean the dirvish image directory or the first rsync copy? What is
> in the log of whatever program produced the sometimes problematic
> 'image' (a) when it works and (b) when it doesn't. If there isn't
> anything obvious, have you set verbose mode? If not, try that.
> 
> Cheers, Dave
> _______________________________________________
> Dirvish mailing list
> [email protected]
> http://www.dirvish.org/mailman/listinfo/dirvish
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Permissions-tp20262208p20268177.html
Sent from the Dirvish mailing list archive at Nabble.com.

_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to