|
From: | Dominic Raferd |
Subject: | Re: [rdiff-backup-users] Winsdows 7/Vista ACLs not restored correctly? |
Date: | Wed, 19 Sep 2012 17:53:03 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
Sorry Leland, I have always explicitly excluded acls from my Windows
backups. But in any case for ACLs rdiff-backup requires the pylibacl and pyxattr modules. My
standard rdiff-backup installation (under Ubuntu 12.04) does not
have pylibacl or pyxattr. You can check whether you have them in
your Debian with: pydoc modules|egrep -o "(pylibacl|pyxattr)" Could this be your problem? Dominic On 09/09/2012 02:56, Leland Best wrote:
Hello Dominic, Thank you for taking the time to reply. As I said, I've tried quite a few combinations of things but figured my initial post would be long enough without going through them all. Also, I figured the case I outlined was the simplest one (i.e. least number of variables to worry about). But since you ask ... On Sat, 2012-09-08 at 09:26 +0100, Dominic Raferd wrote:Leland, have you tried doing the backup from your Windows machine to a Linux host and then restoring from there?Since Linux is my OS of choice, this was actually the first thing I tried. My Linux boxes run Debian GNU/Linux. I have one running "squeeze/stable" and one running "wheezy/testing". Only rdiff-backup 1.2.8 is available as an official Debian package though I also tried removing the Debian package and building/installing 1.3.3 from source. In each case the corresponding win32 native binary was installed on the Windows side. Also, on the Windows/client side I tried using both the Cygwin OpenSSH and PuTTY to make the connection to the Linux box. In all cases, as best I can remember, the result was the same as in the simple case I outlined originally (i.e. no errors but restored permissions/ACLs were wrong).Or, if that is not possible, using the linux version of rdiff-backup on your Windows machine through cygwin?[...] [rest of original post deleted] I assume you mean using the Cygwin version of rdiff-backup on the Windows machine to backup and restore to/from the linux box? I've tried this too and the results are (mostly) worse. For example, I removed the win32 native rdiff-backup, installed Cygwin's version (1.2.8), and did (in a Cygwin rxvt/bash window): -------- prompt> rdiff-backup -v 5 /cygdrive/c/Users/Leland address@hidden::tmp/Backup/Leland > ./Leland_backup.log 2>&1 prompt> rdiff-backup -v 5 -r now address@hidden::tmp/Backup/Leland /cygdrive/c/Users/Leland.restore./Leland_restore.log 2>&1-------- After this, here are the permissions on C:\Users\Leland and C:\Users \Leland.restored C:\Users\Leland (the original source directory): -------- SYSTEM: <not inherited>, Full Control, This folder, subfolders and files Leland: <not inherited>, Full Control, This folder, subfolders and files Administrators: <not inherited>, Full Control, This folder, subfolders and files and on the restored C:\Users\Leland.restored directory: -------- lbest: <not inherited>, Special, This folder only None: <not inherited>, Special, This folder only Everyone: <not inherited>, Special, This folder, subfolders and files SYSTEM: <not inherited>, Full Control, This folder, subfolders and files Administrator: <not inherited>, Full Control, This folder, subfolders and files Users: <not inherited>, Read & Execute, This folder, subfolders and files CREATOR OWNER: <not inherited>, Special, subfolders and files only CREATOR GROUP: <not inherited>, Special, subfolders and files only The only _good_ thing is that it gets "<not inherited>" right. Everything else is all bollixed up. The original owner (Leland) has no permissions at all! BTW, I also tried this using the Cygwin rdiff-backup entirely locally on the Windows machine with exactly the same results. At least it's consistent. Is the format of the windows metadata and ACL files (stored in the rdiff-backup-data directory) documented anywhere? Then maybe I could at least determine whether the permissions and ACLs were being stored correctly in the backup. I take it nobody else has had this problem? If not, then it must be something weird in my setup. But I'm clueless what it could be. Locale maybe? I dunno. Thanks again for your time. Cheers Leland --
TimeDicer: Free File Recovery from Whenever |
[Prev in Thread] | Current Thread | [Next in Thread] |