Вы находитесь на странице: 1из 4

PROCEDURE TO TAKE SNBACKUP OF STORNEXT

[root@MDS03 ~]# cd /usr/adic/TSM/tmp/


[root@MDS03 tmp]# ls -lrth
total 1.2M
-rw-rw-rw- 1 root adic 1.7K Jan 16 23:07 backupErrorLog.1358357400.txt
-rw-rw-rw- 1 root adic 36K Jan 17 23:07 backupLog.1358443801.txt
-rw-rw-rw- 1 root adic 1.7K Jan 17 23:07 backupErrorLog.1358443801.txt
[root@MDS03 tmp]# cat backupErrorLog.1358443801.txt
Backup Failed: backup execution could not complete
<<<<<<<<<< BEGIN LOGFILE >>>>>>>>>>>>>>>>>>
2013-01-17-23:00:01: Backup Start: Thu Jan 17 23:00:01 2013
2013-01-17-23:00:01: - Connecting to database
2013-01-17-23:00:01: Database connection successful
2013-01-17-23:00:01: - Configuring backup information
2013-01-17-23:00:01: - Querying database for _adic_backup class information
2013-01-17-23:00:01: - Getting list of file systems with metadata files
2013-01-17-23:00:02: - Checking for SYSPARM setting
2013-01-17-23:00:02: - Checking for required components
2013-01-17-23:00:02: - Verifying Relation Point
2013-01-17-23:00:02: - Get identifier information and sequence numbers
2013-01-17-23:00:02: - Check Failures
2013-01-17-23:00:02: - Getting list of existing backup files
2013-01-17-23:00:02: - Package Configuration Files
2013-01-17-23:00:09: - Package Database Files
2013-01-17-23:00:09: - Create archive file for partial database backup
2013-01-17-23:00:14: - Package Filesystem Metadata Files
2013-01-17-23:07:49: WARN: File /usr/adic/database/metadumps/metadump.ots.gz exists.
2013-01-17-23:07:49: WARN: This means that journals were in the process of being applied.
2013-01-17-23:07:49: WARN: Manual cleanup required for file system: ots
2013-01-17-23:07:49: WARN: For more information, refer to the snbackup(1M) man page
2013-01-17-23:07:49: WARN: and the Troubleshooting Appendix of the User Guide.
2013-01-17-23:07:49: - Checking for files to revert
2013-01-17-23:07:50: == End Time: Thu Jan 17 23:07:50 2013
2013-01-17-23:07:50: == Backup FAILED
<<<<<<<<<< END LOGFILE >>>>>>>>>>>>>>>>>>>>

[root@MDS03 tmp]# cd /usr/adic/database/metadumps/


[root@MDS03 metadumps]# ls -lrth
total 5.6G
-rw------- 1 root root 39M Aug 11 2011 metadump.hafs2
-rw-rw-rw- 1 root root 63M Sep 17 2011 metadump.ots.gz_080612
-rw------- 1 root root 38M Sep 20 2011 metadump.nrsc_snfstest
-rw------- 1 root root 275M May 26 2012 metadump.ots_080612
-rw------- 1 root root 76M Jun 8 2012 restore_journal-ots.000043_080612
-rw------- 1 root root 76M Jun 8 2012 restore_journal-ots.000043.completed
-rw-rw-rw- 1 root root 1.1G Jan 14 23:07 metadump.ots
-rw------- 1 root root 38M Jan 15 15:17 metadump.maintenance
-rw------- 1 root root 99 Jan 15 16:39 restore_journal-ots.000044.completed
drwxrwxrwx 2 root root 5.5K Jan 15 23:08 ots
-rw-rw-rw- 1 root root 63M Jan 15 23:08 metadump.ots.gz
-rw------- 1 root root 577K Jan 15 23:08 restore_journal-ots.000045.completed
-rw------- 1 root root 809M Jan 17 23:01 metadump.ref
drwxrwxrwx 2 root root 5.5K Jan 17 23:01 ref

PROCEDURE TO TAKE SNBACKUP OF STORNEXT


-rw------- 1 root root 1.9G Jan 17 23:05 metadump.ipo
drwxrwxrwx 2 root root 5.5K Jan 17 23:05 ipo
-rw------- 1 root root 1.2G Jan 17 23:07 metadump.level0_02
drwxrwxrwx 2 root root 5.5K Jan 17 23:07 level0_02
-rw------- 1 root root 60K Jan 18 09:26 restore_journal-level0_02.000546
-rw------- 1 root root 5.1M Jan 18 09:41 restore_journal-ots.000046
-rw------- 1 root root 9.6M Jan 18 09:44 restore_journal-ipo.000577
-rw------- 1 root root 7.6M Jan 18 09:44 restore_journal-ref.000577

