using xcopy to backup files

Learn about using xcopy to backup files, we have the largest and most updated using xcopy to backup files information on alibabacloud.com

Shell Script implementation: 5 per week using the tar command to back up all log files under/var/log

Tags: shell script periodic commands use quotation marks Roo chmod log file var logSimple little script, big God DetourImplementation steps:1 Writing scripts2 Doing recurring planning tasks1 scripting[Email protected] ~]# vim tar.shScript content:#!/bin/bash#编写备份脚本, the file name contains a date label after the backup, preventing subsequent backups from overwriting the previous backup data#注意将date命令使用反引号扩起来

Quickly open system files using the command line

ManagerEVENTVWR-------Event ViewerEudcedit-------Character-font procedureThe. Explorer-------Open ExplorerPackager-------Object Wrapping ProgramPERFMON.MSC----Computer Performance monitoring ProgramProgMan--------Program ManagerRegedit.exe----Registration Form94. rsop.msc-------Group Policy result setRegedt32-------Registry EditorRononce-p----15-second shutdownregsvr32/u *.dll----Stop DLL file run98. regsvr32/u zipfldr.dll------Cancel Zip supportCmd.exe--------cmd command promptChkdsk.exe-----C

Data files in RAC created to local path (non-system tablespace) using Rman transfer

Environment: 11.2.0.1 + RHEL5.8 reference documentation id:1678747.1 1. Simulate creating a node: sql> create tablespace tdb datafile '/u02/app/oracle/datafile/td b.dbf ' size 10m autoextend off; Tablespace created. 2. View data File One node: file# NAME----------------------------------------------------------------------------------------- ---------------------4 +data/orcl/datafile/users.257.901333687 3 +data/orcl/datafile/undotbs1.264.90133 3687 2 +data/orcl/datafile/sysaux.256.901333685 1

Clear SQL Server database log files using statements

=(SELECTSize fromSysfilesWHEREName= @LogicalFileName) and(@OriginalSize * 8 /1024x768)> @NewSize BEGIN --Outer Loop.SELECT @Counter = 0 while((@Counter @OriginalSize / -) and(@Counter 50000)) BEGIN --UpdateINSERTDummytransVALUES('Fill Log') DELETEDummytransSELECT @Counter = @Counter + 1 END EXEC(@TruncLog) END SELECT 'Final Size of' + db_name()+ 'LOG is' + CONVERT(VARCHAR( -), size)+ '8K pages or' + CONVERT(VARCHAR( -), (size*8/1024x768))+ 'MB' fromSysfilesWHEREName= @LogicalFileName DROP

Total Pages: 12 1 .... 8 9 10 11 12 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.