following table lists the related information:
PHP Version 5.5.13Configure Command './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql' '--prefix=/usr/local/php5' Server API Apache 2.0 HandlerVirtual Directory Support enabledConfiguration File (php.ini) Path /usr/local/php5/libLoaded Configuration File /usr/local/php5/lib/php.iniScan this dir for additional .ini files (none)Additional .ini files parsed (none) extension_dir/usr/local/php5/lib/php/extensions/no-debug-zts-20121
link to the file is lost.3. Command parameters:-B: Overwrite the previous backup if you need to overwrite the file.-f:force mandatory Meaning, if the target file already exists, will not be asked and directly covered;-I: If the target file (destination) already exists, you will be asked to overwrite it!-U: If the target file already exists and source is newer, update (update)-T:--target-directory=directory move all source arguments into directory, which is the target directory for the specified
the source files specified by each parameter to the destination directory. When you move a file across a file system, the MV copies the original file, and the link to the file is lost.3. Command parameters:-B: Overwrite the previous backup if you need to overwrite the file.-f:force mandatory Meaning, if the target file already exists, will not be asked and directly covered;-I: If the target file (destination) already exists, you will be asked to overwrite it!-U: If the target file already exist
Directorydu:cannot accessâ./proc/23692/task/23692/fd/39â : No such file or Directory0 ./proc11m ./sbin16k ./lost+found264k /home86m. /boot328g ./var4.0k. /dev0. /sys330g .Take a look at the occupancy in VAR (MySQL data is in Lib, www is site with some related backup)Lltotal 72drwxr-xr-x root root 4096 Sep 02:50./drwxr-xr-x root root 4096 Sep 23 02:45. /DRWXRWXRWX 3 root
the previous backup if you need to overwrite the file.-f:force mandatory Meaning, if the target file already exists, will not be asked and directly covered;-I: If the target file (destination) already exists, you will be asked to overwrite it!-U: If the target file already exists and source is newer, update (update)-T:--target-directory=directory move all source arguments into directory, which is the target directory for the specified MV, which is suitable for moving multiple source files to a
primary database, once confirmed by the business, it can be discarded. Or you can use other methods to find the data. But it is imperative to restore the database immediately.3. Check the backup and time point on the slave database of the backup:
Crontab-l
#0 3 ***/data/opdir/mysqlbak/backup_mysqldump.sh 6084>/data/opdir/mysqlbak/6084/mysql-bakup.log 2> amp; 1
The backup task was commented out.
View the backup file:
[root@localhost 6084]# lltotal 128drwxr-
morning for 30 days. The Binlog retention time for the main library is 7 days.So it's easy to think of a way to recover from the early 2014-09-25 backup of the library, and then through the main library Binlog through the time period to filter out the early morning to 2014-09-25 21:53:56 all changes, after the data, confirmed by the business can be discarded. Or to find out this part of the data in some other way later. But the immediate task is to restore the database immediately.
Third, find
you, hoping to help my friends later.N characters are omitted here .....
Ii. Solution
This database is backed up every morning and is retained for 30 days. The binlog retention time of the master database is 7 days.So it is easy to think of a way to recover the backup from the database in the early morning of, and then filter out all the changes and subsequent data from the early morning to 21:53:56 through the binlog of the primary database, once confirmed by the business, it can be discarded.
to be stored on the local host.-- Help online help.-- No-absolute-filenames use the relative path to create a file name.-- No-preserve-owner does not keep the owner of a file. Whoever unlocks the backup file will own those files.-Only-verify-crc: When the backup file adopts the CRC backup format, you can use this parameter to check whether each file in the backup file is correct.-- Quiet does not show how many blocks are copied.-- Sparse if a file contains a large number of consecutive 0 bytes,
How to modify the File Creation Time and query in Solaris
Lab Demonstration:
1. Check time
[[Email protected]:/] # dateTue Jul 15 21:37:01 CDT 2014
-- If the time is incorrect, modify the format as follows:[[Email protected]:/] # date 0715221114 -- July 15, 2014Tue Jul 15 22:11:00 CDT 2014
2. Create an experiment environment
[[Email protected]:/] # mkdir Test
[[Email protected]:/] # cd Test
[[Email protected]:/test] # Touch test1[[Email protected]:/test] # Touch Test2[[Email protected]:/test] #
Job 4:One, wildcard practice:1, Show/etc directory, start with a letter, followed by a non-letter and any other arbitrary length of any character file or directory;[[email protected] fuboyuan]# ls-l/etc/[[:alpha:]]*[^[:alpha:]] 2. Display the/usr/share/man directory, all the files or directories that begin with man, followed by a number;[[email protected] fuboyuan]# Ls-ld/usr/share/man/man[0~9]3, copy/etc directory, so P,m,r start, and the. conf end of the file or directory to the/TMP/CONF.D dir
examples Example 1 : Lists the contents of the current directorycommand:lsls The file and directory under the current directory are listed without any arguments after the command[Email protected] ~]# lsanaconda-ks.cfg cplogs.sh Documents install.log Music public tmpautouserdel.sh Desktop Downloads install.log.syslog Pictures Templates videos[[email protected] ~]# Example 2 : Lists all files in the current directorycommand:ls-a[Email protected] ~]# ls-a. Bash_history cplogs.sh Downloads. Gnot
When the CentOS 7.0 installation is complete, the NIC is not powered on by default, and the name of the NIC is changed. In CentOS 5 and the previous system Nic named eth0 eth1 such name, and to the CentOS 6 era the name of the network card changed to EM1 em2 such name, the larger changes appear in the CentOS 7 era, the name of the network card changed directly into ens192 The appearance of eno12312 and so on. The following is specific to the CentOS 7.0 network adapter configuration operation.Sys
The newly installed Mac system 10.10, JDK is 1.8, because some tools to use JDK 6, the following is the setup processView versionJava-versionSee Java again: in/usr/bin/java Cd/usr/binls-all | grep javalrwxr-xr-x 1 root wheel 9 00:23 java-/system/library/frameworks/javavm.framework /versions/current/commands/javalrwxr-xr-x 1 root wheel 9 00:23 javac-/system/library/ Frameworks/javavm.framework
the previous backup if you need to overwrite the file.-f:force mandatory Meaning, if the target file already exists, will not be asked and directly covered;-I: If the target file (destination) already exists, you will be asked to overwrite it!-U: If the target file already exists and source is newer, update (update)-T:--target-directory=directory move all source arguments into directory, which is the target directory for the specified MV, which is suitable for moving multiple source files to a
./sbin16k ./lost+found264k /home86m. /boot328g ./var4.0k. /dev0. /sys330g .Take a look at the occupancy in VAR (MySQL data is placed in Lib, www is the website with some related backup)Lltotal 72drwxr-xr-x root root 4096 Sep 02:50./drwxr-xr-x root root 4096 Sep 23 02:45. /DRWXRWXRWX 3 root root 4096 Sep 06:33 backups/drwxr-xr-x roo
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.