More backup improvements:
authorWayne Davison <wayned@samba.org>
Sat, 11 Apr 2009 18:31:31 +0000 (11:31 -0700)
committerWayne Davison <wayned@samba.org>
Sat, 11 Apr 2009 18:51:07 +0000 (11:51 -0700)
commit3696674bc62b0c1250027dbeedafdd7ebafdcf8b
treeead58ed7615e0ed0a8cdb32678ce3d5ec96b9e98
parent5e2d51ee0675dc39d89c9ec11297a33c12b9181d
More backup improvements:

- Changed get_backup_name() to verify the backup path, and make any
  missing directories.  This avoids accidental use of a symlink as a dir
  in a backup path, and gets rid of any other non-dirs that are in the
  way.  It also avoids the need for various operations to retry after
  calling make_bak_dir(), simplifying several pices of code.
- Changed create_directory_path() to make_path(), giving it flags that
  lets the caller decide if it should skip a leading slash or drop the
  trailing filename.
- Mention when we create the backup directory, so the user is not caught
  unaware when rsync uses a directory they didn't expect.
- Got rid of some dir-moving backup code that is not used.
- Added a little more backup-debug output.
backup.c
generator.c
main.c
options.c
receiver.c
rsync.h
t_stub.c
util.c