package to the Web directory, and the packaged bak.tar.gz download to the local)Cat Down.exp
The code is as follows
Copy Code
#!/usr/bin/expect-fSet Timeout-1Set passwd PASSWORDSpawn ssh-p18330 Root@124.248.xxx.xxxExpect {"Yes/no" {send "YESR"; Exp_continue}"Password:" {send "$PASSWDR"}}Expect "*#*" {send "Sh/root/soft_shell/copy_bakfile.shr"}Expect "*#*" {send "Exitr"}Spawn Axel-q Http://blog.slogra.com/bak.tar.gz-o/root
Tags: admin clear find steps to establish block login Password VMX problem Resolution(a), SQL Backup of the database : 1. Open Start menu → program →microsoft SQL Server 2008→SQL server Management studio→ database: dsideal_school_db is the database of students we need to back up Figure (1) 2, select the database to be backed up "dsideal_school_db", right click → tasks →
The method is simple. You only need a few words to set the password. For more information, see.
The method is simple. You only need a few words to set the password. For more information, see.
Back up SqlServer
The Code is as follows:
Backup Database [Database] To disk = 'C: '+ replace (CONVERT (varchar, getdate (), 121 ),'-',''), '','
details of the selected credential, we can see the URL, user name, whether to roam, the depositary (IE browser) and the asterisk instead of the displayed password, and so on.
If the current credential supports roaming, if the user is logged on with the same Microsoft account on another WIN8 device, the credential will be automatically synchronized, and accessing the address in IE will not have to enter the username and
What should I do if I forget the password for unlocking the fingerprint of a Samsung mobile phone?Press the home key, volume, power key, and power key to shut down the instance. Then select two wipes (confirm the power key, enable or disable the volume key). Select reboot after two wipes.Solution for forgetting the backup password:1. The phone is completely power
(s), to filter out any that is already installed/usr/bin/ssh-copy-id:info:1 key (s) remain to being installed--if you are prompted now it's to install the new keys[email protected] ' s password:Number of key (s) added:1Now try logging to the machine with: "SSH" [email protected] ' "And check to make sure that is only the key (s) wanted were added.[[email protected] ~]# ls. ssh/Authorized_keys Id_rsa id_rsa.pub known_hosts########## #将id_rsa下载到本地Iii. Editing Remote Copy ScriptsSETLOCAL Set Cwrsy
Some of the passwords used in Ubuntu recently:RM-RF directory removal of folders or filesTouch (Create File)MkdirMV (Move,rename)Chown (change own) changing usage rightsCP Copy or move filessource./env/bin (enter enviroment)sudo netstat-ap | grep:3003Kill PID (Close port)CatWhereis node (which directory node is installed in)which NPMTop View system Resource usage similar to explorerAnother reference link to view system resource consumption:Http://www.oschina.net/news/77545/check-linux-server-per
This section says the SSHSSH manufacturing private and public keysThe private key is the keyThe public key is a lockDistribute the public key to each Linux server you want to log on to#ssh-keygen-t DSAUsing this command will generate a pair of keys in this machinePrivate key ID_DSAPublic Key Id_dsa.pubPut the public key on the server you want to log on toWith the command#ssh-copy-id-i id_dsa.pub [email protected]Put the public key on the server and start verifying it.Command#ssh [email protected
Tags: mysqlSetting a password with mysqladminmysqladmin-u root Password "Newpass"If Root has already set a password, use the following methodMysqladmin-u root-p oldpass Password "Newpass"mysqladmin-u root-p Password "Newpass"This can be done when the root
Rsync backup is very convenient. You only need to install it and do not need to configure anything. However, it takes a long time to get lazy. How can I use rsync without entering a password?
There are many methods on the Internet, and SSH-keygen is the most convenient. However, it seems inconvenient for me to use it. It seems that there is only one password conf
Tags: htm for user name Postgre task Nihao usr Pass ETLPostgreSQL automatically backs up and deletes Windows scripts for backup files 10 days ago.The first step, create the script, name the Back.bat file @ECHO OFF @setlocal enableextensions @cd/d"%~dp0"
Setpgpassword=PasswordSET Pgpath= D:\postgresql\bin\ SET svpath= d:\zoobackup\ SET prjdb= gzzoo SET dbusr= postgres for/F"tokens=1,2,3 delims=/"%%i in ('date/t') Do SET d=%%i-%%j-%%k SET DBDUMP=%prj
Backing up the SQL Server database
The code is as follows
Copy Code
Backup database [db] to disk= ' c:mysql ' + replace (replace (varchar, GETDATE (), 121), '-', ', ', '), ': ', ', ', ', ', ', '. Bak ' with Password = ' 123 ', init;
Restore the SQL Server database
code is as follows
copy code
restore DB [Database] from disk= database
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.