[root@MDS03 metadumps]# ls
ipo
metadump.level0_02
metadump.ots_080612 ots
restore_journalots.000043_080612 restore_journal-ots.000046
level0_02
metadump.maintenance metadump.ots.gz
ref
restore_journalots.000043.completed restore_journal-ref.000577
metadump.hafs2 metadump.nrsc_snfstest metadump.ots.gz_080612 restore_journal-ipo.000577
restore_journal-ots.000044.completed
metadump.ipo metadump.ots
metadump.ref
restore_journal-level0_02.000546
restore_journal-ots.000045.completed
[root@MDS03 metadumps]# mv metadump.ots metadump.ots_18jan2013
[root@MDS03 metadumps]# gunzip metadump.ots.gz
[root@MDS03 metadumps]# ls
ipo
metadump.level0_02
metadump.ots_080612 ots
restore_journalots.000043_080612 restore_journal-ots.000046
level0_02
metadump.maintenance metadump.ots_18jan2013 ref
restore_journalots.000043.completed restore_journal-ref.000577
metadump.hafs2 metadump.nrsc_snfstest metadump.ots.gz_080612 restore_journal-ipo.000577
restore_journal-ots.000044.completed
metadump.ipo metadump.ots
metadump.ref
restore_journal-level0_02.000546
restore_journal-ots.000045.completed
[root@MDS03 metadumps]# . /usr/adic/.profile
[root@MDS03 metadumps]# man snbackup
[1]+ Stopped
man snbackup
[root@MDS03 metadumps]# pwd
/usr/adic/database/metadumps
[root@MDS03 metadumps]# ls
ipo
metadump.ots_080612
restore_journal-ots.000043_080612
level0_02
metadump.ots_18jan2013
restore_journal-ots.000043.completed
metadump.hafs2
metadump.ots.gz_080612
restore_journal-ots.000044.completed
metadump.ipo
metadump.ref
restore_journal-ots.000045.completed
metadump.level0_02
ots
restore_journal-ots.000046
metadump.maintenance ref
restore_journal-ref.000577
metadump.nrsc_snfstest restore_journal-ipo.000577
metadump.ots
restore_journal-level0_02.000546

PROCEDURE TO TAKE SNBACKUP OF STORNEXT


[root@MDS03 metadumps]# ls -lrth
total 6.9G
-rw------- 1 root root 39M Aug 11 2011 metadump.hafs2
-rw-rw-rw- 1 root root 63M Sep 17 2011 metadump.ots.gz_080612
-rw------- 1 root root 38M Sep 20 2011 metadump.nrsc_snfstest
-rw------- 1 root root 275M May 26 2012 metadump.ots_080612
-rw------- 1 root root 76M Jun 8 2012 restore_journal-ots.000043_080612
-rw------- 1 root root 76M Jun 8 2012 restore_journal-ots.000043.completed
-rw-rw-rw- 1 root root 1.1G Jan 14 23:07 metadump.ots_18jan2013
-rw------- 1 root root 38M Jan 15 15:17 metadump.maintenance
-rw------- 1 root root 99 Jan 15 16:39 restore_journal-ots.000044.completed
drwxrwxrwx 2 root root 5.5K Jan 15 23:08 ots
-rw-rw-rw- 1 root root 1.1G Jan 15 23:08 metadump.ots
-rw------- 1 root root 577K Jan 15 23:08 restore_journal-ots.000045.completed
-rw------- 1 root root 809M Jan 17 23:01 metadump.ref
drwxrwxrwx 2 root root 5.5K Jan 17 23:01 ref
-rw------- 1 root root 1.9G Jan 17 23:05 metadump.ipo
drwxrwxrwx 2 root root 5.5K Jan 17 23:05 ipo
-rw------- 1 root root 1.2G Jan 17 23:07 metadump.level0_02
drwxrwxrwx 2 root root 5.5K Jan 17 23:07 level0_02
-rw------- 1 root root 60K Jan 18 09:26 restore_journal-level0_02.000546
-rw------- 1 root root 5.1M Jan 18 10:02 restore_journal-ots.000046
-rw------- 1 root root 8.0M Jan 18 10:02 restore_journal-ref.000577
-rw------- 1 root root 9.9M Jan 18 10:02 restore_journal-ipo.000577

[root@MDS03 metadumps]# cp -p restore_journal-ots.000046 restore_journal-ots.000046_18jan2013

[root@MDS03 metadumps]# mv restore_journal-ots.000046 restore_journal-ots.000046.completed

[root@MDS03 metadumps]# snbackup -p


=========-----------------=========
=====--- ADIC Backup ---=====
=========-----------------=========
Backup Start: Fri Jan 18 10:05:35 2013
Log File: /usr/adic/TSM/logs/reports/backup.status
=========-----------------==========
======--- Begin Processing ---======
=========-----------------==========
- Connecting to database
Database connection successful
- Configuring backup information
- Querying database for _adic_backup class information
- Getting list of file systems with metadata files
- Checking for SYSPARM setting
- Checking for required components

PROCEDURE TO TAKE SNBACKUP OF STORNEXT


- Verifying Relation Point
- Get identifier information and sequence numbers
- Check Failures
- Getting list of existing backup files
- Package Configuration Files
- Package Database Files
- Create archive file for partial database backup
- Package Filesystem Metadata Files
- Storing files to media
- Removing obsolete backup versions
- Update database backup catalogue
- Syncing adic_manifest file
Wrote out adic_manifest file /usr/adic/database/adic_manifest
Wrote out adic_manifest file /usr/adic/TSM/internal/status_dir/adic_manifest
Wrote out device_manifest file /usr/adic/database/device_manifest
Wrote out device_manifest file /usr/adic/TSM/internal/status_dir/device_manifest
- Checking for files to revert
=========-----------------==========
======--- Backup End ---======
=========-----------------==========
== End Time: Fri Jan 18 10:15:51 2013
== Backup successfully completed