USER>zw result
result("%SYS")=""
result("DOCBOOK")=""
result("SAMPLES")=""
result("USER")=""
--3.切换NS
USER>zn "SAMPLES"
SAMPLES>
--4.进行备份
--切换到SYS
SAMPLES>zn "%sys"
%SYS>DO ^BACKUP
1) Backup
2) Restore ALL
3) Restore Selected or Renamed Directories
4) Edit/Display List of Directories for Backups
5) Abort Backup
6) Display Backup volume information
7) Monitor progress of backup or restore
Option? 1
*** The time is: 2023-10-19 11:17:51 ***
Cache Backup Utility
--------------------------
What kind of backup:
1. Full backup of all in-use blocks
2. Incremental since last backup
3. Cumulative incremental since last full backup
4. Exit the backup program
1 => 1
Specify output device (type STOP to exit)
Device: /tmp/cyyy/mgr/1 =>
File exists, do you want to overwrite it <N>?y
Backing up to device: /tmp/cyyy/mgr/1
Description: TEST
Backing up the following directories:
/tmp/cyyy/mgr/
/tmp/cyyy/mgr/cacheaudit/
/tmp/cyyy/mgr/user/
Start the Backup (y/n)? => y
Journal file switched to:
/tmp/cyyy/mgr/journal/20231019.004
Starting backup pass 1
Backing up /tmp/cyyy/mgr/ at 10/19/2023 11:18:14
Copied 7601 blocks in 0.616 seconds
Finished this pass of copying /tmp/cyyy/mgr/
Backing up /tmp/cyyy/mgr/cacheaudit/ at 10/19/2023 11:18:17
Copied 84 blocks in 0.004 seconds
Finished this pass of copying /tmp/cyyy/mgr/cacheaudit/
Backing up /tmp/cyyy/mgr/user/ at 10/19/2023 11:18:19
Copied 71 blocks in 0.006 seconds
Finished this pass of copying /tmp/cyyy/mgr/user/
Backup pass 1 complete at 10/19/2023 11:18:19
Starting backup pass 2
Backing up /tmp/cyyy/mgr/ at 10/19/2023 11:18:21
Copied 1 blocks in 0.002 seconds
Finished this pass of copying /tmp/cyyy/mgr/
Backing up /tmp/cyyy/mgr/cacheaudit/ at 10/19/2023 11:18:23
Copied 1 blocks in 0.001 seconds
Finished this pass of copying /tmp/cyyy/mgr/cacheaudit/
Backing up /tmp/cyyy/mgr/user/ at 10/19/2023 11:18:25
Copied 1 blocks in 0.001 seconds
Finished this pass of copying /tmp/cyyy/mgr/user/
Backup pass 2 complete at 10/19/2023 11:18:25
Starting backup pass 3
Journal file '/tmp/cyyy/mgr/journal/20231019.003' and the subsequent ones are required for recovery purpose if the backup were to be restored
Journal marker set at
offset 197048 of /tmp/cyyy/mgr/journal/20231019.004
- This is the last pass - Suspending write daemon
Backing up /tmp/cyyy/mgr/ at 10/19/2023 11:18:27
Copied 1 blocks in 0.000 seconds
Finished this pass of copying /tmp/cyyy/mgr/
Backing up /tmp/cyyy/mgr/cacheaudit/ at 10/19/2023 11:18:27
Copied 1 blocks in 0.000 seconds
Finished this pass of copying /tmp/cyyy/mgr/cacheaudit/
Backing up /tmp/cyyy/mgr/user/ at 10/19/2023 11:18:27
Copied 1 blocks in 0.001 seconds
Finished this pass of copying /tmp/cyyy/mgr/user/
Backup pass 3 complete at 10/19/2023 11:18:27
***FINISHED BACKUP***
Global references are enabled.
Backup complete.
1) Backup
2) Restore ALL
3) Restore Selected or Renamed Directories
4) Edit/Display List of Directories for Backups
5) Abort Backup
6) Display Backup volume information
7) Monitor progress of backup or restore
Option? 6
Enter the backup volume you want to display information from
(Type STOP to exit)
Device: /tmp/cyyy/mgr/1 =>
This backup volume was created by:
Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2016.2 (Build 736U) Fri Sep 30 2016 12:25:56 EDT
The volume label contains:
Volume number 1
Volume backup OCT 19 2023 11:18AM Full
Previous backup OCT 10 2023 07:52PM Full
Last FULL backup OCT 10 2023 07:52PM
Description TEST
Buffer Count 0
Journal File /tmp/cyyy/mgr/journal/20231019.003
Log file /tmp/cyyy/mgr/cachebackup.log
Backup Status Completed
Database Size(mb)
-------- --------
/tmp/cyyy/mgr/ 170
/tmp/cyyy/mgr/cacheaudit/ 1
/tmp/cyyy/mgr/user/ 1
Total of 3 databases, totaling 172 mb
Backup volume size is 63 mb
Enter the backup volume you want to display information from
(Type STOP to exit)
Device: /tmp/cyyy/mgr/1 => stOP
1) Backup
2) Restore ALL
3) Restore Selected or Renamed Directories
4) Edit/Display List of Directories for Backups
5) Abort Backup
6) Display Backup volume information
7) Monitor progress of backup or restore
This reporting tool provides the information required for InterSystems
Technical Support to analyze most issues. Please send the resulting file with
each and every new problem sent to Support.
This process will take approximately 5 minutes to complete. Please be patient.
Continue (Y)?
Collecting information, please do not interrupt this process.
Please wait approximately 30 seconds for %SS snapshots.
Please wait approximately 30 seconds for "ps" snapshots.
Please wait approximately 1 minute for "cstat" snapshots.
GloStat information now being collected.
Please wait approximately 1 minute and 40 seconds.
Log file saved to: /tmp/cyyy/mgr/license202310191136.html, 555,842 bytes
Upload the file(s) above to InterSystems Support.
%SYS>
--8.收集概要信息
%SYS>d ^pButtons
Current log directory: /tmp/cyyy/mgr/
Available profiles:
1 12hours - 12 hour run sampling every 10 seconds
2 24hours - 24 hour run sampling every 10 seconds
3 30mins - 30 minute run sampling every 1 second
4 4hours - 4 hour run sampling every 5 seconds
5 8hours - 8 hour run sampling every 10 seconds
6 test - A 5 minute TEST run sampling every 30 seconds
select profile number to run: 1
Collection of this sample data will be available in 43320 seconds.
The runid for this data is 20231019_120556_12hours.