Lines Matching refs:restore
53 /* Directory paths that we will not backup/restore */
108 // directory itself, since the restore file won't
432 fprintf(stderr, "bad token %d in restore file\n", *type);
438 fprintf(stderr, "bad path length %d in restore file\n", pathLen);
443 fprintf(stderr, "truncated path in restore file\n");
452 fprintf(stderr, "bad uid in restore file at '%s'\n", readPath);
457 fprintf(stderr, "bad gid in restore file at '%s'\n", readPath);
462 fprintf(stderr, "bad mode in restore file at '%s'\n", readPath);
467 fprintf(stderr, "bad atime in restore file at '%s'\n", readPath);
473 fprintf(stderr, "bad mtime in restore file at '%s'\n", readPath);
479 fprintf(stderr, "bad ctime in restore file at '%s'\n", readPath);
502 fprintf(stderr, "Restore file has bad version: 0x%x\n", inputFileVersion);
549 fprintf(stderr, "bad file size %ld in restore file\n", size);
621 " restore Perform a restore of /data.\n");
626 "backup and restore of the /data partition. This is\n"
628 "complete restore of a device's state. Note that\n"
638 int restore = 0;
651 if (0 == strcmp(argv[1], "restore")) {
652 restore = 1;
678 if (restore) fprintf(stderr, "Warning: -a option ignored on restore\n");
711 if (restore) {
717 printf("Restore complete! Restarting system, cross your fingers...\n");