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

Lines Matching defs:to

53 	 * call has to be done before any operation is performed on the stream.
57 * don't want to care about. There isn't enough output for the calls
58 * to matter.
141 * -d is relative to the current directory, to run a checkpoint
142 * we must have directories relative to the environment.
161 * The home directory defaults to the environment variable DB_HOME.
162 * The log directory defaults to the home directory.
172 "%s failed to get environment variable DB_HOME: %s\n",
177 * home set to NULL if __os_getenv failed to find DB_HOME.
238 * it's simpler and more portable to just always try the create. If
247 * Potentially there are two directories to clean, the log directory
293 * The log directory defaults to the home directory.
301 * into the backup directory should be less than, or equal to, the
423 * Opening the database environment we're trying to back up.
424 * We try to attach to a pre-existing environment; if that
538 * Read a directory looking for databases to copy.
555 /* Build a path name to the destination. */
573 /* Build a path name to the source. */
619 * * Read a directory looking for log files to copy. If home
633 char from[DB_MAXPATHLEN], to[DB_MAXPATHLEN];
645 if ((size_t)(cnt = snprintf(to, sizeof(to),
647 log_dir, PATH_SEPARATOR[0])) >= sizeof(to)) {
652 backupd = strdup(to);
674 /* Get a list of file names to be copied. */
696 * If we're going to remove the file, attempt to rename the
699 * Fall back to a copy, regardless of the error. We don't
704 if ((size_t)snprintf(to, sizeof(to), "%s%c%s",
705 backupd, PATH_SEPARATOR[0], *names) >= sizeof(to)) {
710 if (__os_rename(env, from, to, 1) == 0) {
712 printf("%s: moving %s to %s\n",
713 progname, from, to);
772 printf("%s: copying %s%c%s to %s%c%s\n", progname, from_dir,
776 * We MUST copy multiples of the page size, atomically, to ensure a
782 * to increase this value if the maximum page size is ever more than a