backup
小猪老师 发表于 2020-06-22 10:34浏览次数:
backup命令使MS-DOS用户能够备份其计算机上的数据。
The backup command enables MS-DOS users to back up the data on their computer.
backup命令使MS-DOS用户能够备份其计算机上的数据。
The backup command enables MS-DOS users to back up the data on their computer.
目录:
1 backup 运行系统环境
2 backup 语法
3 backup 示例
backup 运行系统环境
backup 语法
BACKUP [Source:PathFile name] [Target:] [/s] [/m] [/a] [/d:date] [/t:time] [/f:size] [/L:LogDrive:PathLog]
Source:PathFile name
|
您要备份的文件的位置的源,路径和文件名。
|
Target:
|
备份文件的目标驱动器。
|
/s
|
对指定源位置中的所有文件,目录和子目录进行备份。
|
/m
|
备份自上次备份以来已更改的所有文件。
|
/a
|
将新的备份文件添加到现有备份中,而不是覆盖它们。
|
/d:date
|
自指定日期以来创建或修改的备份文件。
|
/t:time
|
在此时间之后创建或修改的备份文件。
|
/f:size
|
创建特定大小的备份文件,以便可以将其保存到外部存储设备(例如软盘驱动器)中。
|
/L:LogDrive:PathLog
|
创建备份的日志,并指定要保存日志的位置。
|
BACKUP [Source:PathFile name] [Target:] [/s] [/m] [/a] [/d:date] [/t:time] [/f:size] [/L:LogDrive:PathLog]
Source:PathFile name
|
The source, path, and file name of the location of the file that you want to backup.
|
Target:
|
The target drive for the backup file.
|
/s
|
Makes a backup of all files, directories, and subdirectories in the specified source location.
|
/m
|
Backup all files that have changed since the last backup.
|
/a
|
Adds a new backup file to existing backups instead of overwriting them.
|
/d:date
|
Backup files that were created or modified since the date specified.
|
/t:time
|
Backup files that were created or modified after this time.
|
/f:size
|
Create backup files in a specific size so they can be saved to an external storage such as a floppy disk drive.
|
/L:LogDrive:PathLog
|
Creates a log of the backup and specify the location of where the log is to be saved.
|
MS-DOS 6.0、6.2、6.21和6.22用户使用msbackup命令。 但是,此文件仍可用于这些用户在MS-DOS 6.0和6.22补充磁盘上。
MS-DOS 6.0, 6.2, 6.21, and 6.22 users utilize the msbackup command. However, this file is still available to these users on the MS-DOS 6.0 and 6.22 supplemental disk.
backup 示例
backup c:work*.* d: /s
上面的示例将在工作目录中创建所有文件和子目录的备份,并将备份保存到d:驱动器。
backup c:work*.* d: /s
The example above would create a backup of all the files and subdirectories in the working directory and save the backup to the d: drive.