summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/backup.py
Commit message (Collapse)AuthorAgeFilesLines
* Handle EACCES as well as EPERMowsla2009-03-081-1/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1036 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Ignore Windows errors caused by too long filenamesowsla2009-01-061-6/+13
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1006 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Allow rdiff-backup to backup files which it cannot read, but can changeowsla2009-01-031-0/+8
| | | | | | | the permissions of. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@995 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Take start and end times from same system so that the elapsed time printed inowsla2009-01-031-4/+0
| | | | | | | the statistics is not affected by time zone. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@994 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* More error message improvementsowsla2008-12-201-1/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@976 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
* - Replace is_readable() function with pre-existing readable() functionowsla2007-12-241-4/+11
| | | | | | | | - 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
* SpecialFileError shouldn't trigger UpdateErrorbescoto2006-01-151-4/+12
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@747 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Reduce hardlink memory usagebescoto2005-12-241-13/+6
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@719 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for KeyError while incrementing in v1.1.3bescoto2005-12-141-3/+40
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@706 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* "Directory not empty" fixbescoto2005-11-241-4/+4
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@688 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Final (?) too-long-filename bug fixbescoto2005-11-231-64/+42
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@687 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for quoted filenames too longbescoto2005-11-051-20/+24
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@670 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added metadata diffing, and an iterfile hash bugfixbescoto2005-11-041-0/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@669 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Some refactoring of metadata codebescoto2005-11-031-17/+7
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@668 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added various compare options like --compare-full and --compare-hashbescoto2005-10-311-3/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@664 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Write SHA1 digests for all regular filesbescoto2005-10-271-17/+66
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@662 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for error reported by Davy Durham (but need additional fix sobescoto2005-08-171-3/+4
| | | | | | | can restore backups made by previous versions) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@616 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added Maximilian Mehnert's fix for too many open files bug.bescoto2005-03-261-1/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@564 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Don't copy attributes to hard links, and make --no-hard-linksbescoto2005-03-261-1/+2
| | | | | | | override. Thanks to David Vasilevsky. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@559 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix to backup_warn_if_infinite_regress codebescoto2004-05-151-0/+1
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@524 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix bug backing up acl system to no-acl systembescoto2003-10-131-7/+7
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@473 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* New hard link system should use less memorybescoto2003-10-121-5/+8
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@468 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Clear self.dir_perms_list (final (?) unreadable dir change)bescoto2003-09-131-0/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@432 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Yet another change dealing with unreadable directoriesbescoto2003-09-131-16/+37
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@431 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fix for unreadable directoriesbescoto2003-08-291-3/+17
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@410 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fixed various --restrict options, some refactoringbescoto2003-08-271-0/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@407 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added tests for and fixed problem with backing up unreadable regularbescoto2003-08-231-6/+17
| | | | | | | files as root on source and non-root on dest. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@399 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fixes for --calculate-average, python 2.3, and mac os xbescoto2003-08-031-5/+5
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@371 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Added ACL support, may have corrected a few EA bugsbescoto2003-07-181-12/+8
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@341 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Many changes - added extended attribute support and file systembescoto2003-06-301-11/+28
| | | | | | | ability detection git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@334 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Various changes for 0.12.0bescoto2003-06-261-5/+9
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@332 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fixed problem when reg file deleted in middle, reported by Ty Boyackbescoto2003-06-241-2/+3
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@328 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fixed quoted hardlinks, added --windows-restore, fixed a couple testsbescoto2003-06-211-2/+6
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@320 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Make no preserve hard links disable inode comparisonbescoto2003-04-061-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@314 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* --windows-mode now implies that permissions will not be changedbescoto2003-04-051-2/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@313 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Got rid of extra UpdateErrorbescoto2003-04-031-1/+4
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@311 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Final changes for 0.11.4bescoto2003-03-151-16/+35
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@301 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Final checkin for 0.11.3 (fixed pipeline flushing problem)bescoto2003-03-041-21/+46
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@292 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fixed --print-statistics and spurious server error messagebescoto2003-03-031-1/+2
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@290 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Final check in for version 0.11.2bescoto2003-03-021-26/+95
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@285 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* More changes in preparation for 0.11.2bescoto2003-02-251-26/+62
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@284 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Various modifications to backup, restore, and regress systems.bescoto2003-02-181-55/+155
| | | | | | | | This version passes many tests but not all of them. The backup patch system was copied to restore.py. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@281 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Fixed selection bug, renamed metadata files to ".snapshot"bescoto2003-02-121-5/+12
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@278 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* First pass at integrating regress codebescoto2003-02-111-3/+3
| | | | | | | | | | At this point most of the tests work, but there are still problems with the finaltest error tests on /proc, and with some selection options. The regress code is totally unchecked, and regresstest.py is unwritten. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@277 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Various changes for v0.11.1 (see CHANGELOG)bescoto2002-12-311-65/+169
| | | | git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@256 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
* Renamed highlevel.py to backup.pybescoto2002-12-251-0/+198
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@254 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109