[rdiff-backup-users] rdiff-backup fails check-destination-dir
Hi this is what I get: root@server:/mnt/backup# rdiff-backup --check-destination-dir vm/ Exception '' raised of class '': File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 282, in take_action elif action == "check-destination-dir": CheckDest(rps[0]) File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 872, in CheckDest dest_rp.conn.regress.Regress(dest_rp) File "/usr/lib/pymodules/python2.6/rdiff_backup/regress.py", line 65, in Regress assert mirror_rp.isdir() and inc_rpath.isdir() Traceback (most recent call last): File "/usr/bin/rdiff-backup", line 30, in rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 282, in take_action elif action == "check-destination-dir": CheckDest(rps[0]) File "/usr/lib/pymodules/python2.6/rdiff_backup/Main.py", line 872, in CheckDest dest_rp.conn.regress.Regress(dest_rp) File "/usr/lib/pymodules/python2.6/rdiff_backup/regress.py", line 65, in Regress assert mirror_rp.isdir() and inc_rpath.isdir() AssertionError Debian 6.0. Python 2.6. Linux server 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux Any idea? ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] Capitalized letters from windows to linux
2011/10/5 chuck odonnell : >> This is the error I read in the backup.log: >> OSError while renaming /media/bkp_esterno1/test2/rdiff-backup.tmp.1 to >> /media/bkp_esterno1/test2/.txt >> UpdateError rdiff-backup.tmp.1 [Errno 84] Invalid or incomplete >> multibyte or wide character > You are trying to back up from one platform and restore to another? No. This message is about backup, not about restore. You get it if you rdiff-backup from windows and the destination is linux on a ntfs partition. If I do the same, but on a "normal" ext3 partition like destination, I get no error but the '?' on the file names. >From windows (the same one I start the backup from), I tried to restore a copy of file with the '?' charachters in the name. I get not files. In the previuos mail I attached the log. May you tell me if is there? I write it here but is less clear than reading from file: Starting restore of /mnt/dati/backup/test/=.txt to C:/Windows/Temp/restore/myfile.txt as it was as of Wed Oct 05 10:29:55 2011. Starting restore of /mnt/dati/backup/test/noncisono.txt to C:/Windows/Temp/restore/myfile.txt as it was as of Wed Oct 05 10:33:07 2011. Starting restore of /mnt/dati/backup/test/?.txt to C:/Windows/Temp/restore/myfile.txt as it was as of Wed Oct 05 10:33:39 2011. Wed Oct 5 14:08:10 2011 Starting restore of /mnt/dati/backup/test/=.txt to C:/Windows/Temp/restore/myfile.txt as it was as of Wed Oct 05 14:02:53 2011. Wed Oct 5 14:08:11 2011 Processing changed file . Wed Oct 5 14:08:11 2011 Regular copying () to C:/Windows/Temp/restore/rdiff-backup.tmp.1 Wed Oct 5 14:08:11 2011 Removing directory C:/Windows/Temp/restore/myfile.txt Wed Oct 5 14:08:11 2011 Restore finished Wed Oct 5 14:08:11 2011 Cleaning up Starting restore of /mnt/dati/backup/test/=.txt to C:/restore/myfile.txt as it was as of Wed Oct 05 14:08:46 2011. Processing changed file . Restore finished Starting restore of /mnt/dati/backup/test/=.txt to C:/restore/myfile.txt as it was as of Wed Oct 05 14:12:58 2011. Restore finished ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] Capitalized letters from windows to linux
This is the restore.log I get, with verbosity 4: restore.log Description: Binary data ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] Capitalized letters from windows to linux
2011/10/4 chuck odonnell : > When you restore the file back to it's origin > it will look correct. It seems to not be workong: From windows: rdiff-backup.exe --restore-as-of now --remote-schema "plink -i private.ppk %%s rdiff-backup --server" root@192.168.1.200::/mnt/dati/backup/test/àèìòù.txt "C:/Windows/Temp/restore/miofile.txt" I get nothing. Only a warning message about hard links. No file in the restore folder. I tried also with the filename ':/mnt/dati/backup/test/?.txt', off course no success. ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] Capitalized letters from windows to linux
2011/10/5 Valerio Pachera : > I didn't test to run rdiff-backup from windows to the linux server > directly to the ntfs partition. Ok, I tested it, and it fail like aspected: >From windows, bkp_test.bat: rdiff-backup.exe --print-statistics --override-chars-to-quote '' --remote-schema "plink -i private.ppk %%s rdiff-backup --server" "F:/test" root@192.168.1.200::/media/bkp_esterno1/test2 This is the error I read in the backup.log: OSError while renaming /media/bkp_esterno1/test2/rdiff-backup.tmp.1 to /media/bkp_esterno1/test2/.txt UpdateError rdiff-backup.tmp.1 [Errno 84] Invalid or incomplete multibyte or wide character ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] Capitalized letters from windows to linux
2011/10/4 chuck odonnell : > When you restore the file back to it's origin > it will look correct. My main problem is that I have to create a mirror of the backup to a ntfs external disk. If I copy to an ext3 partition, no problem. # cp -r test/ /tmp/ If I copy to the ntfs partition I get "Impossible to create the file..." # cp -r test/ /media/bkp_esterno1/ cp: impossibile creare il file regolare "/media/bkp_esterno1/test/\340\350\354\362\371.txt": Invalid or incomplete multibyte or wide character These are the fstab options I use 'ntfs-3g rw,locale=it_IT.utf8 '. mount with no arguments gives /dev/sdc1 on /media/bkp_esterno1 type fuseblk (rw,allow_other,blksize=4096) I didn't test to run rdiff-backup from windows to the linux server directly to the ntfs partition. It might fail. When I find a little time, I test that too. ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
[rdiff-backup-users] Capitalized letters from windows to linux
Hi all, I know this problem is not new but I couldn't find the solution anywere. Try simply to copy a file with capitalized letters in the file name form windows to a linux rdiff-backup server. I created the file àèìòù.txt in a test folder (windows), then I copied it by: rdiff-backup.exe --print-statistics --override-chars-to-quote '' --remote-schema "plink -i private.ppk %%s rdiff-backup --server" "F:/test" root@192.168.1.200::/mnt/dati/backup/f/test I get no error from rdiff-backup but when I look at the backed up file I see a question mark for each capitalized letter: # ls -l test/ totale 4 drwx-- 3 root root 4096 4 ott 17.52 rdiff-backup-data -rw-rw-rw- 1 root root0 4 ott 17.46 ?.txt I'm using rdiff-backup 1.2.8 on both sides. The linux server is running debian squeeze x86_64. The windows server is running windows server 2008 64 bit. I got the same problem in the past between debian lenny and windows 2003. ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] Crash on incremental backup after regression
2010/11/26 Dominic Raferd : > It looks to me as if the problem maybe relates to the special characters in > the filenames '\xf3' and similar. And I see at the bottom mention of a > win_acl. My suggestions are: > > - try using option --override-chars-to-quote I didn't try this option but I got trouble with characters like "à è ì ò ù". I was backing up from windows. ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] Daemon VS ssh
2010/11/25 Jacob Anawalt : > Look into the remote-schema option, search around for rdiff-backup and > netcat, and there are ssh cipher options. I found an article http://osdir.com/ml/sysutils.backup.rdiff-backup.general/2006-02/msg00088.html I read about --remote.schema but, honestly, I didn't digested it so well. Could you please tell me if in the point 2 of the article, ssh is involved or not? Most of all, I'm wondering if there's an easy way to have a central backup server that contact windows and linux clients to back up their data. ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
[rdiff-backup-users] Daemon VS ssh
Is it possible to use rdiff-backup like rsync-daemon? I mean, instead of using an ssh tunnel, could it be possible to connect to a rdiff-backup deamon that do no use encryption like rsynd does? it would be easy to configure on windows host. So we could have a central backup server that connects to clients that are running the deamon. Also encryption is not always required. In these casees it's just a waste of resoruces. What do you think about it? ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
[rdiff-backup-users] two different times for current mirror found
I have 3 backup folders for 3 backups made from a windows computer to a debian lenny. Both sides there is v 1.2.8. rdiff-backup --verify folder1 Warning, two different times for current mirror found Warning: Extended Attributes file not found Every file verified successfully. What does that mean? What can cause this? ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] New GUI for rdiff-backup: JBackpack
2010/10/14 Ronny Standtke : > Hi all > > I just wanted to let you know that we (imedias, section of the University of > Applied Science Northwestern Switzerland) have implemented a new GUI for > rdiff-backup: > http://www.nongnu.org/jbackpack/ > > We hope you like it and appreciate any feedback. Mmmm...what can I say IT'S COOL!! Realy a grat job!! My best compliment. I made a single test yet, backing up my home di to a local directory and it went straightforward. I'm going to do some more tests in the next period. I wonder only about smb. Does rdiff-backup work fine with it? http://rdiff-backup.nongnu.org/FAQ.html#cifs ...By using smbfs or CIFS, the complete file is transferred over the network. ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
[rdiff-backup-users] Problems removing some increments
Hi all, I was trying to remove some increments but i got the error reporte in the end of the mail. After I got this error, it's not possible to remove any other increment. This is the increment list I get now by rdiff-backup: --- rdiff-backup --list-increments /mnt/storage/backup/vm/ Found 1 increments: increments.2010-09-18T00:32:48+02:00.dir Sat Sep 18 00:32:48 2010 Current mirror: Mon Sep 20 00:32:06 2010 --- So, only one... And these are the increments I see in the backup directory --- ls -l /mnt/storage/backup/vm/rdiff-backup-data/increments/ totale 24 drwx-- 2 root root 4096 20 set 08:04 bin -rwxr-xr-x 1 root root 0 2 lug 11:03 bin.2010-09-01T00:35:11+02:00.dir -rwxr-xr-x 1 root root 0 7 set 14:05 bin.2010-09-07T18:27:46+02:00.dir drwx-- 2 root root 12288 20 set 08:04 disks -rwxr-xr-x 1 root root 0 14 mag 11:10 disks.2010-08-27T00:31:33+02:00.dir -rwxr-xr-x 1 root root 0 14 mag 11:10 disks.2010-08-28T00:32:02+02:00.dir -rwxr-xr-x 1 root root 0 14 mag 11:10 disks.2010-08-30T00:35:11+02:00.dir -rwxr-xr-x 1 root root 0 14 mag 11:10 disks.2010-08-31T00:35:12+02:00.dir -rwxr-xr-x 1 root root 0 14 mag 11:10 disks.2010-09-01T00:35:11+02:00.dir -rwxr-xr-x 1 root root 0 8 set 14:08 disks.2010-09-18T00:32:48+02:00.dir drwx-- 2 root root 4096 18 set 04:11 enabled -rwxr-xr-x 1 root root 0 2 lug 11:36 enabled.2010-09-07T18:27:46+02:00.dir drwx-- 2 root root 4096 7 set 21:13 iso -rwxr-xr-x 1 root root 0 14 mag 12:31 iso.2010-09-01T00:35:11+02:00.dir --- ERROR I GOT --- rdiff-backup --force --remove-older-than 1W /mnt/storage/backup/vm/ Deleting increments at times: Thu Aug 12 00:35:10 2010 Fri Aug 13 00:35:11 2010 Sat Aug 14 00:35:10 2010 Tue Aug 17 00:32:05 2010 Wed Aug 18 00:32:08 2010 Thu Aug 19 00:31:44 2010 Fri Aug 20 00:32:05 2010 Sat Aug 21 00:32:00 2010 Mon Aug 23 00:35:11 2010 Tue Aug 24 00:35:10 2010 Wed Aug 25 00:31:54 2010 Thu Aug 26 00:32:08 2010 Fri Aug 27 00:31:33 2010 Sat Aug 28 00:32:02 2010 Mon Aug 30 00:35:11 2010 Tue Aug 31 00:35:12 2010 Wed Sep 1 00:35:11 2010 Tue Sep 7 18:27:46 2010 [2] 8819 vmserver:~# Deleting increment at time: Thu Aug 26 00:32:08 2010 Exception '[Errno 2] No such file or directory: '/mnt/storage/backup/vm/rdiff-backup-data/increments/disks/zimbra_opt.qcow2.2010-08-21T00:32:00+02:00.diff.gz'' raised of class '': File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 288, in take_action elif action == "remove-older-than": RemoveOlderThan(rps[0]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 751, in RemoveOlderThan manage.delete_earlier_than(Globals.rbdir, time) File "/var/lib/python-support/python2.5/rdiff_backup/manage.py", line 91, in delete_earlier_than baserp.conn.manage.delete_earlier_than_local(baserp, time) File "/var/lib/python-support/python2.5/rdiff_backup/manage.py", line 107, in delete_earlier_than_local rp.delete() File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 1072, in delete try: self.conn.os.unlink(self.path) Traceback (most recent call last): File "/usr/bin/rdiff-backup", line 30, in rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 288, in take_action elif action == "remove-older-than": RemoveOlderThan(rps[0]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 751, in RemoveOlderThan manage.delete_earlier_than(Globals.rbdir, time) File "/var/lib/python-support/python2.5/rdiff_backup/manage.py", line 91, in delete_earlier_than baserp.conn.manage.delete_earlier_than_local(baserp, time) File "/var/lib/python-support/python2.5/rdiff_backup/manage.py", line 107, in delete_earlier_than_local rp.delete() File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 1072, in delete try: self.conn.os.unlink(self.path) OSError: [Errno 2] No such file or directory: '/mnt/storage/backup/vm/rdiff-backup-data/increments/disks/zimbra_opt.qcow2.2010-08-21T00:32:00+02:00.diff.gz' --- I'm using rdiff-backup 1.2.5 on debian lenny. Backup is done from 2 local disks (xfs ->ext3). I can tell you that a big file (35G) has been removed from the source dir time ago, and now the source directory is 33G and the destination dir is 84 What canI do? Do you know why that has happend? Thank you. ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-