Fundamentals of the ten-year OPS series-LinuxZeng LinContact: [Email protected]Website: www.jplatformx.comCopyright: Please do not reprint the article without permission
First, IntroductionMaintaining the system data security is one of the basic tasks of the computer System Manager, and it is a common method to maintain the system data security in time to create the backup file of the system files. Even for non-system administrators, it is often useful to create backup files frequently or move
Implementation features:Back up the E:\123 file to the E:\backup folder, holding the backed up file as a subdirectory on the current date1 #! /usr/bin/python 2 #Filename:backup.py 3 #功能说明:备份文件,以当前日期为子目录存放备份后的文件 4 5 import os 6 import time 7 #要备份的目录,可在此列表中增加 8 source = [r‘E:\123‘] 9 10 #备份文件存放的目录11 target_dir = ‘E:\\backup\\‘12 13 #取当前时间为备份子目录名14 today = target_dir + time.strftime(‘%Y%m%d‘)15 now = time.strftime(‘%H%M%S‘)16 17 #在备份文件名中加入注释18 comment = input(‘Enter a comment:‘)19 if len(comment)
Preparatory work
Dungeon Hunter 5 Unlimited Diamond/gold coin archive Download Address: http://pan.baidu.com/s/1lkK6i
Baidu Search Download iTools3.1.8.0 Chinese version installed on the computer
Archiving Import Failure resolution
1, first and install the game;
2, run the game to the main menu interface, we are now not to play the game but to quit and back in the background of the mobile phone;
3, now we put Iphone/ios equipment and computer co
Using XML plus Ngui to implement role information storage or archiving, okay, no more talking about first, we start to do the preparatory work, this tutorial uses NGUI3.0.6.
The first step: first import Ngui, then create a new 3 folder scene, script, prefabs respectively for the scene, scripts, presets, and then use Ngui creating a 2DUI diagram:
The second step: we start to write the first script, as the XML file stored data structure, a new C # scri
Use the next method of the Fmresultset object to traverse the queried data
Fmresultset ways to get different data formats
Intforcolumn:
Longforcolumn:
Longlongintforcolumn:
Boolforcolumn:
Doubleforcolumn:
Stringforcolumn:
Dataforcolumn:
Datanocopyforcolumn:
Utf8stringforcolumnindex:
Objectforcolumn:
2. Using the examplefmresultset *resultset = [self.db Execute query:@ "select * from T_student;"];//Search by CriteriaFmresultset *resultse
) Create a new partition scheme where archived data is saved to the TestDB_Part2 partition file CREATE Partition Scheme testdb_archivepatitionscheme as Partition testdb_archivepartitionrange to ([PRIMARY], testdb_part2); Create a test data table, bind a partition scheme CREATE TABLE testarchivetable (archived Bit not NULL, Date DATETIME) On testdb_archivepatitionscheme (archived) Insert some new data, ready for testing INSERTIntoTestarchivetable (archived
/archarchive_1_7_947091054.log 3 948044324 1 8 /home/oracle/u01/app/oracle/product/11.2.0/dbhome_1/dbs/arch_1_8_947091054.log9. Adding and deleting log file groupsalter database add logfile group 1 (‘/home1/oracle/oradata/ora8i/log1a.log‘),‘/home2/oracle/oradata/ora8i/log1b.log‘) size 100M;alter database drop logfile group 1;10. Adding and deleting log membersalter database add logfile member ‘/home1/oracle/oradata/ora8i/log1a.log‘ to group 1,‘/home1/oracle/oradata/ora8i/log2
/oradata/arch1,If you want to verify the directory, run the following query in Oracle case:Sql> select name from V$archived_log;The files listed in the query are then confirmed in the operating system.Two set non-archive SQL codesql> archive log list;#查看是否是归档方式Sql> alter system set LOG_ARCHIVE_START=FALSE Scope=spfile;#禁用自动归档sql> shutdown immediate;sql> startup Mount;#打开控制文件, do not open the data filesql> ALTER DATABASE Noarchivelog;#将数据库切换为非归档模式sql> ALTER DATABASE open;#将数据文件打开sql> archive log
files that are not packaged
TAR-JCF log. tar.xz/var/tar jxf log. Tar.xz Split -b 10m-d lod.tar.gz new.tar.gz cutting Large compressed filesCat new.tar* >filename.tar.gz Merging filesCpio: A command is a redirected way to package a file for backup, restore a recovery tool that can decompress files ending with ". Cpio" or ". Tar"
-o Package a file copy into a file or export the file to the device
-I unpack, unzip the package file or restore the backup on the device to the syst
Archiving on iOS is a little different from archiving on Mac, you can put files in any folder, but on iOS, the files you write can only be placed in three folders, documents , and documents. Library, tmp Three files, it is important to note that the library and tmp files will automatically clear the files in the software upgrade, system upgrade or insufficient system space, only in documents can be saved
Because of the project needs, the internal information system for the front-end file archiving, CSS file archiving, along with the changes in the image URL, because the system in the CSS contains a URL: (.. /ui/images/excel.jpg) and other relative paths.It is therefore necessary to replace such a situation with three known parameters in the function:1, the original CSS absolute path2. URL of background imag
-----------------------------------------------------------------------------Log_archive_max_processes integer 4
-- The archiving process is up.SQL> select * from v $ archive_processes where status = 'active ';
Process status LOG_SEQUENCE STAT------------------------------------0 ACTIVE 0 IDLE1 ACTIVE 0 IDLE2 ACTIVE 0 IDLE3 ACTIVE 0 IDLE4 ACTIVE 0 IDLE
-- Enable automatic archiving"
SQL> archive log list;Da
Object archiving is a serialization approach. To facilitate data transfer, the archive object is serialized into a file before being restored to the object by an anti-archive.Archiving technology can be used to persist data, but it is less suitable for large amounts of data and frequent read and write situations.The condition for archiving an object is that the class of the object must implement the Nscodin
Archiving and recovery archivingArchive, English archiver[' ɑrk?v?], this refers to storing OC objects as a file or a block of data on the network.Recovery archive, English unarchiver, refers to restoring an archived block of data from a file or network to an OC object in memory.Archiving and recovery is primarily used to store custom type objects, save custom data before a program is paused or closed, and read stored custom data after the program res
Compression of filesAAAAAABBBBCCC compression becomes 6A4B3CCompression tools:Gzip/gunzip:. gz suffixOnly files can be compressed and directories cannot be compressed because they do not have archiving capabilitiesMan gzip: View gzip command HelpGunzip: Unzip ToolLS-LH: Viewing File sizeGzip messages: Files that compress source files messages directly to the end of. GZGunzip messages.gz: Re-unzip to file messagesGzip option file name-D is also availab
Data serialization, persistence, archiving1.Foundation2. Data attribute list (nsarray,nsdictionary)3.sqlite,cocodataArchived file data is automatically encrypted, no longer plaintext, and is limited by the fact that only one object can be archived/** Archiving, data persistence, data serialization **/ /*NSString *filepath = [Nshomedirectory () stringbyappendingpathcomponent:@ "Documents/text.arc"];Nsarray *array = @[@ "Jack", @ "Tom", @ "DAV", @12378
Author: skateTime: 2009/02/21
1. Change the archive path
In Oracle10g, the default archiving path is $ oracle_base/flash_recovery_area. For this path,Oracle has a limit that only 2 GB of space can be used for archiving logs by default. You can use the following two SQL statements to view the limit.1. Select * from V $ recovery_file_dest;
SQL> show parameter db_recovery_file_dest (this is more us
It's not really good to read the doc carefully.
SQL> shutdown immediateThe database has been closed.The database has been detached.The Oracle routine has been disabled.SQL> startup mountThe ORACLE routine has been started.
Total System Global Area 104857600 bytesFixed Size 1247540 bytesVariable Size 96470732 bytesDatabase Buffers 4194304 bytesRedo Buffers 2945024 bytesThe database has been loaded.
-- Enable manual archivingSQL> alter database archivelog manual;
The database has been changed.
SQL
study the path of the archive, the method of archiving, the method of reading the document (annotated with two different classes, one is the archive class, one is the class of reading files)The stored data is stored in binary form on the phone's local/** Save data for archiving */-(Ibaction) SAVEBTN: (ID) Sender {NSString *filepath = [self filepathwithfilename:@ "student.archive"];Nsmutabledata *thedata =
1 is a serialization method that first serializes the archive object into a file and then restores the data to the object through an anti-archive.Condition: The class of the object must implement the Nscoding protocol, and each member variable should be a basic data type or an instance of a class that implements the Nscoding protocol.Archive class Nskeyedarchiver anti-archive class Nskeyedunarchiver NSData class provides a way to read a data fileMethod: +datawithcontentsoffile:+datawithcontentso
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.