How to use the ntbackup command line
This article mainly introduces how to use the ntbackup command line, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
1. Back up local files
Ntbackup backup d:\ bat / J "bat" / F "e:\ bat.bkf"
This is to backup the bat directory of the local d disk to the e disk and generate a file bat.bkf
2. Backup system status
For domain servers, we can use the
Ntbackup backup systemstate / J "backup systemstate" / F "d:\ beifen\ systemstate.bkf"
This is to backup the status information of the domain to the beifen directory of the d disk to generate a file systemstate.bkf
3. Back up local files to the tape drive
Ntbackup backup d:\ / j "My Job 2" / a / t "Command Line Backup 1" / m copy this is to back up a copy of disk D and name the backup "My Job 2". The backed up files and folders are added to the tape named "Command Line Backup 1".
4. Look at the following three examples:
Ntbackup backup\\ iggy-multi\ d$ / j "Command Line Backup 4" / f "D:\ backup.bkf"
Ntbackup backup\\ iggy-multi\ d$ / j "Command Line Backup 5" / f "D:\ backup.bkf" / a
Ntbackup backup\\ iggy-multi\ d$ / j "Command Line Backup 6" / f "D:\ backup.bkf"
The first example shows how to back up the remote\\ iggy-multi\ d$ to the file D:\ Backup.bkf.
The second example shows how to attach the same backup to the same file.
The third example shows how to overwrite the file with the same backup.
Thank you for reading this article carefully. I hope the article "how to use the ntbackup Command Line" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!