rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Re: restore a specific directory


From: Max Duessar
Subject: Re: [rdiff-backup-users] Re: restore a specific directory
Date: Thu, 14 Aug 2008 13:01:31 -0500

> It doesn't look like you are doing anything wrong. Here are four
> suggestions:
>
> 1) Use a different option to specify which restore point you would like, eg,
> '-r 1B' to specify the newest increment (that is, not the current backup,
> but the one immediately before it). Perhaps /var/mysql/rcm/ does not look as
> you think it did exactly 72 hours before you entered the command.
>
> 2) Try not creating the db1 restore target. Rdiff-backup can create that
> directory for you. (Although my testing shows that it will work either way.)
>
> 3) Try restoring the /var/mysql directory to /tempp/mysql and then getting
> the /tempp/mysql/rcm directory out of that.
>
> 4) Run rdiff-backup with -v5 to see more information about the restore
> process.

Ok, here's a snippet of my terminal of what I tried (still not working
as far as I can tell):

$ ls -1 /var/mysql/
amavis
atmail
[.............]
mysql.sock
rcm
test
vicestats
$ ls -1 /Volumes/Backup320/var/mysql/
amavis
atmail
[.............]
mysql.sock
rcm
test
vicestats
$ ls -1a /tempp/
.
..
$ sudo rdiff-backup -v5 -r 1B /Volumes/Backup320/var/mysql/ /tempp/mysql
Password:
Using rdiff-backup version 1.2.0
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /Volumes/Backup320/rdiff-backup-data
Unable to import win32security module. Windows ACLs
not supported by filesystem at /Volumes/Backup320/rdiff-backup-data
escape_dos_devices not required by filesystem at
/Volumes/Backup320/rdiff-backup-data
-----------------------------------------------------------------
Detected abilities for rdiff-backup repository (read only) file system:
  Access control lists                         Off
  Extended attributes                          On
  Windows access control lists                 Off
  Case sensitivity                             Off
  Escape DOS devices                           Off
  Mac OS X style resource forks                On
  Mac OS X Finder information                  On
-----------------------------------------------------------------
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /tempp/mysql/rdiff-backup.tmp.0
Unable to import win32security module. Windows ACLs
not supported by filesystem at /tempp/mysql/rdiff-backup.tmp.0
escape_dos_devices not required by filesystem at /tempp/mysql/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for restore target (read/write) file system:
  Ownership changing                           On
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    On
  High-bit permissions                         On
  Symlink permissions                          On
  Extended filenames                           On
  Windows reserved filenames                   Off
  Access control lists                         Off
  Extended attributes                          On
  Windows access control lists                 Off
  Case sensitivity                             Off
  Escape DOS devices                           Off
  Mac OS X style resource forks                On
  Mac OS X Finder information                  On
-----------------------------------------------------------------
Restore: must_escape_dos_devices = 0
Starting restore of /Volumes/Backup320/var/mysql to /tempp/mysql as it
was as of Wed Aug 13 02:04:41 2008.
Processing changed file .
Restore finished
$ ls -1a /tempp/
.
..


Does it have to do with those ACL errors/warnings? Let me know if I
should try something else. Also, does -r 3D mean _exactly_ 3 days ago
from the second/minute/hour you run rdiff-backup? or does it mean the
closest backup that ran 3 days ago?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]