Lines Matching defs:backup
1023 nsCAutoString backup;
1033 backup.Append(destPath);
1034 backup.Append(".moztmp");
1036 // remove any existing backup file that we may already have.
1039 remove(backup.get());
1041 // move destination file to backup file
1042 copyOK = MoveFile(destPath.get(), backup.get());
1045 // I guess we can't do the backup copy, so return.
1054 if (!backup.IsEmpty())
1058 // remove the backup copy.
1059 remove(backup.get());
1063 // restore backup
1064 int backupOk = MoveFile(backup.get(), destPath.get());
1065 NS_ASSERTION(backupOk, "move backup failed");