• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/build_vxworks/db_hotbackup/

Lines Matching defs:to

67 	 * call has to be done before any operation is performed on the stream.
71 * don't want to care about. There isn't enough output for the calls
72 * to matter.
156 * -d is relative to the current directory, to run a checkpoint
157 * we must have directories relative to the environment.
176 * The home directory defaults to the environment variable DB_HOME.
177 * The log directory defaults to the home directory.
187 "%s failed to get environment variable DB_HOME: %s\n",
192 * home set to NULL if __os_getenv failed to find DB_HOME.
253 * it's simpler and more portable to just always try the create. If
262 * Potentially there are two directories to clean, the log directory
308 * The log directory defaults to the home directory.
316 * into the backup directory should be less than, or equal to, the
438 * Opening the database environment we're trying to back up.
439 * We try to attach to a pre-existing environment; if that
553 * Read a directory looking for databases to copy.
570 /* Build a path name to the destination. */
588 /* Build a path name to the source. */
634 * * Read a directory looking for log files to copy. If home
648 char from[DB_MAXPATHLEN], to[DB_MAXPATHLEN];
660 if ((size_t)(cnt = snprintf(to, sizeof(to),
662 log_dir, PATH_SEPARATOR[0])) >= sizeof(to)) {
667 backupd = strdup(to);
689 /* Get a list of file names to be copied. */
711 * If we're going to remove the file, attempt to rename the
714 * Fall back to a copy, regardless of the error. We don't
719 if ((size_t)snprintf(to, sizeof(to), "%s%c%s",
720 backupd, PATH_SEPARATOR[0], *names) >= sizeof(to)) {
725 if (__os_rename(env, from, to, 1) == 0) {
727 printf("%s: moving %s to %s\n",
728 progname, from, to);
787 printf("%s: copying %s%c%s to %s%c%s\n", progname, from_dir,
791 * We MUST copy multiples of the page size, atomically, to ensure a
797 * to increase this value if the maximum page size is ever more than a