Lines Matching full:restore
55 /* Directory paths that we will not backup/restore */
110 // directory itself, since the restore file won't
446 fprintf(stderr, "bad token %d in restore file\n", *type);
452 fprintf(stderr, "bad path length %d in restore file\n", pathLen);
457 fprintf(stderr, "truncated path in restore file\n");
466 fprintf(stderr, "bad uid in restore file at '%s'\n", readPath);
471 fprintf(stderr, "bad gid in restore file at '%s'\n", readPath);
476 fprintf(stderr, "bad mode in restore file at '%s'\n", readPath);
481 fprintf(stderr, "bad atime in restore file at '%s'\n", readPath);
487 fprintf(stderr, "bad mtime in restore file at '%s'\n", readPath);
493 fprintf(stderr, "bad ctime in restore file at '%s'\n", readPath);
516 fprintf(stderr, "Restore file has bad version: 0x%x\n", inputFileVersion);
566 fprintf(stderr, "bad file size %ld in restore file\n", size);
638 " restore Perform a restore of /data.\n");
646 " during restore.\n\n"
649 "backup and restore of the /data partition. This is\n"
651 "complete restore of a device's state. Note that\n"
661 int restore = 0;
674 if (0 == strcmp(argv[1], "restore")) {
675 restore = 1;
701 if (restore) fprintf(stderr, "Warning: -a option ignored on restore\n");
734 if (restore) {
740 printf("Restore complete! Restarting system, cross your fingers...\n");