|
From: | Madan Kumar |
Subject: | [rdiff-backup-users] problem with rdiff-backup |
Date: | Wed, 25 Jun 2008 16:10:53 +0530 |
Hi all,
I am new to rdiff-backup. No doubt that it provides
great functionality but I am facing problem with it, please do me some
needfull.
I am using rdiff-backup on windows Vista and
on XP.
I have downloaded the setup.exe for windows by
following the link http://solutionsfirst.com.au/~dave/backup/ there
are three exe files (rdiff-backup0.13.4w3.exe, rdiff-backup1.0.1w4.exe,
rdiff-backup0.13.3w1.exe). I have installed rdiff-backup by running
"rdiff-backup0.13.4w3.exe". It installed in "C:\rdiff-backup"
folder.
My main purpose to use rdiff-backup is to take
the backup of any directory(say SourceDir) to any other dir(say
DestDir), and then if some changes are made to the file(s) in SourceDir
then it will take only the incremental (ie only the DIFFS between both
directories) to new directory. Like I have one .txt file (SS.txt) of 2 KB in
size and I am taking the backup of it using rdiff-backup to DD.txt. Now I am
adding 1KB data to SS.txt. This time if i take the backup then I need
only this 1 KB data to new file.
Please guide me how is it possible using
rdiff-backup?
ERRORS that are occuring::
When I am executing following command in
command prompt (I am using win Vista):
(ss-> source directory, dd-> destination
directory)
C:\rdiff-backup>rdiff-backup -b ss
dd
Following error occurs:
C:\rdiff-backup>set RDIFF-PATH=c:\rdiff-backup C:\rdiff-backup>set PYTHONHOME=c:\rdiff-backup
C:\rdiff-backup>set PYTHONPATH=c:\rdiff-backup
C:\rdiff-backup>set
PATH=c:\rdiff-backup\bin;c:\rdiff-backup\bin;c:\rdiff-backup
\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Mi crosoft SQL Server\90\Tools\binn\ C:\rdiff-backup>cd c:\rdiff-backup
C:\rdiff-backup>mount -m 1>oldmounts.bat
C:\rdiff-backup>umount -A
C:\rdiff-backup>mount -f -s -b c:\rdiff-backup /
C:\rdiff-backup>python2.3.exe -S c:\rdiff-backup\rdiff-backup
--remote-schema 'p
link -C -i sloth.PPK %s rdiff-backup --server' -b ss dd Remote schema option ignored - no remote file descriptions. ----------------------------------------------------------------- Detected abilities for source (read only) file system: Access control lists Off Extended attributes Off Mac OS X style resource forks Off Mac OS X Finder information Off ----------------------------------------------------------------- Warning: hard linking not supported by filesystem at dd/rdiff-backup-data Traceback (most recent call last): File "c:\rdiff-backup\rdiff-backup", line 24, in ? rdiff_backup.Main.Main(sys.argv[1:]) File "/rdiff_backup/Main.py", line 259, in Main take_action(rps) File "/rdiff_backup/Main.py", line 229, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/rdiff_backup/Main.py", line 270, in Backup backup_set_fs_globals(rpin, rpout) File "/rdiff_backup/Main.py", line 388, in backup_set_fs_globals dest_fsa = rpout.conn.fs_abilities.get_fsabilities_readwrite( File "/rdiff_backup/fs_abilities.py", line 402, in get_fsabilities_readwrite return FSAbilities(desc_string).init_readwrite( File "/rdiff_backup/fs_abilities.py", line 155, in init_readwrite subdir.delete() File "/rdiff_backup/rpath.py", line 851, in delete except os.error: self.conn.shutil.rmtree(self.path) File "/shutil.py", line 140, in rmtree raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg) OSError: [Errno 13] Permission denied removing dd/rdiff-backup-data/rdiff-backup .tmp.4 C:\rdiff-backup>umount -A
C:\rdiff-backup>call oldmounts.bat
C:\rdiff-backup>
__________________
Each time when I execute rdiff-backup command it
creates one folder like "rdiff-backup.tmp.0" in destination directory
dd (C:\rdiff-backup\dd\rdiff-backup-data\rdiff-backup.tmp.0).
Please suggest me what should I do to achieve
my purpose.
Thanks
Regards
M Chauhan
|
[Prev in Thread] | Current Thread | [Next in Thread] |