[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Recovery to Linux from Windows
From: |
Stefan Lisowski |
Subject: |
[rdiff-backup-users] Recovery to Linux from Windows |
Date: |
Tue, 04 Jun 2013 13:35:32 -0400 |
User-agent: |
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:12.0) Gecko/20120314 Thunderbird/12.0 |
Our Linux box died, so now we're restoring from a rdiff-backup
repository on a Windows box running Cygwin. Fine for lowercase files.
But not fine for uppercase escaped files. I see lots of posts about why
capital letters are escaped and from the FAQ I see "Upon restore (from
the Mac backup server to the Linux system), the filenames are unquoted
and you will get "MyFile" back."
However, I'm unable to get the filenames back to normal using a restore
command (-r with a time seems to be the only restore command there is
for rdiff-backup)
Any ideas?
A script to un-escape the names would be fine as an alternative if
anyone has one...
Details below:
;080roducts
contains
;065;084;067ontent;084ypes/
;065;084;082eference;066rowser;087idget/
;065rchetypes/
;067;077;070;065ction;073cons/
;067;077;070;067alendar/
;067;077;070;067ore/
;067;077;070;068efault/
;067;077;070;068ynamic;086iew;070;084;073/
;067;077;070;070orm;067ontroller/
;067;077;070;080laceful;087orkflow/
;067;077;070;080lone/
;067;077;070;081uick;073nstaller;084ool/
;067;077;070;083etup/
;067;077;070;083quid;084ool/
etc...
I try restoring to a file on Windows:
rdiff-backup -r 1h \;080roducts /opt/Products
it takes time, but then nothing appears in the target directory
I try restoring to another Linux box:
$ rdiff-backup -r 1h \;080roducts address@hidden::/home/stefan/downloads/
plone_backup_from_newpaltz/Plone
address@hidden's password:
Warning: Access Control List file not found
it takes a little time, but nothing happens. If I do -v 5 for both
you'll see the following (I attached -v 20 as a file for the remote
server test; too large to include in this email)
$ rdiff-backup -v 5 -r 1h \;080roducts /opt/Products
Using rdiff-backup version 1.2.8
Unable to import module xattr.
Extended attributes not supported on filesystem at
/cygdrive/k/backups/bigboy_backups_rdiff/rdiff-backup-data
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at
/cygdrive/k/backups/bigboy_backups_rdiff/rdiff-backup-data
Unable to import win32security module. Windows ACLs
not supported by filesystem at
/cygdrive/k/backups/bigboy_backups_rdiff/rdiff-backup-data
escape_dos_devices not required by filesystem at
/cygdrive/k/backups/bigboy_backups_rdiff/rdiff-backup-data
-----------------------------------------------------------------
Detected abilities for rdiff-backup repository (read only) file system:
Access control lists Off
Extended attributes Off
Windows access control lists Off
Case sensitivity Off
Escape DOS devices Off
Escape trailing spaces Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Unable to import module xattr.
Extended attributes not supported on filesystem at
/opt/Products/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at /opt/Products/rdiff-backup.tmp.0
Unable to import win32security module. Windows ACLs
not supported by filesystem at /opt/Products/rdiff-backup.tmp.0
escape_dos_devices not required by filesystem at
/opt/Products/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for restore target (read/write) file system:
Ownership changing Off
Hard linking On
fsync() directories On
Directory inc permissions On
High-bit permissions On
Symlink permissions Off
Extended filenames On
Windows reserved filenames On
Access control lists Off
Extended attributes Off
Windows access control lists Off
Case sensitivity Off
Escape DOS devices Off
Escape trailing spaces Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Restore: must_escape_dos_devices = 0
Starting restore of ;080roducts to /opt/Products as it was as of Tue Jun
4 16:2
3:48 2013.
Processing changed file .
Restore finished
------
or
-------
address@hidden
/cygdrive/k/backups/bigboy_backups_rdiff/opt/;080lone-2.5.5/zeocl
uster
$ rdiff-backup -v 5 -r 1h \;080roducts address@hidden::/home/stefan/downl
oads/plone_backup_from_newpaltz/Plone
Using rdiff-backup version 1.2.8
Executing ssh -C address@hidden rdiff-backup --server
address@hidden's password:
Unable to import module xattr.
Extended attributes not supported on filesystem at
/cygdrive/k/backups/bigboy_backups_rdiff/rdiff-backup-data
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at
/cygdrive/k/backups/bigboy_backups_rdi
ff/rdiff-backup-data
Unable to import win32security module. Windows ACLs
not supported by filesystem at
/cygdrive/k/backups/bigboy_backups_rdiff/rdiff-backup-data
escape_dos_devices not required by filesystem at
/cygdrive/k/backups/bigboy_backups_rdiff/rdiff-backup-data
-----------------------------------------------------------------
Detected abilities for rdiff-backup repository (read only) file system:
Access control lists Off
Extended attributes Off
Windows access control lists Off
Case sensitivity Off
Escape DOS devices Off
Escape trailing spaces Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Unable to import win32security module. Windows ACLs
not supported by filesystem at
/home/stefan/downloads/plone_backup_from_newpaltz
/Plone/rdiff-backup.tmp.0
escape_dos_devices not required by filesystem at
/home/stefan/downloads/plone_backup_from_newpaltz/Plone/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for restore target (read/write) file system:
Ownership changing Off
Hard linking On
fsync() directories On
Directory inc permissions On
High-bit permissions On
Symlink permissions Off
Extended filenames On
Windows reserved filenames Off
Access control lists On
Extended attributes On
Windows access control lists Off
Case sensitivity On
Escape DOS devices Off
Escape trailing spaces Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Restore: must_escape_dos_devices = 0
Starting restore of ;080roducts to
/home/stefan/downloads/plone_backup_from_newpaltz/Plone as it was as of
Tue Jun 4 16:24:55 2013.
Warning: Access Control List file not found
Processing changed file .Restore finished
v20output.txt
Description: Text document
- [rdiff-backup-users] Recovery to Linux from Windows,
Stefan Lisowski <=