In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to use the Linux command restore, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Linux common command restore command is used to restore the file or the whole file system (a partition) backed up by the dump operation. The operation carried out by the restore instruction is contrary to the dump instruction, the dump operation can be used to back up the files, and the restore operation is to write back these backed up files.
Syntax restore [- cCvy] [- b] [- D] [- f] [- s] or restore [- chimvy] [- b] [- f] [- s] or restore [- crvy] [- b] [- f] [- s] or restore [- cRvy] [- b] [- D] [- f] [- s] or restore [chtvy] [- b] [- D] [- f] [- s]. Or restore [- chmvxy] [- b] [- D] [- f] [- s] [file.] Parameters:
-b sets the chunk size in Byte.
-c does not check the backup format of the dump operation, and only allows you to read backup files that use the old format.
-C uses comparison mode to compare backed-up files with current files.
-D allows the user to specify the name of the file system.
-f reads backup data from the specified file for restore operation.
-h unlocks only the directory and does not include all files related to that directory.
-I use interactive mode, and during the restore operation, the restore instruction will ask the user in order.
-m unlock files or directories that match the specified inode number instead of using the file name.
-r performs the restore operation.
-R when fully restoring the file system, where should the check begin.
When the backup data exceeds one tape, you can specify the number of the backup file.
-t specifies the names of the files and lists their names if they already exist in the backup file.
-v shows the instruction execution process.
-x sets the file name and reads them from the specified storage media, and restores the file to the file system if it already exists in the backup file.
-y do not ask any questions, agree to answer and continue to execute the instructions.
The above is all the contents of the article "how to use Linux commands restore". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.