10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Everyone,
we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment?
Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies
2. UNIX for Dummies Questions & Answers
Hi guys,
I'm new to Linux and dont know much about scripts..there's an backup script that will backup the database from a location to another location between servers..it will run automatically by adding it to crontab...it was created by another person and I tried to understand it somewhat..
... (1 Reply)
Discussion started by: koolhart
1 Replies
3. Shell Programming and Scripting
Hi,
I made a following script for Data Backup on Tape Device, but script is not working fine. Please review the script.
DAT=`date +%d_%m_%Y`
BDIR="/home/userid/$DAT"
TD="/dev/st0"
LOGS="/scripts/$DAT"
clear
echo | tee $LOGS
if mt -f $TD status | grep 41010000 > /dev/null
then... (3 Replies)
Discussion started by: telnor
3 Replies
4. Shell Programming and Scripting
hi,
Please tell me, how to restore backup to normal location in shell scripting while deployment script is getting an error.
Thanks (2 Replies)
Discussion started by: bcb
2 Replies
5. AIX
Hello all....
I am trying to backup a client from the NIM master. While doing so, I get this error:
backup: 0511-089
can not open /tmp/6282.mnt0/<hostname>_mksysb_<date>
0042-001 m_mkbosi: processing error encountered on client
0042-001 m_mkbosi: processing error encountered on master... (0 Replies)
Discussion started by: solaix14
0 Replies
6. AIX
Hi I am receiving the following backup error when using backup -0uf /dev/rmt0.1 for the file system
backup: Backing up /dev/rfslv00 (/u04) to /dev/rmt0.1.
backup: 0511-251 The file system is still mounted; data may not be consistent.
Use the umount command to unmount the filesystem;... (1 Reply)
Discussion started by: jimthompson
1 Replies
7. Solaris
Hello buddy,
I used usfbackup command but error after full backup Solaris 5.5.1
/dev/c0t3d0s0 /
/dev/c0t3d0s6 /usr
I get error when restart after complete full backup
Can't load the root file system
Type 'go' to resume
***FULL MY STORY***
... (1 Reply)
Discussion started by: posky
1 Replies
8. HP-UX
Hy everyone and happy new year!
I would like to know how can i verify that some of my backup tapes, created with vdump, are ok?
Some of them were created before i came to the company that i'm workin for now, so i would like to test them before i actually use them. Unfortunately, i don't have... (0 Replies)
Discussion started by: veccinho
0 Replies
9. UNIX for Dummies Questions & Answers
After perfomring a remote backup from HP-UX to a SUN, it prompt the following error.
Can you please advise what does this error means?
How to retify this error?
"dd: unexpected short write, wrote 0 bytes, expected 10240
205802517+126 records in
10290129+0 records out"
The command used is ... (1 Reply)
Discussion started by: gelbvonn
1 Replies
10. UNIX for Dummies Questions & Answers
Hello everyone,
I like to start off by saying thank-you all. You guys have saved my butt alot of time. Well I have a problem in which I can't find in the search.
I'm trying to do a tar backup to a DDS3 tape as root:
tar -cvf /dev/rmt/0 /home/larry
the error
tar:... (8 Replies)
Discussion started by: larry
8 Replies
xfsinvutil(8) System Manager's Manual xfsinvutil(8)
NAME
xfsinvutil - xfsdump inventory database checking and pruning utility
SYNOPSIS
xfsinvutil [-F|-i] [-m media_label] -M mount_point mm/dd/yyyy
xfsinvutil [-F|-i] [-m media_label] -u UUID mm/dd/yyyy
xfsinvutil [-F] -s SESSION_ID
xfsinvutil -i
xfsinvutil -C
DESCRIPTION
xfsdump maintains an online dump inventory in /var/lib/xfsdump/inventory. The -I option of xfsdump displays the inventory contents hierar-
chically. The levels of the hierarchy are: filesystem, dump session, stream, and media file.
xfsinvutil is a utility to check this inventory database for consistency, to remove entries of dump sessions which may no longer be of rel-
evance, and to browse the contents of the inventory.
The following command line options are available:
-F Don't prompt the operator. When xfsinvutil encounters a matching dump session, xfsinvutil will normally ask the operator for permis-
sion to delete the entry. With this option the deletion is performed, no questions asked.
-i Interactive mode. Causes xfsinvutil to run in a mode that will allow the operator to browse and modify the contents of the inventory.
Please refer to the Interactive Mode section below for more information.
-M mount_point mm/dd/yyyy
Prunes dump sessions identified by the given mount point which were created prior to the specified date. Optionally -m may be be spec-
ified to further limit the matching dump sessions by media label. xfsinvutil will prompt the operator prior to pruning a dump session
unless the -F or -i options are given.
-u UUID mm/dd/yyyy
Like -M, except the matching filesystem is specified using its universally unique identifier (UUID) instead of its mount point.
-m media_label
If specified, only sessions with at least one media file whose label matches this value will be eligible for pruning. This restric-
tion is in addition to those imposed by the date and the -M or -u options. This option allows the pruning of all inventory references
to media which may have been overwritten or lost. Note that this option does not apply to sessions with no media files.
-s SESSION_ID
Prunes the dump session identified by the given session id. xfsinvutil will prompt the operator prior to pruning a dump session
unless the -F option is given.
-C With this option, xfsinvutil performs consistency checks for all entries in the inventory database. It fixes any problems found. If
no consistent entries are found , the corresponding inventory database file is removed.
Interactive Mode
When run with -i, xfsinvutil will present the operator with a hierarchical representation of the xfsdump inventory. In this mode, the
operator can use the arrow keys (or the h j k l keys) to navigate the inventory and also use the following keys and functionality:
+ Expand a branch of the tree.
- Collapse a branch of the tree.
* Fully expand a branch of the tree.
% Fully collapse a branch of the tree.
h Move selection to the parent entry.
l Move selection to the child entry.
j Move selection to next entry.
k Move selection to previous entry.
d Mark the current record, and all sub-records, to be deleted.
u Clear the current record and all parent records from being deleted.
i Import another xfsdump inventory.
? Show help window.
x Commit any changes made to the inventory, and exit the program.
q Exit the program without committing any changes to the inventory.
Inventories from other hosts can be imported to create a larger common inventory. It is recommended that the contents of /var/lib/xfs-
dump/inventory on the remote host be copied to a temporary local directory prior to running xfsinvutil. When xfsinvutil is run in interac-
tive mode, and the operator hits i, they will be prompted for the path to the inventory to be imported. xfsinvutil will then add the con-
tents of the imported inventory to the main window, and all entries will be marked as imported. The operator can then delete any of these
entries that are not to be imported. When the operator commits the changes, xfsinvutil will import any entries which were not marked as
deleted. Deleted entries are not actually deleted from the original imported inventory.
NOTES
Inventory
Each dump session updates an inventory database in /var/lib/xfsdump/inventory. xfsdump uses the inventory to determine the base of incre-
mental and resumed dumps.
This database can be displayed by invoking xfsdump with the -I option. The display uses tabbed indentation to present the inventory hier-
archically. The first level is filesystem. The second level is session. The third level is media stream (currently only one stream is
supported). The fourth level lists the media files sequentially composing the stream.
FILES
/var/lib/xfsdump/inventory
dump inventory database
SEE ALSO
xfsdump(8), xfsrestore(8).
xfsinvutil(8)