summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup
Commit message (Collapse)AuthorAgeFilesLines
...
* Move test for native Windows to eliminate additional remote callowsla2008-08-203-11/+5
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@928 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Disable hardlinks by default when backup source or restore destination isowsla2008-08-203-1/+11
| | | | | | | on Windows. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@926 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Properly catch KeyboardInterrupt on Python 2.5owsla2008-08-161-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@923 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix typo -- whoops!owsla2008-08-141-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@922 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't crash if a CacheIndexable tries to clear a non-existent cache entry.owsla2008-07-301-2/+6
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@921 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fall back on the Python make_file_dict function when the filename containsowsla2008-07-221-3/+8
| | | | | | | non-ASCII characters. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@918 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Ignore Extended Attributes which have Unicode characters outside the currentowsla2008-07-221-1/+5
| | | | | | | system representation. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@917 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Move make_file_dict_python so that it is run on the remote end instead ofowsla2008-07-132-58/+61
| | | | | | | the local end. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@912 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Catch EPERM error when trying to write extended attributes.owsla2008-07-131-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@911 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Properly handle uid/gid comparison when the metadata about a destinationowsla2008-07-051-1/+4
| | | | | | | file has become corrupt. Closes Debian bug #410586. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@909 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Properly handle hardlink comparison when the metadata about a destinationowsla2008-07-041-1/+4
| | | | | | | hardlink has become corrupt. Closes Debian bug #486653. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@908 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix typo in fs_abilities and add EILSEQ to list of recoverable errors.owsla2008-07-042-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@907 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Catch another reasonable error when reading extended attributes.owsla2008-07-031-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@906 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Use the Python os.lstat() on Windows. (Patch from Josh Nisly)owsla2008-07-022-23/+14
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@905 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Support for Windows ACLs. (Patch from Josh Nisly and Fred Gansevles)owsla2008-07-026-10/+310
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@904 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix user_group.py to run on native Windows, which lacks grp and pwd Pythonowsla2008-06-271-5/+9
| | | | | | | modules. (Patch from Fred Gansevles) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@903 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Optimize --check-destination and other functions by determining the incrementowsla2008-06-262-19/+33
| | | | | | | files server-side instead of client-side. (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@902 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Actually make rdiff-backup robust to failure to read an ACL because theowsla2008-06-231-5/+7
| | | | | | | file cannot be found. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@901 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* We should preserve hardlinks even when the destination file system doesowsla2008-06-142-2/+2
| | | | | | | not support them. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@896 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix another case where rdiff-backup fails because it has insufficientowsla2008-06-141-6/+15
| | | | | | | permissions on a file it owns. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@894 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Whoops. There is no such thing as a 'ListError' in python -- was confusedowsla2008-06-121-5/+5
| | | | | | | by a traceback message. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@893 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Make rdiff-backup robust to failure to read the extended attributes or ACLowsla2008-06-111-7/+20
| | | | | | | because the file cannot be found. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@892 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't set modification times for directories on Windows. Also, assumeowsla2008-06-101-1/+9
| | | | | | | | that user has access to all files on Windows since there is no support for getuid(). (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@888 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Add Windows-specific logic for checking if another rdiff-backup processowsla2008-06-102-1/+21
| | | | | | | | is running. Do not try to handle non-existant SIGHUP and SIGQUIT signals on Windows. (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@887 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Do not use inode numbers on Windows and gracefully handle attempts toowsla2008-06-102-3/+20
| | | | | | | rename over existing files on Windows. (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@886 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Finally fix 'No such file or directory' bug when attempting to regress afterowsla2008-05-091-3/+4
| | | | | | | a failed backup. (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@885 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Improve Unicode support when logging in eas_acls.py (Fix from Saptarshi Guha)owsla2008-04-241-3/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@884 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Handle Windows' lack of getuid(), getgid(), hardlinks and symlinks inowsla2008-04-133-7/+19
| | | | | | | | fs_abilities.py. Use subproces.Popen() on Windows since it does not support os.popen2(). (Patch from Josh Nisly) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@883 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix typo.owsla2008-04-081-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@882 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Get cmodule.c building natively on Windows (Patch from Josh Nisly)owsla2008-04-081-2/+17
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@880 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Try chmod'ing again if we can't open a file -- let's rdiff-backup workowsla2008-01-281-1/+8
| | | | | | | better in some AFS and NFS installs. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@878 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Whoops. Previous fix was incorrect -- it assumed that all of the nestedowsla2008-01-261-7/+4
| | | | | | | directories would be updated during the backup. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@877 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* When unreadable dirs are updated, remove them from the list of dirs whoseowsla2008-01-261-0/+9
| | | | | | | permissions need to be reset later since we do it during the backup. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@876 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Improve the handling of directories with many small files by flushingowsla2008-01-201-9/+9
| | | | | | | | the pipeline more often. Fixes a bug where Globals.pipeline_max_length*4-1 files are in a directory causes KeyError. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@874 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* __str__ method for ACL's shouldn't fail on empty onesowsla2008-01-201-0/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@873 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Change high-bit permissions test to check files and directories. (Patch fromowsla2008-01-091-5/+10
| | | | | | | Marc Horowitz) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@872 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Spelling fixowsla2008-01-091-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@871 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Be quieter about the xattr warningsowsla2008-01-071-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@870 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Recover from EBADF during fsync(). Closes Savannah bug #15839owsla2008-01-061-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@868 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Properly initialize QuotedRPathsowsla2008-01-051-1/+8
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@867 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Add ability to requote a repositoryowsla2008-01-033-13/+113
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@863 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't print the warning about hard links if the user has specified theowsla2008-01-021-2/+3
| | | | | | | --no-hard-links option. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@861 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Print a more helpful error message when we get a "Result too large" errorowsla2007-12-251-1/+11
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@860 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix bug where rdiff-backup fails after all increments are removed. Closesowsla2007-12-251-3/+2
| | | | | | | Savannah bug #20291. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@859 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* We should FatalError at the point where the malformed UTF-8 character isowsla2007-12-251-5/+6
| | | | | | | | first encountered, instead of catching it and then letting it cause more trouble down the road. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@858 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* The retry without sticky bit message should indicate that it is a warning.owsla2007-12-251-3/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@857 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* - Replace is_readable() function with pre-existing readable() functionowsla2007-12-243-9/+12
| | | | | | | | - Close Savannah bug #21202 by not assuming that file cannot be opened even if read permissions don't indicate such. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@855 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* restore_set_root should check if it can read a directory before tryingowsla2007-12-232-1/+5
| | | | | | | to list the contents. Closes Savannah bug #21106 git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@854 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Regress.restore_orig_regfile should check Globals.fsync_directories Fixesowsla2007-12-231-1/+2
| | | | | | | bug #21546 git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@853 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Cosmetic touch-up since we now sometimes print non-ASCII charactersowsla2007-08-151-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@852 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109