summaryrefslogtreecommitdiff
path: root/backup.c
AgeCommit message (Expand)AuthorFilesLines
2006-01-30Call robust_rename() with its newly-added arg.Wayne Davison1-2/+3
2006-01-29Call the new name of set_perms(): set_file_attrs().Wayne Davison1-1/+1
2006-01-26Handle separated devices and special files.Wayne Davison1-1/+3
2006-01-20Call make_file() with one more arg (the base flags).Wayne Davison1-1/+1
2006-01-19Added a new arg to the make_file() call.Wayne Davison1-1/+1
2006-01-13Got rid of calls to (the soon to vanish) safe_fname() function.Wayne Davison1-8/+7
2005-11-10Indent the "failure:" label away from column 0.Wayne Davison1-1/+1
2005-06-10Fixed a problem in the backing up of symlinks and devices: weWayne Davison1-20/+21
2005-02-22In make_simple_backup(), if the rename() failed because we triedWayne Davison1-9/+23
2005-02-14John E. Malmberg convinced me to standardize on #ifs for definedWayne Davison1-1/+1
2005-02-07Adding more calls to safe_fname().Wayne Davison1-8/+12
2005-01-25Renamed several exclude-related functions/variables using newWayne Davison1-1/+1
2005-01-19No need for conditional code around do_lstat() anymore.Wayne Davison1-6/+1
2004-10-01The device-handling code is no longer omitted based on HAVE_MKNODWayne Davison1-2/+0
2004-09-20Output the same backup-message prefix when verbose > 1 regardless ofWayne Davison1-1/+1
2004-09-20Got rid of a superfluous static buffer.Wayne Davison1-5/+3
2004-09-07Moved the code that determines the backup filename into a new functionWayne Davison1-33/+43
2004-09-07When we say we're skipping a non-regular file, actually skip it.Wayne Davison1-0/+1
2004-07-26Made a comment better.Wayne Davison1-1/+1
2004-07-22If we sucessfully renamed a file that has multiple links to it, unlink()Wayne Davison1-1/+6
2004-06-10The mkdir code should be using do_stat(), not do_lstat() to copyWayne Davison1-3/+5
2004-05-15Changed rprintf() calls that included strerror() to use rsyserr().Wayne Davison1-18/+18
2004-05-13Don't force the modtime on our backup dirs -- the dirs in theWayne Davison1-1/+0
2004-05-04Calls to make_bak_dir() should only happen when we fail to create aWayne Davison1-8/+14
2004-03-13Check robust_rename()'s return value using < 0.Wayne Davison1-2/+2
2004-02-23A couple fixes from Shinichi Maruyama.Wayne Davison1-3/+3
2004-02-17Moved the EXDEV handling into robust_rename().Wayne Davison1-36/+4
2004-02-11- Revised and optimized the directory-making code.Wayne Davison1-98/+83
2004-02-11Got rid of hard-link message (since I don't think it was everWayne Davison1-3/+0
2004-02-10Simplified test for hardlink in make_backup debug message toJ.W. Schultz1-5/+2
2004-02-10Make idev, hlink and file_struct + strings use allocationJ.W. Schultz1-2/+3
2004-02-02Changed args to make_file() and free_file().Wayne Davison1-3/+2
2004-01-25Changed F_HEAD to F_HLINDEX.Wayne Davison1-1/+2
2004-01-20Use new stringjoin() and pathjoin() functions.Wayne Davison1-19/+16
2004-01-12Changed the hard-link check.Wayne Davison1-1/+2
2004-01-11Use the new union-ified flist_struct values.Wayne Davison1-5/+5
2004-01-05A few formatting tweaks.Wayne Davison1-61/+61
2003-09-11Improved file-related error messages by using the newWayne Davison1-12/+15
2003-08-22Make extra backup dirs mode 0700, not 0755.Wayne Davison1-1/+1
2003-08-01Use the new backup_suffix_len and backup_dir_len variables. Got ridWayne Davison1-15/+8
2003-07-31Whitespace and indentation fixes.J.W. Schultz1-103/+112
2003-07-01Call make_file() using the revised arg syntax and new defines.Wayne Davison1-2/+1
2002-05-09Submit enhancement from Michael Zimmerman to allow --suffix to be usedDavid Dykstra1-2/+8
2001-05-07imported new snprintf.c from samba, got rid of slprintfAndrew Tridgell1-4/+4
2000-10-26Print strerror when a system error occurs; add a new function rsyserrMartin Pool1-1/+1
2000-08-19added an explicit noexcludes flag to make_file()Andrew Tridgell1-1/+4
2000-08-19fixed backup_dir bug introduced with recent memory handling patchesAndrew Tridgell1-1/+1
2000-07-29optimisations from Rich Salz <rsalz@caveosystems.com>Andrew Tridgell1-1/+1
2000-01-30patch from Jim Delahanty <mail_us@swbell.net> to ensure files areAndrew Tridgell1-3/+7
2000-01-27patch from James Delahanty <jimd@gie.com> to make --backup-dir workAndrew Tridgell1-18/+123